Skip to content

Commit

Permalink
Python 3.12 support (passing) (#5987)
Browse files Browse the repository at this point in the history
* pipenv support for python 3.12
  • Loading branch information
matteius authored Oct 24, 2023
1 parent 548fe82 commit 1b3b61e
Show file tree
Hide file tree
Showing 7 changed files with 281 additions and 328 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", 3.11] # 3.12 has issues with windows hanging indefinitely at present
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
os: [MacOS, Ubuntu, Windows]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repos:
stages: [manual]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "1.1.0"
rev: "1.2.0"
hooks:
- id: pyproject-fmt

Expand Down
3 changes: 0 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ zipp = {version = "==3.6.0", markers = "python_version < '3.10'"}
pre-commit = "==2.*"
atomicwrites = {version = "*", sys_platform = "== 'win32'"}
pytest-cov = "==3.*"
pluggy = "==1.2.0" # Can be removed from Pipfile when dropping py 3.7
filelock = "==3.12.2" # Can be removed from Pipfile when dropping py 3.7
coverage = "==7.2.7" # Can be removed from Pipfile when dropping py 3.7
typing-extensions = "==4.*"
waitress = {version = "*", sys_platform = "== 'win32'"}
gunicorn = {version = "*", sys_platform = "== 'linux'"}
Expand Down
598 changes: 275 additions & 323 deletions Pipfile.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions news/5987.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Officially support python 3.12
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/test_install_categories.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys

import pytest

Expand Down Expand Up @@ -79,6 +80,7 @@ def test_multiple_category_install_from_requirements(pipenv_instance_private_pyp
@pytest.mark.extras
@pytest.mark.install
@pytest.mark.local
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="test is not 3.12 compatible")
def test_multiple_category_install_proceeds_in_order_specified(pipenv_instance_private_pypi):
"""Ensure -e .[extras] installs.
"""
Expand Down

0 comments on commit 1b3b61e

Please sign in to comment.