Skip to content
Open
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: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ workflows:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
- "3.15"
filters:
tags:
ignore: /.*/
Expand Down
10 changes: 10 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Change Log
=============

1.3.0
+++++

Packaging
----------

* Switched Linux x86_64 and aarch64 wheel builds from manylinux2014 to
manylinux_2_28. Linux wheels now require glibc 2.28 or newer.


1.2.0
++++++

Expand Down
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Bindings for libssh_ C library.
Installation
_____________

Binary wheels are provided for Linux (manylinux 2014, x86_64 and aarch64), OSX (12, 13 and 14 for brew Python), and Windows 64-bit (Python 3.8+).
Binary wheels are provided for Linux (manylinux_2_28, x86_64 and aarch64), OSX (12, 13 and 14 for brew Python), and Windows 64-bit (Python 3.8+).

Linux wheels require glibc 2.28 or newer (for example, RHEL 8+, Debian 10+, or Ubuntu 20.04+).

Wheels have *no dependencies*.

Expand Down
12 changes: 4 additions & 8 deletions ci/build-manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,16 @@ tar -czf ci/docker/manylinux/krb5-${KRB}.tar.gz krb5-${KRB}

docker_repo="parallelssh/ssh-manylinux"
docker_files=(
"ci/docker/manylinux/Dockerfile.2014_x86_64"
# "ci/docker/manylinux/Dockerfile.manylinux_2_24_x86_64"
# "ci/docker/manylinux/Dockerfile.manylinux_2_28_x86_64"
)
"ci/docker/manylinux/Dockerfile.manylinux_2_28_x86_64"
)

rm -rf local build ssh/libssh.* ssh/*.so
python ci/appveyor/fix_version.py .

if [[ $(uname -m) == "aarch64" ]]; then
docker_files=(
"ci/docker/manylinux/Dockerfile.aarch64"
# "ci/docker/manylinux/Dockerfile.aarch64_2_24"
# "ci/docker/manylinux/Dockerfile.aarch64_2_28"
)
"ci/docker/manylinux/Dockerfile.aarch64_2_28"
)
fi

for docker_file in "${docker_files[@]}"; do
Expand Down
4 changes: 2 additions & 2 deletions ci/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
rm -rf /io/build
# 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 | grep -v cp313t); do
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -Ev 'cp31[345]t'); do
echo "Building for Python binary ${PYBIN}"
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
done
Expand All @@ -33,7 +33,7 @@ for whl in wheelhouse/*.whl; do
done

# Install packages and test
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -v cp313t); do
for PYBIN in $(ls -1d /opt/python/*/bin | grep -v cpython | grep -Ev 'cp31[345]t'); do
# for PYBIN in `ls -1d /opt/python/cp310-cp310/bin | grep -v cpython`; do
echo "Installing for Python binary ${PYBIN}"
"${PYBIN}/pip" install ssh-python --no-index -f /io/wheelhouse
Expand Down
4 changes: 2 additions & 2 deletions ci/docker/manylinux/Dockerfile.aarch64_2_28
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV SYSTEM_LIBSSH=1
ENV KRB=1.21.3
ENV CFLAGS="-g0 -s"

RUN yum install zlib-devel cmake3 -y
RUN dnf install -y zlib-devel cmake perl-IPC-Cmd && dnf clean all

ADD libssh-${LIBSSH}.tar.gz libssh.tar.gz
ADD krb5-${KRB}.tar.gz krb5.tar.gz
Expand All @@ -46,7 +46,7 @@ RUN cd ${OPENSSL} && \

# Libssh
RUN cc --version; openssl version -a; mkdir -p build_libssh && cd build_libssh && \
cmake3 ../libssh.tar.gz/libssh -DCMAKE_BUILD_TYPE=Release \
cmake ../libssh.tar.gz/libssh -DCMAKE_BUILD_TYPE=Release \
-DWITH_GSSAPI=ON -DWITH_EXAMPLES=OFF -DUNIT_TESTING=OFF && \
make -j6 install/strip

Expand Down
4 changes: 2 additions & 2 deletions ci/docker/manylinux/Dockerfile.manylinux_2_28_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV SYSTEM_LIBSSH=1
ENV KRB=1.21.3
ENV CFLAGS="-g0 -s"

RUN yum install zlib-devel cmake3 -y
RUN dnf install -y zlib-devel cmake perl-IPC-Cmd && dnf clean all

ADD libssh-${LIBSSH}.tar.gz libssh.tar.gz
ADD krb5-${KRB}.tar.gz krb5.tar.gz
Expand All @@ -46,7 +46,7 @@ RUN cd ${OPENSSL} && \

# Libssh
RUN cc --version; openssl version -a; mkdir -p build_libssh && cd build_libssh && \
cmake3 ../libssh.tar.gz/libssh -DCMAKE_BUILD_TYPE=Release \
cmake ../libssh.tar.gz/libssh -DCMAKE_BUILD_TYPE=Release \
-DWITH_GSSAPI=ON -DWITH_EXAMPLES=OFF -DUNIT_TESTING=OFF && \
make -j6 install/strip

Expand Down