diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index eee1881..4d7a62c 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -59,7 +59,7 @@ jobs: - name: Verify that the `release_version` is larger/newer than the existing release in PyPI run: | - python -c 'import sys; from packaging import version; code = 0 if version.parse("${{ env.ciso8601_version }}") < version.parse("${{ env.release_version }}") else 1; sys.exit(code)' + python -c 'import sys; from packaging import version; code = 0 if version.parse("${{ env.pypi_version }}") < version.parse("${{ env.release_version }}") else 1; sys.exit(code)' - name: Verify that the `release_version` is present in the CHANGELOG # TODO: Use something like `changelog-cli` to extract the correct version number @@ -71,7 +71,7 @@ jobs: echo -e "release_version=${{ env.release_version }}\nrelease_tag=${{ env.release_tag }}" > release_values.txt - name: Share normalized release values - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: release_values path: release_values.txt @@ -93,7 +93,7 @@ jobs: CIBW_SKIP: "pp*-macosx* *-win32 *-manylinux_i686" CIBW_ARCHS_MACOS: x86_64 arm64 universal2 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl @@ -112,7 +112,7 @@ jobs: - name: Build sdist run: python setup.py sdist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: dist/*.tar.gz @@ -163,4 +163,4 @@ jobs: # runs-on: ubuntu-latest # steps: # TODO # - run: | - # echo "We're doing a release!? ${{ github.event }}" \ No newline at end of file + # echo "We're doing a release!? ${{ github.event }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b068a2..59e926b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - [Unreleased](#unreleased) - [2.x.x](#2xx) + - [Version 2.3.0](#version-230) - [Version 2.2.0](#version-220) - [Version 2.1.3](#version-213) - [Version 2.1.2](#version-212) @@ -20,6 +21,13 @@ # Unreleased +* + +# 2.x.x + +## Version 2.3.0 + +* Added Python 3.11 support * Fix the build for PyPy2 ([#116](https://github.com/closeio/ciso8601/pull/116)) * Added missing `fromutc` implementation for `FixedOffset` (#113). Thanks @davidkraljic * Removed improper ability to call `FixedOffset`'s `dst`, `tzname` and `utcoffset` without arguments @@ -28,8 +36,6 @@ * Added support for ISO week dates, ([#139](https://github.com/closeio/ciso8601/pull/139)) * Added support for ordinal dates, ([#140](https://github.com/closeio/ciso8601/pull/140)) -# 2.x.x - ## Version 2.2.0 * Added Python 3.9 support diff --git a/setup.py b/setup.py index a4faf5a..fadd06f 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ os.environ["_CL_"] = "" os.environ["_CL_"] += " /WX" -VERSION = "2.2.0" +VERSION = "2.3.0" CISO8601_CACHING_ENABLED = int(os.environ.get('CISO8601_CACHING_ENABLED', '1') == '1') setup(