Skip to content

Commit ce8b90d

Browse files
committed
Bump Python requirement, CI action versions
1 parent d7f4121 commit ce8b90d

4 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/python-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v6
1212
- name: Set up Python
13-
uses: actions/setup-python@v5
13+
uses: actions/setup-python@v6
1414
with:
1515
python-version: '3.x'
1616
- name: Install dependencies
@@ -26,14 +26,14 @@ jobs:
2626
runs-on: ubuntu-latest
2727

2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
- name: Set up Python
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@v6
3232
with:
3333
python-version: '3.x'
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install --upgrade pip
37-
pip install cibuildwheel==2.23.2
37+
pip install cibuildwheel==3.4.0
3838
- name: Build Python wheels
3939
run: python -m cibuildwheel --output-dir wheelhouse

.github/workflows/python-deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Set up Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: '3.x'
1717
- name: Install dependencies
@@ -27,7 +27,7 @@ jobs:
2727
mkdir output
2828
cp dist/*.tar.gz output
2929
- name: Publish
30-
uses: pypa/gh-action-pypi-publish@v1.12.4
30+
uses: pypa/gh-action-pypi-publish@v1.13.0
3131
with:
3232
user: __token__
3333
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -37,23 +37,23 @@ jobs:
3737
runs-on: ubuntu-latest
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141
- name: Set up Python
42-
uses: actions/setup-python@v5
42+
uses: actions/setup-python@v6
4343
with:
4444
python-version: '3.x'
4545
- name: Install dependencies
4646
run: |
4747
python -m pip install --upgrade pip
48-
pip install cibuildwheel==2.23.2
48+
pip install cibuildwheel==3.4.0
4949
- name: Build Python wheels
5050
run: python -m cibuildwheel --output-dir wheelhouse
5151
- name: Copy files
5252
run: |
5353
mkdir output
5454
cp wheelhouse/*.whl output
5555
- name: Publish
56-
uses: pypa/gh-action-pypi-publish@v1.12.4
56+
uses: pypa/gh-action-pypi-publish@v1.13.0
5757
with:
5858
user: __token__
5959
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Only Linux is supported, using the AMDGPU driver.
1010

1111
The library is written using Cython, meaning that Cython and and a C compiler are needed to build and install from source. Additionally, libdrm development headers are required.
1212

13-
Precompiled wheels for Python 3.9-3.13 are the default method of install. This means that you don't need Cython or any other dependencies to install from PyPi.
13+
Precompiled wheels for Python 3.10-3.14 are the default method of install. This means that you don't need Cython or any other dependencies to install from PyPi.
1414

1515
## Usage
1616

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Setup information"""
2+
23
import setuptools
34
from Cython.Build import cythonize
45

@@ -24,7 +25,7 @@
2425
long_description_content_type="text/markdown",
2526
url="https://github.com/mark9064/pyamdgpuinfo",
2627
packages=setuptools.find_packages(),
27-
python_requires=">=3.9",
28+
python_requires=">=3.10",
2829
ext_modules=cythonize(EXTENSIONS),
2930
zip_safe=False,
3031
classifiers=[

0 commit comments

Comments
 (0)