Skip to content

Commit 973e774

Browse files
committed
Update python compatibility (#10)
1 parent 72c9c49 commit 973e774

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.coveragerc

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[run]
2+
source = neuxml
23
omit =
34
# omit generated PLY files from coverage
45
lextab.py

.github/workflows/unit_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python: ["3.12"]
15+
python: ["3.10", "3.11", "3.12", "3.13"]
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4

MIGRATION.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Migration from ``eulxml``
44
A convenience script called ``migrate-eulxml`` has been included in order
55
to migrate your project from ``eulxml`` to ``neuxml``, which will replace
66
any usage of the package name in all ``.py`` files in the passed directory
7-
and subdirectories. After upgrading to Python 3.12+ and installing the
7+
and subdirectories. After upgrading to Python 3.10+ and installing the
88
updated package, you can run the script::
99

1010
migrate-eulxml /path/to/your/project

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "XPath-based XML data binding"
88
authors = [
99
{ name = "Center for Digital Humanities at Princeton", email = "cdhdevteam@princeton.edu" },
1010
]
11-
requires-python = ">=3.12"
11+
requires-python = ">=3.10"
1212
readme = "README.rst"
1313
license = { text = "Apache-2" }
1414
dynamic = ["version"]
@@ -19,7 +19,10 @@ classifiers = [
1919
"Natural Language :: English",
2020
"Operating System :: OS Independent",
2121
"Programming Language :: Python",
22+
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
2224
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
2326
"Topic :: Software Development :: Libraries :: Python Modules",
2427
"Topic :: Text Processing :: Markup :: XML",
2528
]

0 commit comments

Comments
 (0)