Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/py313.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test in Python 3.13

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.13

- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install cython
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

- name: Build
run: |
python setup.py build_ext --inplace

- name: Unit test
run: |
python3 -m unittest test
34 changes: 34 additions & 0 deletions .github/workflows/py314.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test in Python 3.14

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.14

- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install cython

- name: Build
run: |
python setup.py build_ext --inplace

- name: Unit test
run: |
python3 -m unittest test
8 changes: 8 additions & 0 deletions build-linux-wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ rm -rf build cysimdjson.egg-info
/opt/python/cp312-cp312/bin/pip3 install Cython wheel
/opt/python/cp312-cp312/bin/python3 setup.py bdist_wheel

rm -rf build cysimdjson.egg-info
/opt/python/cp313-cp313/bin/pip3 install setuptools Cython wheel
/opt/python/cp313-cp313/bin/python3 setup.py bdist_wheel

rm -rf build cysimdjson.egg-info
/opt/python/cp314-cp314/bin/pip3 install setuptools Cython wheel
/opt/python/cp314-cp314/bin/python3 setup.py bdist_wheel

cd /cysimdjson/dist
find . -name "cysimdjson-*-linux_x86_64.whl" | xargs -n 1 auditwheel repair -w /cysimdjson/dist
rm cysimdjson-*-linux_x86_64.whl
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
Expand Down
Loading