Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize python versions #17

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

tseaver
Copy link
Member

@tseaver tseaver commented May 3, 2024

Add support for Python 3.11 and 3.12.

Drop support for Python < 3.8, including all Python2 compatibility shims.

Repair bitrot in doctests, and ensure that they run under pytest.

@pfw
Copy link
Contributor

pfw commented Jul 8, 2024

Adding py313 to the tox environment list works now - installing ZODB and dependencies on 3.13 failed last I checked. I think it was just cffi which as of v1.17.0rc1 works.

@pfw
Copy link
Contributor

pfw commented Sep 19, 2024

I've been running with this branch and all is going well for us, here is a small diff to add python3.13 and pypy3.10

diff --git a/tox.ini b/tox.ini
index 0688d55..06dc174 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,15 +1,16 @@
 [tox]
 envlist = 
-    py38,py39,py310,py310-pure,py311,py312,pypy38,pypy39,coverage,docs
+    py38,py39,py310,py310-pure,py311,py312,py313,pypy38,pypy39,pypy310,coverage,docs
 
 [testenv]
 setenv =
     pure: PURE_PYTHON=1
-    !pure-!pypy38-!pypy39: PURE_PYTHON=0
+    !pure-!pypy38-!pypy39-!pypy310: PURE_PYTHON=0
 # The repr of an LFSet is different in pure python
     pure: PYTEST_ADDOPTS=--ignore=hypatia/field/README.txt
     pypy38: PYTEST_ADDOPTS=--ignore=hypatia/field/README.txt
     pypy39: PYTEST_ADDOPTS=--ignore=hypatia/field/README.txt
+    pypy310: PYTEST_ADDOPTS=--ignore=hypatia/field/README.txt
 use_develop = False
 commands = 
     pip install -e .[testing]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants