Bump to 2.23.0 (#959)

This commit is contained in:
Stéphane Bruckert 2023-04-07 18:36:17 +01:00 committed by GitHub
parent 3bac7250ec
commit 796c03338f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 22 deletions

View File

@ -50,13 +50,8 @@ jobs:
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to Test PyPI
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

View File

@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
- Replace with changes
### Fixed
### Removed
## [2.23.0] - 2023-04-07
### Added
- Added optional `encoder_cls` argument to `CacheFileHandler`, which overwrite default encoder for token before writing to disk
- Integration tests for searching multiple types in multiple markets (non-user endpoints)

View File

@ -44,6 +44,10 @@ To make sure if the import lists are stored correctly:
pip install isort
isort . -c -v
### Changelog
Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md)
### Publishing (by maintainer)
- Bump version in setup.py
@ -52,26 +56,15 @@ To make sure if the import lists are stored correctly:
## Unreleased
// Add new changes below
### Added
- Replace with changes
### Fixed
### Removed
- Commit changes
- Package to pypi:
python setup.py sdist bdist_wheel
python3 setup.py sdist bdist_wheel
twine check dist/*
twine upload dist/*
- Push tag to trigger PyPI build & release workflow
- Create github release https://github.com/plamere/spotipy/releases with the changelog content
for the version and a short name that describes the main addition
- Verify doc uses latest https://readthedocs.org/projects/spotipy/
### Changelog
Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md)

View File

@ -18,7 +18,7 @@ extra_reqs = {
setup(
name='spotipy',
version='2.22.1',
version='2.23.0',
description='A light weight Python library for the Spotify Web API',
long_description=long_description,
long_description_content_type="text/markdown",