Skip to content

Commit

Permalink
Publish wheels for Python 3.13 (#195)
Browse files Browse the repository at this point in the history
Now that Python 3.13 is ABI stable, document that it is supported and
begin to publish wheels for it.

Signed-off-by: Matt Wozniski <[email protected]>
  • Loading branch information
godlygeek authored Aug 6, 2024
1 parent 06acde0 commit d50866a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/---bug-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ body:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
validations:
required: true
- type: dropdown
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ jobs:
mv dist/sdist/*.tar.gz dist/
mv dist/*-wheels/*.whl dist/
rmdir dist/{sdist,*-wheels}
rm -f dist/*cp313*
ls -R dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ RUN apt-get update \
python3.12-dev \
python3.12-dbg \
python3.12-venv \
python3.13-dev \
python3.13-dbg \
python3.13-venv \
make \
cmake \
gdb \
Expand Down Expand Up @@ -93,7 +96,7 @@ ENV PYTHON=python3.12 \
COPY ["requirements-test.txt", "requirements-extra.txt", "requirements-docs.txt", "/tmp/"]

# Install Python packages
RUN python3.12 -m venv $VIRTUAL_ENV \
RUN $PYTHON -m venv $VIRTUAL_ENV \
&& pip install -U pip wheel setuptools cython pkgconfig \
&& pip install -U -r /tmp/requirements-test.txt -r /tmp/requirements-extra.txt

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Debuggers",
],
Expand Down
2 changes: 2 additions & 0 deletions src/pystack/_pystack/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ python_v python_v3_12 = {
py_cframe<Python3_12::CFrame>(),
};

// ---- Python 3.13 ------------------------------------------------------------

python_v python_v3_13 = {
py_type<Python3_8::PyTypeObject>(),
py_codev311<Python3_12::PyCodeObject>(),
Expand Down

0 comments on commit d50866a

Please sign in to comment.