Skip to content

Commit d02fa46

Browse files
committed
Only py39
1 parent 534180c commit d02fa46

File tree

2 files changed

+44
-42
lines changed

2 files changed

+44
-42
lines changed

.github/workflows/wheels.yml

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,45 @@ on:
1818
permissions: {}
1919

2020
jobs:
21-
sdist:
22-
runs-on: ubuntu-latest
23-
24-
permissions:
25-
contents: write
26-
27-
steps:
28-
- uses: actions/[email protected]
29-
with:
30-
fetch-depth: 0
31-
32-
- name: Set up Python
33-
uses: actions/[email protected]
34-
with:
35-
python-version: "3.9"
36-
# python-version: "3.x"
37-
38-
- name: Install build dependencies
39-
run: |
40-
pip install --upgrade pip setuptools wheel
41-
42-
- name: Package source dist
43-
run: python setup.py sdist
44-
45-
- name: Install test dependencies
46-
run: |
47-
sudo apt-get update -y -q
48-
sudo apt-get install -y -q libxml2-dev libxslt1-dev libxmlsec1-dev libxmlsec1-openssl opensc softhsm2 libengine-pkcs11-openssl
49-
pip install --upgrade -r requirements-test.txt --no-binary lxml
50-
pip install dist/xmlsec-$(python setup.py --version).tar.gz
51-
52-
- name: Run tests
53-
run: pytest -v --color=yes
54-
55-
- name: Upload sdist
56-
uses: actions/[email protected]
57-
with:
58-
name: sdist
59-
path: dist/*.tar.gz
21+
# sdist:
22+
# runs-on: ubuntu-latest
23+
24+
# permissions:
25+
# contents: write
26+
27+
# steps:
28+
# - uses: actions/[email protected]
29+
# with:
30+
# fetch-depth: 0
31+
32+
# - name: Set up Python
33+
# uses: actions/[email protected]
34+
# with:
35+
# python-version: "3.9"
36+
# # python-version: "3.x"
37+
38+
# - name: Install build dependencies
39+
# run: |
40+
# pip install --upgrade pip setuptools wheel
41+
42+
# - name: Package source dist
43+
# run: python setup.py sdist
44+
45+
# - name: Install test dependencies
46+
# run: |
47+
# sudo apt-get update -y -q
48+
# sudo apt-get install -y -q libxml2-dev libxslt1-dev libxmlsec1-dev libxmlsec1-openssl opensc softhsm2 libengine-pkcs11-openssl
49+
# pip install --upgrade -r requirements-test.txt --no-binary lxml
50+
# pip install dist/xmlsec-$(python setup.py --version).tar.gz
51+
52+
# - name: Run tests
53+
# run: pytest -v --color=yes
54+
55+
# - name: Upload sdist
56+
# uses: actions/[email protected]
57+
# with:
58+
# name: sdist
59+
# path: dist/*.tar.gz
6060

6161
generate-wheels-matrix:
6262
# Create a matrix of all architectures & versions to build.
@@ -85,11 +85,13 @@ jobs:
8585
# | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
8686
# && cibuildwheel --print-build-identifiers --platform windows \
8787
cibuildwheel --print-build-identifiers --platform windows \
88-
| jq -nRc '{"only": inputs, "os": "windows-2019"}'
88+
| jq -nRc '{"only": inputs, "os": "windows-latest"}'
8989
} | jq -sc
9090
)
9191
echo "include=$MATRIX"
92-
echo "include=$MATRIX" >> $GITHUB_OUTPUT
92+
# echo "include=$MATRIX" >> $GITHUB_OUTPUT
93+
echo "include=[{\"only\":\"cp39-win_amd64\",\"os\":\"windows-2019\"}]" >> $GITHUB_OUTPUT
94+
9395
9496
build_wheels:
9597
name: Build for ${{ matrix.only }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ archs = ["x86_64", "arm64"]
8080
before-all = "brew install perl"
8181

8282
[tool.cibuildwheel.windows]
83-
archs = ["AMD64"]
83+
archs = ["x64"]
8484
# archs = ["AMD64", "x86"]
8585

8686
[[tool.cibuildwheel.overrides]]

0 commit comments

Comments
 (0)