Skip to content

Commit

Permalink
Add support for Python 3.13
Browse files Browse the repository at this point in the history
Bump our max supported Python version to 3.13, now that PySide6 supports
it.

Fixes #992
  • Loading branch information
apyrgio committed Feb 4, 2025
1 parent 2588487 commit d7fbfcd
Show file tree
Hide file tree
Showing 3 changed files with 359 additions and 399 deletions.
11 changes: 0 additions & 11 deletions install/linux/dangerzone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,6 @@ convert the documents within a secure sandbox.
%prep
%autosetup -p1 -n dangerzone-%{version}

# XXX: Bump the Python requirement in pyproject.toml from <3.13 to <3.14. Fedora
# 41 comes with Python 3.13 installed, but our pyproject.toml does not support
# it because PySide6 in PyPI works with Python 3.12 or earlier.
#
# This hack sidesteps this issue, and we haven't noticed any paticular problem
# with the package that is built from that.
%if 0%{?fedora} == 41
sed -i 's/<3.13/<3.14/' pyproject.toml
%endif


%generate_buildrequires
%pyproject_buildrequires -R

Expand Down
Loading

0 comments on commit d7fbfcd

Please sign in to comment.