Skip to content

Commit b5da238

Browse files
SMoraisAnsyspyansys-ci-botSamuelopez-ansys
authored
BUILD: Remove patch on build (#6032)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Samuel Lopez <[email protected]>
1 parent bed4980 commit b5da238

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

.github/workflows/ci_cd.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,16 @@ jobs:
9292
fail-fast: false
9393
matrix:
9494
os: [ubuntu-latest, windows-latest]
95-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
96-
target: ['all', 'installer']
95+
python-version: ['3.10', '3.11', '3.12']
9796
steps:
9897
- name: Build wheelhouse and perform smoke test
99-
uses: ansys/actions/build-wheelhouse@v8
98+
uses: ansys/actions/build-wheelhouse@v9
10099
with:
101100
library-name: ${{ env.PACKAGE_NAME }}
102101
operating-system: ${{ matrix.os }}
103102
python-version: ${{ matrix.python-version }}
104-
target: ${{ matrix.target }}
103+
target: 'all'
105104
attest-provenance: true
106-
107105
- name: Import python package
108106
run: |
109107
python -c "import ansys.aedt.core; from ansys.aedt.core import __version__"
@@ -570,11 +568,19 @@ jobs:
570568
id-token: write
571569
contents: write
572570
steps:
573-
- name: Release to the public PyPI repository
574-
uses: ansys/actions/release-pypi-public@v8
571+
- name: Download the library artifacts from build-library step
572+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
575573
with:
576-
library-name: ${{ env.PACKAGE_NAME }}
577-
use-trusted-publisher: true
574+
name: ${{ env.PACKAGE_NAME }}-artifacts
575+
path: ${{ env.PACKAGE_NAME }}-artifacts
576+
577+
- name: Release to PyPI using trusted publisher
578+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
579+
with:
580+
repository-url: "https://upload.pypi.org/legacy/"
581+
print-hash: true
582+
packages-dir: ${{ env.PACKAGE_NAME }}-artifacts
583+
skip-existing: false
578584

579585
- name: Release to GitHub
580586
uses: ansys/actions/release-github@v8

doc/changelog.d/6032.dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove patch on build

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools<67.0.0", "wheel<0.46.0"] # THIS SHOULD BE REVERTED TO '["setuptools", "wheel"]'
2+
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55

@@ -44,8 +44,6 @@ dependencies = [
4444
"rpyc>=6.0.0,<6.1",
4545
"pyyaml",
4646
"defusedxml>=0.7,<8.0",
47-
"attrs<24.3.0",
48-
"referencing<0.36.0",
4947
]
5048

5149
[project.optional-dependencies]

0 commit comments

Comments
 (0)