1
0
mirror of https://github.com/angr/pyvex synced 2026-06-21 13:47:01 +00:00

Upgrade to Python 3.12 (#538)

* Update CI for 3.12

* Update docs for 3.12

* Update pyproject.toml for 3.12
This commit is contained in:
Kevin Phoenix
2026-05-01 12:39:40 -07:00
committed by GitHub
parent 73a2625b0c
commit 45f4edd68b
3 changed files with 20 additions and 33 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- name: Setup uv
uses: astral-sh/setup-uv@445689ea25e0de0a23313031f5fe577c74ae45a1 # v6
- name: Sync dependencies
run: uv sync -p 3.10
run: uv sync -p 3.12
- name: Run tests
run: uv run pytest tests
+11 -18
View File
@@ -2,25 +2,18 @@
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
configuration: docs/conf.py
submodules:
include: all
build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
pre_install:
- pip install -U pip
- pip install git+https://github.com/angr/archinfo.git
sphinx:
configuration: docs/conf.py
formats: [pdf]
python:
install:
- method: pip
path: .
extra_requirements:
- docs
- method: uv
command: sync
extras: all
groups: [docs]
build:
os: ubuntu-24.04
tools:
python: "3.12"
+8 -14
View File
@@ -15,12 +15,11 @@ license-files = [
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10"
requires-python = ">=3.12"
dependencies = [
"bitstring",
"cffi>=1.0.3;implementation_name == 'cpython'",
@@ -36,24 +35,20 @@ Homepage = "https://api.angr.io/projects/pyvex/en/latest/"
Repository = "https://github.com/angr/pyvex"
[project.optional-dependencies]
docs = [
"furo",
"myst-parser",
"sphinx",
"sphinx-autodoc-typehints",
]
fuzzing = [
"atheris>=2.3.0",
]
testing = [
"pytest",
"pytest-xdist",
]
[dependency-groups]
dev = [
"pytest>=8.4.1",
]
docs = [
"furo",
"myst-parser",
"sphinx",
"sphinx-autodoc-typehints",
]
[tool.scikit-build]
build-dir = "scikit_build"
@@ -73,7 +68,6 @@ input = "pyvex/__init__.py"
[tool.black]
line-length = 120
target-version = ['py310']
force-exclude = '''
/(
vex