Skip to content

Commit

Permalink
Merge pull request #1080 from kc611/py313
Browse files Browse the repository at this point in the history
Added Python 3.13 to CI and Descriptions
  • Loading branch information
sklam authored Nov 6, 2024
2 parents 44fd803 + cfd7ab0 commit ff09528
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- uses: actions/setup-python@v3
with:
python-version: '3.9'
python-version: '3.10'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.12.0
Expand All @@ -57,8 +57,8 @@ jobs:
CIBW_ARCHS: auto64
# I cannot tell you how much this isn't going to work on musllinux,
# so don't try to compile against it.
CIBW_BUILD: cp39-*
CIBW_SKIP: cp39-musllinux*
CIBW_BUILD: cp310-*
CIBW_SKIP: cp310-musllinux*
# Run our little script to inject LLVM into the build environment. See script for details.
CIBW_BEFORE_BUILD: "{project}/buildscripts/github/install_llvmdev.sh"
CIBW_BEFORE_BUILD_WINDOWS: "pwsh {project}/buildscripts/github/install_llvmdev.ps1"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Key Benefits
Compatibility
=============

llvmlite has been tested with Python 3.9 -- 3.12 and is likely to work with
llvmlite has been tested with Python 3.10 -- 3.13 and is likely to work with
greater versions.

As of version 0.41.0, llvmlite requires LLVM 14.x.x on all architectures
Expand Down
23 changes: 12 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ jobs:
name: macOS
vmImage: macos-12
matrix:
py39:
PYTHON: '3.9'
CONDA_ENV: cienv
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
Expand All @@ -17,6 +14,9 @@ jobs:
py312:
PYTHON: '3.12'
CONDA_ENV: cienv
py313:
PYTHON: '3.13'
CONDA_ENV: cienv

llvm16:
PYTHON: '3.12'
Expand All @@ -33,10 +33,6 @@ jobs:
name: Linux
vmImage: ubuntu-20.04
matrix:
py39:
PYTHON: '3.9'
CONDA_ENV: cienv
RUN_FLAKE8: yes
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
Expand All @@ -51,14 +47,15 @@ jobs:
CONDA_ENV: cienv
RUN_FLAKE8: yes
RUN_CLANG_FORMAT: yes
py313:
PYTHON: '3.13'
CONDA_ENV: cienv
RUN_FLAKE8: yes
RUN_CLANG_FORMAT: yes
# temporarily disabled
# pypy:
# PYTHON: pypy
# CONDA_ENV: cienv
py39_wheel:
PYTHON: '3.9'
CONDA_ENV: cienv
WHEEL: 'yes'
py310_wheel:
PYTHON: '3.10'
CONDA_ENV: cienv
Expand All @@ -71,6 +68,10 @@ jobs:
PYTHON: '3.12'
CONDA_ENV: cienv
WHEEL: 'yes'
py313_wheel:
PYTHON: '3.13'
CONDA_ENV: cienv
WHEEL: 'yes'

llvm16:
PYTHON: '3.12'
Expand Down
6 changes: 3 additions & 3 deletions buildscripts/azure/azure-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
strategy:
maxParallel: 11
matrix:
py39:
PYTHON: '3.9'
CONDA_ENV: cienv
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
Expand All @@ -21,6 +18,9 @@ jobs:
py312:
PYTHON: '3.12'
CONDA_ENV: cienv
py313:
PYTHON: '3.13'
CONDA_ENV: cienv

llvm16:
PYTHON: '3.12'
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/manylinux_2_17/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ The conda packages will be stored into `<llvmlite_source_root>/docker_output/dis

Available Python installations (`<pyver>`) are:

- cp39-cp39
- cp310-cp310
- cp311-cp311
- cp312-cp312
- cp313-cp313


Reference: https://github.com/pypa/manylinux
2 changes: 1 addition & 1 deletion conda-recipes/llvmlite/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ requirements:
# requires libxml2
- libxml2 # [win]
run:
- python >=3.9
- python >=3.10
- vs2015_runtime # [win]
# osx has dynamically linked libstdc++
- libcxx >=4.0.1 # [osx]
Expand Down
2 changes: 1 addition & 1 deletion docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ you commit changes. You can skip this check with ``git commit --no-verify``.
Platform support
----------------

Llvmlite will be kept compatible with Python 3.9 and later
Llvmlite will be kept compatible with Python 3.10 and later
under at least Windows, macOS and Linux.

We do not expect contributors to test their code on all platforms. Pull
Expand Down
2 changes: 1 addition & 1 deletion llvmlite/binding/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _importlib_resources_path_repl(package, resource):


_importlib_resources_path = (_importlib_resources_path_repl
if sys.version_info[:2] >= (3, 9)
if sys.version_info[:2] >= (3, 10)
else _impres.path)


Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import sys


min_python_version = (3, 9)
min_python_version = (3, 10)


def _version_info_str(int_tuple):
Expand Down Expand Up @@ -194,10 +194,10 @@ def finalize_options(self):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers",
],
Expand Down

0 comments on commit ff09528

Please sign in to comment.