1515# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1616version : 2.1
1717
18- orbs :
19- python : circleci/python@2.1.1
2018
2119jobs :
2220 python_test :
2321 parameters :
2422 python_ver :
2523 type : string
26- default : " 3.9 "
24+ default : " 3.10 "
2725 docker :
2826 - image : cimg/python:<< parameters.python_ver >>
2927 steps :
3028 - checkout
31- - python/install-packages :
32- pip-dependency-file : requirements_dev.txt
33- pkg-manager : pip
3429 - run :
3530 name : Deps
3631 command : |
3732 sudo apt-get update
3833 sudo apt-get install cmake openssh-server
34+ pip install -r requirements_dev.txt
3935 - run :
4036 command : |
37+ pip uninstall -y cython
4138 pip install -e .
4239 eval "$(ssh-agent -s)"
4340 name : Build
4441 - run :
4542 command : |
4643 set -x
47- ls -lhtr ssh/
48- pwd
49- ldd -r ssh/session*.so
5044 pytest tests
45+ name : Test
46+ - run :
47+ command : |
48+ pytest ci/integration_tests
49+ name : Integration
50+ - run :
51+ command : |
5152 flake8 ssh
53+ name : Flake
54+ - run :
55+ command : |
5256 python setup.py sdist
53- cd dist; pip install *; cd ..
57+ cd dist
58+ pip install *
59+ python -c 'from ssh.session import Session; Session()'
60+ cd ..
61+ name : Sdist Install
62+ - run :
63+ command : |
5464 cd doc
5565 make html
5666 cd ..
57- name : Test
67+ name : Docs
5868
5969 osx :
6070 parameters :
7181 name : deps
7282 command : |
7383 brew install cmake git-lfs krb5 python libssh
84+ brew link --force openssl
85+ brew link --force libssh2
7486 pip3 install twine
7587 which twine
7688 - run :
8698
8799 manylinux-x86_64 :
88100 machine :
89- image : ubuntu-2004:202201-02
101+ image : ubuntu-2004:current
90102 steps : &manylinux-steps
91103 - checkout
92- - run :
93- name : sdist
94- command : python setup.py sdist
95- - python/install-packages :
96- pip-dependency-file : requirements_dev.txt
97- pkg-manager : pip
98104 - run :
99105 name : Git LFS
100106 command : |
@@ -106,7 +112,7 @@ jobs:
106112 name : Deps
107113 command : |
108114 sudo apt-get install python3-pip
109- pip install -U pip
115+ pip install -U pip setuptools
110116 pip install twine
111117 which twine
112118 which python3
@@ -129,7 +135,7 @@ jobs:
129135
130136 manylinux-aarch64 :
131137 machine :
132- image : ubuntu-2004:202101-01
138+ image : ubuntu-2004:current
133139 resource_class : arm.medium
134140 steps : *manylinux-steps
135141
@@ -141,10 +147,10 @@ workflows:
141147 matrix :
142148 parameters :
143149 python_ver :
144- - " 3.6"
145150 - " 3.8"
146- - " 3.9 "
151+ - " 3.10 "
147152 - " 3.11"
153+ - " 3.12"
148154 filters :
149155 tags :
150156 ignore : /.*/
@@ -161,7 +167,8 @@ workflows:
161167 parameters :
162168 xcode_ver :
163169 - " 14.0.0"
164- - " 13.1.0"
170+ - " 15.0.0"
171+ - " 16.0.0"
165172 context : Docker
166173 filters :
167174 tags :
0 commit comments