Files
OpenBB/openbb_platform/PUBLISH.md
Henrique Joaquim 57df6dc86e Publish versions a3 to Pypi (#5568)
* bump versions and script to publish

* small improvements

* uncomment exception

* openbb

* publishing guidelines

* improve docs
2023-10-17 11:24:10 +01:00

960 B
Vendored

Publishing to PyPI

Publishing checklist:

Note: you need to have the appropriate credentials and permissions to publish to PyPI

  1. Ensure all unit tests pass: pytest openbb_platform -m "not integration"
  2. Ensure all integration tests pass: pytest openbb_platform -m integration
  3. Change the Platform version on openbb_platform/platform/core/openbb_core/app/constants.py
  4. Run the publishing script: python openbb_platform/dev_publish.py
  5. Update poetry files: python openbb_platform/poetry_update.py
  6. Open a PR so that changes are reflected on the main branch

Finally, check if everything worked:

  1. Install and test the package from Pypi on a clean environment
  2. Check if all the pyproject.toml files are correct, including the openbb_platform one.
  3. Double check if there is any new extension or provider that needs to be added to integration tests GitHub Action workflow.