From f7a0c47b28d73b4e199d1744573ca3c164e3d521 Mon Sep 17 00:00:00 2001 From: Vytautas Liuolia Date: Wed, 9 Oct 2024 18:36:33 +0200 Subject: [PATCH] chore: prepare `4.0.0b2` --- .github/workflows/cibuildwheel.yaml | 4 ++-- .github/workflows/test-wheels.yaml | 2 +- .github/workflows/tests.yaml | 4 ++-- .github/workflows/tox-sdist.yaml | 7 ------- docs/changes/4.0.0.rst | 8 ++++---- docs/user/faq.rst | 2 +- falcon/util/__init__.py | 2 +- falcon/version.py | 2 +- tox.ini | 3 --- 9 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.github/workflows/cibuildwheel.yaml b/.github/workflows/cibuildwheel.yaml index b0337d802..fc64534b6 100644 --- a/.github/workflows/cibuildwheel.yaml +++ b/.github/workflows/cibuildwheel.yaml @@ -112,7 +112,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.21.1 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_ARCHS_LINUX: all CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform.name }} @@ -153,7 +153,7 @@ jobs: tools/check_dist.py ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }} - name: Upload sdist to release - uses: AButler/upload-release-assets@v2.0 + uses: AButler/upload-release-assets@v3.0 if: github.event_name == 'release' with: repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-wheels.yaml b/.github/workflows/test-wheels.yaml index 43c7644a7..30c866f58 100644 --- a/.github/workflows/test-wheels.yaml +++ b/.github/workflows/test-wheels.yaml @@ -44,7 +44,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.21.1 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_ARCHS_LINUX: all CIBW_BUILD: ${{ matrix.platform.build }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 000ba65e5..0a5106a6c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -56,9 +56,9 @@ jobs: - env: py312_cython python-version: "3.12" - env: py313 - python-version: "3.13.0-rc.3 - 3.13" + python-version: "3.13" - env: py313_cython - python-version: "3.13.0-rc.3 - 3.13" + python-version: "3.13" - env: py312_nocover os: macos-latest platform-label: ' (macos)' diff --git a/.github/workflows/tox-sdist.yaml b/.github/workflows/tox-sdist.yaml index 0986fc841..d890223f1 100644 --- a/.github/workflows/tox-sdist.yaml +++ b/.github/workflows/tox-sdist.yaml @@ -26,16 +26,9 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 - if: ${{ matrix.python-version != '3.13' }} with: python-version: ${{ matrix.python-version }} - - name: Set up Python 3.13 - uses: actions/setup-python@v5 - if: ${{ matrix.python-version == '3.13' }} - with: - python-version: "3.13.0-rc.1 - 3.13" - - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/docs/changes/4.0.0.rst b/docs/changes/4.0.0.rst index 5d1388183..4a54346fc 100644 --- a/docs/changes/4.0.0.rst +++ b/docs/changes/4.0.0.rst @@ -4,7 +4,7 @@ Changelog for Falcon 4.0.0 Summary ------- -The first beta release of Falcon 4.0.0 is here! +The second beta release of Falcon 4.0.0 is here! Falcon 4.0 is now feature-complete, and we would really be thankful if you could test this beta release with your apps, and @@ -16,9 +16,9 @@ checker of choice without any *typeshed* extensions for Falcon, and :ref:`report back to us ` how it went! As always, you can grab the new release -`from PyPI `__:: +`from PyPI `__:: - pip install falcon==4.0.0b1 + pip install falcon==4.0.0b2 (Alternatively, continue reading these docs for more :ref:`installation options `.) @@ -41,7 +41,7 @@ Changes to Supported Platforms - End-of-life Python 3.5, 3.6 & 3.7 are no longer supported. (`#2074 `__, `#2273 `__) -- Soon end-of-life Python 3.8 is no longer actively supported, but +- End-of-life Python 3.8 is no longer actively supported, but the framework should still continue to install from source and function. - The Falcon 4.x series is guaranteed to support CPython 3.10 and PyPy3.10 (v7.3.16). diff --git a/docs/user/faq.rst b/docs/user/faq.rst index 56826fbe0..789379600 100644 --- a/docs/user/faq.rst +++ b/docs/user/faq.rst @@ -107,7 +107,7 @@ the GIL yet. We load-tested the WSGI flavor of the framework via :class:`~wsgiref.simple_server.WSGIServer` + :class:`~socketserver.ThreadingMixIn` on -`free-threaded CPython 3.13.0rc1 +`free-threaded CPython 3.13.0 `__ (under ``PYTHON_GIL=0``), and observed no issues that would point toward Falcon's reliance on the GIL. Thus, we would like to think that Falcon is still diff --git a/falcon/util/__init__.py b/falcon/util/__init__.py index 9c5ad4140..a52a197cd 100644 --- a/falcon/util/__init__.py +++ b/falcon/util/__init__.py @@ -60,7 +60,7 @@ if 'samesite' not in _reserved_cookie_attrs: # pragma: no cover _reserved_cookie_attrs['samesite'] = 'SameSite' # NOTE(m-mueller): Same for the 'partitioned' attribute that will -# probably be added in Python 3.13. +# probably be added in Python 3.13 or 3.14. if 'partitioned' not in _reserved_cookie_attrs: # pragma: no cover _reserved_cookie_attrs['partitioned'] = 'Partitioned' diff --git a/falcon/version.py b/falcon/version.py index 085bb4929..65b165aab 100644 --- a/falcon/version.py +++ b/falcon/version.py @@ -14,5 +14,5 @@ """Falcon version.""" -__version__ = '4.0.0b1' +__version__ = '4.0.0b2' """Current version of Falcon.""" diff --git a/tox.ini b/tox.ini index 1b0f225c6..8cf52b9c1 100644 --- a/tox.ini +++ b/tox.ini @@ -349,9 +349,6 @@ deps = -r{toxinidir}/requirements/docs commands = sphinx-build -j auto -W -E -b html docs docs/_build/html [] -# NOTE(vytas): importlib-resources is wreaking havoc by backporting future -# removals from 3.13 (3.11 being the current stable at the time of writing); -# hence we pin it manually here. [testenv:towncrier] deps = -r{toxinidir}/requirements/docs toml