Skip to content

Commit c11b908

Browse files
Merge pull request #75 from iris-hep/feat/py314
Python 3.14 Support
2 parents af9439f + 42836d7 commit c11b908

File tree

2 files changed

+34
-31
lines changed

2 files changed

+34
-31
lines changed

.github/workflows/python-package.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest, windows-latest, macos-latest]
9-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
9+
python-version:
10+
["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14.0-rc.1"]
1011
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Python ${{ matrix.python-version }}
13-
uses: actions/setup-python@v2
14-
with:
15-
python-version: ${{ matrix.python-version }}
16-
- name: Install dependencies
17-
run: |
18-
pip install -e .[test]
19-
- name: Lint with flake8
20-
run: |
21-
flake8
22-
flake8 --select=C90 --exit-zero --max-complexity=10
23-
- name: Test with pytest
24-
run: |
25-
pytest --cov=./ --cov-report=xml
26-
- name: Codecov
27-
uses: codecov/codecov-action@v1.0.13
12+
- uses: actions/checkout@v4
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
pip install -e .[test]
20+
- name: Lint with flake8
21+
run: |
22+
flake8
23+
flake8 --select=C90 --exit-zero --max-complexity=10
24+
- name: Test with pytest
25+
run: |
26+
pytest --cov=./ --cov-report=xml
27+
- name: Codecov
28+
uses: codecov/codecov-action@v5

setup.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

6-
setuptools.setup(name='qastle',
7-
version='0.18.1',
8-
description='Query AST Language Expressions',
9-
long_description=long_description,
10-
long_description_content_type="text/markdown",
11-
packages=setuptools.find_packages(exclude=['tests']),
12-
python_requires=('>=3.8, <3.14'),
13-
install_requires=['lark'],
14-
extras_require={'test': ['flake8', 'pytest', 'pytest-cov']},
15-
package_data={'qastle': ['syntax.lark']},
16-
author='Mason Proffitt',
17-
author_email='masonlp@uw.edu',
18-
url='https://github.com/iris-hep/qastle')
6+
setuptools.setup(
7+
name="qastle",
8+
version="0.18.1",
9+
description="Query AST Language Expressions",
10+
long_description=long_description,
11+
long_description_content_type="text/markdown",
12+
packages=setuptools.find_packages(exclude=["tests"]),
13+
python_requires=(">=3.8, <3.15"),
14+
install_requires=["lark"],
15+
extras_require={"test": ["flake8", "pytest", "pytest-cov"]},
16+
package_data={"qastle": ["syntax.lark"]},
17+
author="Mason Proffitt",
18+
author_email="masonlp@uw.edu",
19+
url="https://github.com/iris-hep/qastle",
20+
)

0 commit comments

Comments
 (0)