Skip to content

Commit

Permalink
Merge pull request #99 from warner/98-support-for-python-312
Browse files Browse the repository at this point in the history
Support for python 3.12, drop 3.7
  • Loading branch information
itamarst authored Oct 23, 2023
2 parents 7e4e369 + 86d0020 commit 3b6f93e
Show file tree
Hide file tree
Showing 6 changed files with 1,050 additions and 431 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: "${{ matrix.os }}: Python ${{ matrix.python-version }}"
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-22.04"]

runs-on: "${{ matrix.os }}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Full documentation and examples are in the doc/ directory.

## DEPENDENCIES

* Python 3.5 or higher (still works under Python 2.7 for now)
* Python 3.8 or higher
* Twisted 16.0.0 or later
* PyOpenSSL (tested against 16.0.0)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run(self):
"i2p": ["txi2p-tahoe >= 0.3.5; python_version > '3.0'",
"txi2p >= 0.3.2; python_version < '3.0'"],
},
"python_requires": ">=3.7",
"python_requires": ">=3.8",
}

setup_args.update(
Expand Down
7 changes: 4 additions & 3 deletions src/foolscap/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Foolscap"""

from ._version import get_versions
__version__ = str(get_versions()['version'])
del get_versions
from . import _version
__version__ = _version.get_versions()['version']

del _version
Loading

0 comments on commit 3b6f93e

Please sign in to comment.