Skip to content

Commit 5aa8436

Browse files
committed
MNT: move cibw's configuration to TOML
1 parent 725df25 commit 5aa8436

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,7 @@ jobs:
125125
- name: Build wheels python 3.10 - 3.14
126126
uses: pypa/cibuildwheel@v3.3.1
127127
env:
128-
# if adding python 3.15, just add cp315-*
129-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
130-
CIBW_BUILD_VERBOSITY: 0
131-
CIBW_SKIP: '*-musllinux_*'
132-
CIBW_TEST_REQUIRES: numpy
133-
CIBW_TEST_COMMAND: python -m sgp4.tests
128+
PYTHON_SGP4_COMPILE: always
134129

135130
- name: upload wheels
136131
uses: actions/upload-artifact@v6

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,19 @@ license = "MIT"
1313
license-files = ["LICENSE"]
1414
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)