Skip to content

Manylinux #211

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

Merged
merged 2 commits into from
Jan 12, 2025
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
name: Deps
command: |
sudo apt-get install python3-pip
pip install -U pip
pip install -U pip setuptools
pip install twine
which twine
which python3
Expand Down
14 changes: 10 additions & 4 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Change Log
=============

1.1.0 (unreleased)
++++++++++++++++++
1.1.0
+++++

Changes
--------
Expand All @@ -12,11 +12,17 @@ Changes
* Upgraded wheel OpenSSL to 3.4.0.
* Removed testing for Python versions <3.8.

Fixes
-----

* Calling ``ssh2.session.Session.methods`` without a valid connection would cause a segfault - #203.

Packaging
----------

* Added binary wheels for Python versions 3.11, 3.12.
* Added OSX 12.0 and 13.0 wheels, Apple Silicon.
* Added binary wheels for Python versions 3.11, 3.12 and 3.13 on support manylinux wheel builds.
* Added OSX 12.0, 13.0 and 14.0 wheels, Apple Silicon.
* Support OSX brew OpenSSL from source builds.


1.0.0
Expand Down
14 changes: 8 additions & 6 deletions ci/build-wheels.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -xe
# This file is part of ssh2-python.
# Copyright (C) 2017-2022 Panos Kittenis and contributors.
# Copyright (C) 2017-2025 Panos Kittenis and contributors.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -18,7 +18,8 @@
# Compile wheels
# For testing
# for PYBIN in `ls -1d /opt/python/cp310-cp310/bin | grep -v cpython`; do
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython); do
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -v cp313t); do
echo "Building for Python binary ${PYBIN}"
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
done

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

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