Skip to content

Commit 9c47a28

Browse files
committed
MNT: move cibw's configuration to TOML
1 parent f27534b commit 9c47a28

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ jobs:
126126
uses: pypa/cibuildwheel@v3.3.1
127127
env:
128128
PYTHON_SGP4_COMPILE: always
129-
# if adding python 3.15, just add cp315-*
130-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
131-
CIBW_BUILD_VERBOSITY: 0
132-
CIBW_SKIP: '*-musllinux_*'
133-
CIBW_TEST_REQUIRES: numpy
134-
CIBW_TEST_COMMAND: python -m sgp4.tests
135129

136130
- name: upload wheels
137131
uses: actions/upload-artifact@v6

pyproject.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,21 @@ name = "sgp4"
1111
readme = "README.md"
1212
license = "MIT"
1313
license-files = ["LICENSE"]
14-
requires-python = ">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,!=3.5,!=3.6,!=3.7,!=3.8,!=3.9"
14+
requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*,!=3.9.*"
1515
dynamic = ["version", "description", "authors", "dependencies", "classifiers"]
16+
17+
[dependency-groups]
18+
dev = [
19+
"numpy>=1.21.2",
20+
]
21+
22+
[tool.cibuildwheel]
23+
build-verbosity = 0
24+
skip = [
25+
"*-musllinux_*", # not sure there's a good reason for this anymore ?
26+
"cp314t-*",
27+
]
28+
test-groups = ["dev"]
29+
test-command = [
30+
"python -m unittest sgp4.tests",
31+
]

0 commit comments

Comments
 (0)