Skip to content

Commit

Permalink
chore: prepare 4.0.0b2 (#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 authored Oct 9, 2024
1 parent 8c7b5c0 commit 06fdf28
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cibuildwheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/[email protected].1
uses: pypa/[email protected].3
env:
CIBW_ARCHS_LINUX: all
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform.name }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/[email protected].1
uses: pypa/[email protected].3
env:
CIBW_ARCHS_LINUX: all
CIBW_BUILD: ${{ matrix.platform.build }}
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/tox-sdist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/changes/4.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,9 +16,9 @@ checker of choice without any *typeshed* extensions for Falcon, and
:ref:`report back to us <chat>` how it went!

As always, you can grab the new release
`from PyPI <https://pypi.org/project/falcon/4.0.0b1/>`__::
`from PyPI <https://pypi.org/project/falcon/4.0.0b2/>`__::

pip install falcon==4.0.0b1
pip install falcon==4.0.0b2

(Alternatively, continue reading these docs for more
:ref:`installation options <install>`.)
Expand All @@ -41,7 +41,7 @@ Changes to Supported Platforms
- End-of-life Python 3.5, 3.6 & 3.7 are no longer supported.
(`#2074 <https://github.com/falconry/falcon/pull/2074>`__,
`#2273 <https://github.com/falconry/falcon/pull/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).
Expand Down
2 changes: 1 addition & 1 deletion docs/user/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython>`__
(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
Expand Down
2 changes: 1 addition & 1 deletion falcon/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion falcon/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@

"""Falcon version."""

__version__ = '4.0.0b1'
__version__ = '4.0.0b2'
"""Current version of Falcon."""
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06fdf28

Please sign in to comment.