Skip to content

Commit

Permalink
Additional 3.12 compatibility changes
Browse files Browse the repository at this point in the history
This included a number of changes related to the CPython API.

I additionally bumped the supported python versions in CI.
  • Loading branch information
JacobCallahan committed Nov 10, 2023
1 parent 75176e3 commit 653909f
Show file tree
Hide file tree
Showing 16 changed files with 100 additions and 52 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
version: 2.1

orbs:
python: circleci/python@0.3.2
python: circleci/python@2.0.3

jobs:
python_test:
parameters:
python_ver:
type: string
default: "3.6"
default: "3.11"
docker:
- image: circleci/python:<< parameters.python_ver >>
steps:
- checkout
- python/load-cache:
dependency-file: requirements_dev.txt
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
# - python/load-cache: # This command is unavailable in the orb
# dependency-file: requirements_dev.txt
# key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
- run:
name: Deps
command: |
Expand Down Expand Up @@ -139,17 +139,17 @@ jobs:
steps: *manylinux-steps

workflows:
version: 2.1
# version: 2.1 - default?
main:
jobs:
- python_test:
matrix:
parameters:
python_ver:
- "3.6"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
filters:
tags:
ignore: /.*/
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
try:
from Cython.Distutils.extension import Extension
from Cython.Distutils import build_ext
from Cython.Build import cythonize
except ImportError:
from setuptools import Extension
USING_CYTHON = False
Expand Down Expand Up @@ -71,7 +72,6 @@
library_dirs=[_lib_dir],
runtime_library_dirs=runtime_library_dirs,
extra_compile_args=_comp_args,
**cython_args,
)
for i in range(len(sources))]

Expand Down Expand Up @@ -131,6 +131,6 @@
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
],
ext_modules=extensions,
ext_modules=cythonize(extensions, **cython_args) if USING_CYTHON else extensions,
package_data=package_data,
)
10 changes: 7 additions & 3 deletions ssh2/agent.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/channel.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ssh2/error_codes.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ssh2/exceptions.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/fileinfo.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/knownhost.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/listener.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/pkey.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions ssh2/publickey.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 653909f

Please sign in to comment.