mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Bump to 2.23.0 (#959)
This commit is contained in:
parent
3bac7250ec
commit
796c03338f
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@ -50,13 +50,8 @@ jobs:
|
|||||||
--wheel
|
--wheel
|
||||||
--outdir dist/
|
--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
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
password: ${{ secrets.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 }}
|
|
||||||
@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Replace with changes
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
## [2.23.0] - 2023-04-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Added optional `encoder_cls` argument to `CacheFileHandler`, which overwrite default encoder for token before writing to disk
|
- 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)
|
- Integration tests for searching multiple types in multiple markets (non-user endpoints)
|
||||||
|
|||||||
@ -44,6 +44,10 @@ To make sure if the import lists are stored correctly:
|
|||||||
pip install isort
|
pip install isort
|
||||||
isort . -c -v
|
isort . -c -v
|
||||||
|
|
||||||
|
### Changelog
|
||||||
|
|
||||||
|
Don't forget to add a short description of your change in the [CHANGELOG](CHANGELOG.md)
|
||||||
|
|
||||||
### Publishing (by maintainer)
|
### Publishing (by maintainer)
|
||||||
|
|
||||||
- Bump version in setup.py
|
- Bump version in setup.py
|
||||||
@ -52,26 +56,15 @@ To make sure if the import lists are stored correctly:
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
// Add new changes below
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
- Replace with changes
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- Commit changes
|
- Commit changes
|
||||||
- Package to pypi:
|
- Push tag to trigger PyPI build & release workflow
|
||||||
|
|
||||||
python setup.py sdist bdist_wheel
|
|
||||||
python3 setup.py sdist bdist_wheel
|
|
||||||
twine check dist/*
|
|
||||||
twine upload dist/*
|
|
||||||
|
|
||||||
- Create github release https://github.com/plamere/spotipy/releases with the changelog content
|
- 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
|
for the version and a short name that describes the main addition
|
||||||
- Verify doc uses latest https://readthedocs.org/projects/spotipy/
|
- 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)
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -18,7 +18,7 @@ extra_reqs = {
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='spotipy',
|
name='spotipy',
|
||||||
version='2.22.1',
|
version='2.23.0',
|
||||||
description='A light weight Python library for the Spotify Web API',
|
description='A light weight Python library for the Spotify Web API',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user