Skip to content

Commit 4b77159

Browse files
authored
Manylinux (#211)
* Updated changelog * Updated manylinux wheel building * Updated CI cfg
1 parent 46088cc commit 4b77159

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
name: Deps
112112
command: |
113113
sudo apt-get install python3-pip
114-
pip install -U pip
114+
pip install -U pip setuptools
115115
pip install twine
116116
which twine
117117
which python3

Changelog.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Change Log
22
=============
33

4-
1.1.0 (unreleased)
5-
++++++++++++++++++
4+
1.1.0
5+
+++++
66

77
Changes
88
--------
@@ -12,11 +12,17 @@ Changes
1212
* Upgraded wheel OpenSSL to 3.4.0.
1313
* Removed testing for Python versions <3.8.
1414

15+
Fixes
16+
-----
17+
18+
* Calling ``ssh2.session.Session.methods`` without a valid connection would cause a segfault - #203.
19+
1520
Packaging
1621
----------
1722

18-
* Added binary wheels for Python versions 3.11, 3.12.
19-
* Added OSX 12.0 and 13.0 wheels, Apple Silicon.
23+
* Added binary wheels for Python versions 3.11, 3.12 and 3.13 on support manylinux wheel builds.
24+
* Added OSX 12.0, 13.0 and 14.0 wheels, Apple Silicon.
25+
* Support OSX brew OpenSSL from source builds.
2026

2127

2228
1.0.0

ci/build-wheels.sh

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -xe
22
# This file is part of ssh2-python.
3-
# Copyright (C) 2017-2022 Panos Kittenis and contributors.
3+
# Copyright (C) 2017-2025 Panos Kittenis and contributors.
44
#
55
# This library is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Lesser General Public
@@ -18,7 +18,8 @@
1818
# Compile wheels
1919
# For testing
2020
# for PYBIN in `ls -1d /opt/python/cp310-cp310/bin | grep -v cpython`; do
21-
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython); do
21+
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -v cp313t); do
22+
echo "Building for Python binary ${PYBIN}"
2223
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
2324
done
2425

@@ -28,9 +29,10 @@ for whl in wheelhouse/*.whl; do
2829
done
2930

3031
# Install packages and test
31-
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython); do
32+
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -v cp313t); do
3233
# for PYBIN in `ls -1d /opt/python/cp310-cp310/bin | grep -v cpython`; do
33-
"${PYBIN}/pip" install ssh2-python --no-index -f /io/wheelhouse
34-
(cd "$HOME"; "${PYBIN}/python" -c 'from ssh2.session import Session; Session()' &&
35-
echo "Import sanity check succeeded.")
34+
echo "Installing for Python binary ${PYBIN}"
35+
"${PYBIN}/pip" install ssh2-python --no-index -f /io/wheelhouse
36+
(cd "$HOME"; "${PYBIN}/python" -c 'from ssh2.session import Session; Session()' &&
37+
echo "Import sanity check succeeded.")
3638
done

0 commit comments

Comments
 (0)