Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install package
run: >-
pip install -e.[test,cov] cmake ninja rich hatch-fancy-pypi-readme
setuptools-scm

- name: Add NumPy
if: >-
(matrix.runs-on == 'ubuntu-latest' || matrix.python-version !=
'pypy-3.8') && matrix.python-version != '3.12-dev'
run: "pip install --only-binary=:all: numpy"
run: pip install -e.[test,dev,cov]

- name: Test package
run: >-
Expand Down
26 changes: 15 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ dynamic = ["version"]

dependencies = [
"exceptiongroup; python_version<'3.11'",
"importlib_resources >=1.3; python_version<'3.9'",
"importlib_metadata; python_version<'3.8'",
"importlib-resources >=1.3; python_version<'3.9'",
"importlib-metadata; python_version<'3.8'",
"packaging >=20.9",
"tomli >=1.1; python_version<'3.11'",
"typing_extensions >=3.10.0; python_version<'3.8'",
"typing-extensions >=3.10.0; python_version<'3.8'",
]
# Note: for building wheels and sdists, there are also additional dependencies
# in the pyproject extra. And cmake and possibly ninja if those are not already
Expand All @@ -52,7 +52,7 @@ pyproject = [
test = [
"build[virtualenv]",
"cattrs >=22.2.0",
"importlib_metadata; python_version<'3.8'",
"importlib-metadata; python_version<'3.8'",
"pathspec >=0.10.1",
"pybind11",
"pyproject-metadata >=0.5",
Expand All @@ -65,20 +65,24 @@ cov = [
"pytest-cov[toml]",
]
dev = [
"build",
"cattrs >=22.2.0",
"pytest >=7.0",
"pytest-subprocess",
"cmake",
"hatch-fancy-pypi-readme",
"ninja",
"numpy; python_version<'3.12' and platform_python_implementation!='PyPy'",
"numpy~=1.21.0; python_version=='3.7' and platform_python_implementation=='PyPy' and sys_platform == 'linux'",
"numpy~=1.24.0; python_version=='3.8' and platform_python_implementation=='PyPy'",
"numpy~=1.25.0; python_version=='3.9' and platform_python_implementation=='PyPy'",
"rich",
"setuptools-scm",
]
docs = [
"furo",
"myst_parser >=0.13",
"myst-parser >=0.13",
"pathspec >=0.10.1",
"pyproject-metadata >=0.5",
"sphinx >=4.0",
"sphinx_copybutton",
"sphinx_inline_tabs",
"sphinx-copybutton",
"sphinx-inline-tabs",
]

[project.urls]
Expand Down