Skip to content

Commit 338f59e

Browse files
committed
Bump Python requirement, CI upgrades
1 parent 7c799cc commit 338f59e

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/python-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v3
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: '3.x'
1616
- name: Install dependencies
@@ -28,12 +28,12 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- name: Set up Python
31-
uses: actions/setup-python@v3
31+
uses: actions/setup-python@v5
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.16.2
37+
pip install cibuildwheel==2.23.2
3838
- name: Build Python wheels
3939
run: python -m cibuildwheel --output-dir wheelhouse

.github/workflows/python-deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set up Python
14-
uses: actions/setup-python@v3
14+
uses: actions/setup-python@v5
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.8.10
30+
uses: pypa/gh-action-pypi-publish@v1.12.4
3131
with:
3232
user: __token__
3333
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -39,21 +39,21 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141
- name: Set up Python
42-
uses: actions/setup-python@v3
42+
uses: actions/setup-python@v5
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.16.2
48+
pip install cibuildwheel==2.23.2
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.8.10
56+
uses: pypa/gh-action-pypi-publish@v1.12.4
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.8-3.12 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.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.
1414

1515
## Usage
1616

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
long_description_content_type="text/markdown",
2525
url="https://github.com/mark9064/pyamdgpuinfo",
2626
packages=setuptools.find_packages(),
27-
python_requires=">=3.8",
27+
python_requires=">=3.9",
2828
ext_modules=cythonize(EXTENSIONS),
2929
zip_safe=False,
3030
classifiers=[

0 commit comments

Comments
 (0)