Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and test with Python 3.12 #311

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 14 additions & 0 deletions .ci_support/linux_64_python3.12_default.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
numpy:
- '1.26'
python:
- 3.12.* *_cpython
target_platform:
- linux-64
19 changes: 19 additions & 0 deletions .ci_support/osx_64_python3.12_default.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
c_compiler:
- clang
c_compiler_version:
- '15'
cxx_compiler:
- clangxx
cxx_compiler_version:
- '15'
macos_machine:
- x86_64-apple-darwin13.4.0
numpy:
- '1.26'
python:
- 3.12.* *_cpython
target_platform:
- osx-64

10 changes: 10 additions & 0 deletions .ci_support/win_64_python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
c_compiler:
- vs2017
cxx_compiler:
- vs2017
numpy:
- '1.26'
python:
- 3.12.* *_cpython
target_platform:
- win-64
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
- { os: ubuntu-latest, python-version: '3.9' }
- { os: ubuntu-latest, python-version: '3.10' }
- { os: ubuntu-latest, python-version: '3.11' }
- { os: macos-latest, python-version: '3.11' }
- { os: windows-latest, python-version: '3.11' }
- { os: ubuntu-latest, python-version: '3.12' }
- { os: macos-latest, python-version: '3.12' }
- { os: windows-latest, python-version: '3.12' }
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
matrix:
include:
- { conda_build_yml: linux_64_python3.9_default.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: linux_64_python3.10_default.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: linux_64_python3.12_default.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: linux_aarch64_python3.10_default.____cpython, os: ubuntu-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: linux_ppc64le_python3.10_default.____cpython, os: ubuntu-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: osx_64_python3.11_default.____cpython, os: macos-latest, conda-build-args: '' }
- { conda_build_yml: osx_arm64_python3.9.____cpython, os: macos-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: osx_arm64_python3.10.____cpython, os: macos-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: win_64_python3.9.____cpython, os: windows-latest, conda-build-args: '' }
- { conda_build_yml: win_64_python3.10.____cpython, os: windows-latest, conda-build-args: '' }
- { conda_build_yml: win_64_python3.12.____cpython, os: windows-latest, conda-build-args: '' }

steps:
- name: Checkout branch
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Unreleased

- Improve the performance of ``from_pandas`` in the case of low-cardinality categorical variables.
- Require Python>=3.9 in line with `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html#support-table>`_
- Build and test with Python 3.12 in CI.

3.1.10 - 2023-06-23
-------------------
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ skip = [
"*-manylinux_i686",
"pp*",
"*-musllinux_*",
"cp312*",
"cp36*",
"cp37*",
"cp38*",
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,10 @@
author_email="noreply@quantco.com",
classifiers=[ # Optional
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
package_dir={"": "src"},
packages=find_packages(where="src"),
Expand Down