Skip to content

Releasing New Versions

Mark Hewitt edited this page Feb 15, 2022 · 5 revisions

WIP...

  • Ensure you have updated the version number in src/osdu/__init__.py

  • Update the change log in README.rst - if fixing something that has only been released to test then remove that version number from the README.rst to avoid any confusion about production releases.

  • Run tox locally to verify, lint and run tests

  • Push any changes as needed and merge to master

  • Push a tag in the format releases/v0.0.x where the version number matches that entered in the code above. This will automatically build and deploy to test.pypi.org

  • Manual test in a python environment from test.pypi.org

    pip install -i https://test.pypi.org/simple/ osdu-sdk

    Note: You may get errors that certain dependencies don't exist. This is because these are only available on pypi.org and not in the test channel. You should install these manually before the above to resolve this.

  • Create a new release from the tag when you are done which will publish to pypi.org

Clone this wiki locally