Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
- windows
  • Loading branch information
joshua-auchincloss committed Aug 24, 2023
1 parent f28136d commit 78fcceb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ authors = [
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"Cython",
"hatchling"
"hatchling",
"setuptools",
]

[project.urls]
Expand Down Expand Up @@ -55,14 +53,14 @@ cov = [
]

[[tool.hatch.envs.all.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11"]
python = ["3.10", "3.11"]

[tool.hatch.envs.lint]
detached = true
dependencies = [
"black>=23.1.0",
"mypy>=1.0.0",
"ruff>=0.0.243",
"black",
"mypy",
"ruff",
]
[tool.hatch.envs.lint.scripts]
typing = "mypy --install-types --non-interactive {args:src/hatch_cython tests}"
Expand Down
2 changes: 1 addition & 1 deletion src/hatch_cython/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def initialize(self, version: str, build_data: dict):
setup_file = os.path.join(temp, "setup.py")
with open(setup_file, "w") as f:
setup = setup_py(
*self.normalized_included_files,
*self.included_files,
compile_args=compile_args,
directives={
"binding": binding,
Expand Down

0 comments on commit 78fcceb

Please sign in to comment.