From e0bcaa146dde3ab20a83754b8a8e293240dae3e5 Mon Sep 17 00:00:00 2001 From: "Carl A. Adams" Date: Tue, 8 Apr 2025 23:27:12 -0700 Subject: [PATCH 1/3] 3.0 branch --- RELEASE-PLANNING-3.0.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 RELEASE-PLANNING-3.0.md diff --git a/RELEASE-PLANNING-3.0.md b/RELEASE-PLANNING-3.0.md new file mode 100644 index 00000000..796a75f1 --- /dev/null +++ b/RELEASE-PLANNING-3.0.md @@ -0,0 +1,13 @@ +# Planet Python Client 3.0 Release Planning + +* Authentication changes: + * Migrate to OAuth2 based authentication mechanisms, leveraging the + [planet-auth-python](https://github.com/planetlabs/planet-auth-python) + library for implementation. + * Deprecate use of the legacy authentication protocol and handling of the + user's password. + * CLI changes to support changes in authentication practices. + * Support for API keys supplied by the user is maintained, but users should + be aware that there are currently no plans for sentinel-hub.com APIs to + support Planet API keys. The longer term roadmap is for all APIs to work + with OAuth service accounts. From 99fc41ca46436e47fd99cd772406dc4649683751 Mon Sep 17 00:00:00 2001 From: "Carl A. Adams" Date: Fri, 11 Apr 2025 17:34:13 -0700 Subject: [PATCH 2/3] remove dead release workflow --- .github/workflows/release.yml | 51 ----------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index c2ea51ac..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Release to GitHub and PyPI - -on: - workflow_dispatch: - inputs: - prerelease: - description: 'Is this a pre-release?' - required: true - type: boolean - -jobs: - package: - name: Build, verify, & upload package - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - with: - python-version: "3.12" - - - name: Create GitHub Release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions. - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: ${{ inputs.logLevel }} - - - run: python -m pip install build twine check-wheel-contents - - run: python -m build --sdist --wheel . - - run: ls -l dist - - run: check-wheel-contents dist/*.whl - - - name: Check long_description - run: python -m twine check dist/* - - - name: Upload to TestPyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - repository_url: https://test.pypi.org/legacy/ - user: __token__ - password: ${{ secrets.TEST_PYPI_PASSWORD }} - - - name: Upload to PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file From 06fbcd7b58600f6799c1759945307caef0fcde88 Mon Sep 17 00:00:00 2001 From: "Carl A. Adams" Date: Fri, 11 Apr 2025 17:34:38 -0700 Subject: [PATCH 3/3] add step to releas to check doc status. --- RELEASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index be69ca39..455fa12b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -28,7 +28,7 @@ The SDK follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and t 2. Verify the successful run of the Github Action `Autopublish to TestPyPI` and validate the test release on [test.pypi.org](https://test.pypi.org/project/planet/) 3. Run the Github Action `Publish on PyPI` 4. Verify the successful run of the Github Action `Publish on PyPI` and validate the release on [pypi.org](https://pypi.org/project/planet/) - +5. Verify the successful publishing of documentation to [Read the Docs](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/) ## Local publishing