Skip to content

Commit 3804e83

Browse files
committed
Drop PyPy support
Tests are failing and need updates to fully support PyPy 3.10. If anyone needs PyPy support please feel free to fix the tox matrix and open a PR that reintroduces PyPy support for the project.
1 parent 0fb08fe commit 3804e83

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ jobs:
2323
- python-version: '3.12'
2424
django-version: 'main'
2525
experimental: true
26-
# PyPy 3.10
27-
- python-version: 'pypy-3.10'
28-
django-version: '4.2'
29-
experimental: true
30-
- python-version: 'pypy-3.10'
31-
django-version: '5.0'
32-
experimental: true
33-
- python-version: 'pypy-3.10'
34-
django-version: '5.1'
35-
experimental: true
3626
exclude:
3727
- python-version: '3.8'
3828
django-version: '5.0'
@@ -43,8 +33,6 @@ jobs:
4333
- python-version: '3.9'
4434
django-version: '5.1'
4535

46-
47-
4836
steps:
4937
- uses: actions/checkout@v4
5038

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ DJANGO_SETTINGS_MODULE = "tests.settings"
1010
legacy_tox_ini = """
1111
[tox]
1212
envlist =
13-
py{38,39,310,311,312,py310}-dj42
14-
py{310,311,312,py310}-dj50
15-
py{310,311,312,py310}-dj51
13+
py{38,39,310,311,312}-dj42
14+
py{310,311,312}-dj50
15+
py{310,311,312}-dj51
1616
py311-djmain
1717
py311-djqa
1818
@@ -23,7 +23,6 @@ python =
2323
3.10: py310
2424
3.11: py311
2525
3.12: py312
26-
pypy-3.10: pypy310
2726
2827
[gh-actions:env]
2928
DJANGO =
@@ -48,10 +47,8 @@ setenv =
4847
# Django development version is allowed to fail the test matrix
4948
ignore_outcome =
5049
djmain: True
51-
pypy310: True
5250
ignore_errors =
5351
djmain: True
54-
pypy310: True
5552
5653
# QA runs type checks, linting, and code formatting checks
5754
[testenv:py312-djqa]

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"Programming Language :: Python :: 3.11",
6666
"Programming Language :: Python :: 3.12",
6767
"Programming Language :: Python :: Implementation :: CPython",
68-
"Programming Language :: Python :: Implementation :: PyPy",
6968
"Topic :: Internet :: Log Analysis",
7069
"Topic :: Security",
7170
"Topic :: System :: Logging",

tests/test_handlers.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,6 @@ def test_handler_reset_attempts_ip_or_username(self):
236236
AXES_RESET_ON_SUCCESS=True,
237237
AXES_ENABLE_ACCESS_FAILURE_LOG=True,
238238
)
239-
@mark.xfail(
240-
python_implementation() == "PyPy",
241-
reason="PyPy implementation is flaky for this test",
242-
strict=False,
243-
)
244239
class AxesDatabaseHandlerTestCase(AxesHandlerBaseTestCase):
245240
def test_handler_reset_attempts(self):
246241
self.create_attempt()

0 commit comments

Comments
 (0)