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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3aa1b193..3cc99205 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,12 @@ on: pull_request: branches: - main + - main-3.0-dev push: branches: - main + - main-3.0-dev + workflow_dispatch: jobs: lint: 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. diff --git a/RELEASE.md b/RELEASE.md index b0aedbdb..d94bb1b8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -54,7 +54,6 @@ The SDK follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and t * _`version`_: [https://planet-sdk-for-python-v2.readthedocs.io/en/X.YY.ZZ/](https://planet-sdk-for-python-v2.readthedocs.io/en/X.YY.ZZ/) - Should point to version `X.YY.ZZ`. * Pre-release versions should _not_ impact the default version of the documentation. Pre-release version may be published as the `latest` version. - ## Local publishing Publishing to testpypi and pypi can also be performed locally with: