v1.2.0rc4 #607
v1.2.0rc4
#607
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
📝 Release notes
📦 PyPI page: https://pypi.org/project/ansible-pylibssh/1.2.0rc4
🚧 v1.2.0rc4 is marked as a pre-release.
🔗 This release has been produced by the following workflow run: https://github.com/ansible/pylibssh/actions/runs/9421619343
v1.2.0rc4
(2024-06-07)
Bug fixes
no longer crashes when received EOF or when channel is not
explicitly closed -- by @pbrezina.
Previously, crashed if
channel.recv
was called andlibssh
returned
SSH_EOF
error. It also crashed on some special occasionswhere channel was not explicitly closed and the session object was
garbage-collected first.
Related issues and pull requests on GitHub: Allow request_exec with async I/O and more #576.
Features
Started exposing the
SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES
andSSH_OPTIONS_HOSTKEYS
options publicly -- by @Qalthos.Related issues and pull requests on GitHub: Support changing SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES #527.
The
request_exec()
method was added to theChannel
class. Itexposes an interface for calling the respective low-level C-API of
the underlying
libssh
library -- by @pbrezina.Additionally, the following calls to
libssh
are now available inthe same class:
request_exec()
,send_eof()
,request_send_signal()
andis_eof
which is exposed as a:py
property
.Related issues and pull requests on GitHub: Allow request_exec with async I/O and more #576.
Improved documentation
Fixed spelling of "Connect" in the
Session.connect()
docstring --by @donnerhacke.
Related issues and pull requests on GitHub: Spell "Connect" @
Session.connect()
docstring #474.Added a tip to the
installation guide <Installing |project|>
onhow to set compiler flags when installing from source -- @webknjaz.
Related issues and pull requests on GitHub: ansible-pylibssh does not build on OpenBSD 7.3 #499.
Fixed the example of invoking remote commands by using
Channel.exec_command()
in snippets -- by @pbrezina.Its previously showcased version wasn't functional.
Related issues and pull requests on GitHub: Allow request_exec with async I/O and more #576.
Packaging updates and notes for downstreams
A flaw in the logic for copying the project directory into a
temporary folder that led to infinite recursion when
TMPDIR
wasset to a project subdirectory path. This was happening in Fedora and
its downstream due to the use of
pyproject-rpm-macros.
It was only reproducible with
pip wheel
and was not affecting thepyproject-build
users.-- by @hroncok and @webknjaz
Related commits on GitHub:
89c9b3a.
From now on, the published distribution package artifacts for the
new releases are signed via Sigstore -- by
@webknjaz.
This is happening as a part of the GitHub Actions CI/CD workflow
automation and the signatures are uploaded to the corresponding
GitHub Release pages.
Related commits on GitHub:
986988a.
The platform-specific macOS wheels are now built using the Python
interpreter from https://python.org. They are tagged with
macosx_10_9
-- by @webknjaz.Related issues and pull requests on GitHub: Bump redhat-actions/push-to-registry from 2.5.1 to 2.6 #333.
The
toml
build time dependency has been replaced withtomli
--by @webknjaz.
The
tomli
distribution is only pulled in under Python versionsbelow 3.11. On 3.11 and higher, the standard library module
:py
tomllib
is now used instead.Related issues and pull requests on GitHub: 🎨 Migrate PEP 517 backend to
tomllib
+tomli
#501.Started using the built-in
setuptools-scm
Git archive supportunder Python 3.7 and higher -- @webknjaz.
Related issues and pull requests on GitHub: 🎨Only use setuptools-scm-git-archive under < py37 #502.
Added support for Python 3.12 -- by @Qalthos.
It is now both tested in the CI and is advertised through the Trove
classifiers.
Related issues and pull requests on GitHub: Start building Python 3.12 wheels #532.
The
Cython
build time dependency now has the minimum version of3.0 under Python 3.12 and higher -- by @webknjaz.
The previous versions of
Cython
are still able to build theproject under older Python versions.
Related issues and pull requests on GitHub: 📦 Demand Cython 3 under Python 3.12+ #540.
660
is now enabled -- @webknjaz.Previously, due to restrictive
517
hook reimports, our in-treebuild backend was losing
non-PEP 517 <517>
hooks implemented innewer versions of
setuptools
but not the earlier ones. This is nowaddressed by reexporting everything that
setuptools
exposes with awildcard.
Related issues and pull requests on GitHub: 📦🐛 Fix PEP 660 editable install mode #541.
The
setuptools-scm
build dependency CI pin was updated to 8.1.0 —this version fixes a date parsing incompatibility introduced by Git
2.45.0 (
pypa/setuptools_scm#1039 <pypa/setuptools_scm/issues/1038>
,pypa/setuptools_scm#1038 <pypa/setuptools_scm/pull/1039>
) -- by @webknjaz.Related issues and pull requests on GitHub: ⇪ Bump the
setuptools-scm
pin to v8.1.0 #601.Contributor-facing changes
The
changelog
page for the tagged release builds on Read The Docsdoes not attempt showing the draft section anymore -- by @webknjaz.
Related commits on GitHub:
852d259.
Adjusted the publishing workflow automation to pre-configure Git
before attempting to create a tag when building a source
distribution -- by @webknjaz.
Related commits on GitHub:
f07296f.
The CI configuration for building the macOS platform-specific wheels
switched to using
cibuildwheel
-- by @webknjaz.Related issues and pull requests on GitHub: Bump redhat-actions/push-to-registry from 2.5.1 to 2.6 #333.
The OS-level tox package was upgraded to v3.28.0 in the UBI9 CI
runtime -- by @Qalthos.
Related issues and pull requests on GitHub: Bump tox package for ubi9 #461, Bump tox for ubi9 #473.
Fixed spelling of "Connect" in the
Session.connect()
docstring --by @donnerhacke.
Related issues and pull requests on GitHub: Spell "Connect" @
Session.connect()
docstring #474.The Packit CI access to the internet has been restored -- by
@Qalthos.
Related issues and pull requests on GitHub: I think this should fix packit? #507.
Started building
manylinux_2_28
base images for testing andpackaging in the CI/CD infrastructure -- by @Qalthos.
Related issues and pull requests on GitHub: Add manylinux_2_28 support #533.
Switched back to using Cython's native plugin for measuring code
coverage -- by @webknjaz.
Related issues and pull requests on GitHub: 🧪🐛 Make coverage use upstream Cython plugin #538.
Added separate changelog fragment types for contributor-and
downstream-facing patches -- by @webknjaz.
Their corresponding identifiers are
contrib
andpackaging
respectively. They are meant to be used for more accurate
classification, where one would resort to using
misc
otherwise.Related issues and pull requests on GitHub: 📝 Add
contrib
&packaging
change note types #539.660
is now enabled -- @webknjaz.This effectively means that the ecosystem-native editable install
mode started working properly.
Related issues and pull requests on GitHub: 📦🐛 Fix PEP 660 editable install mode #541.
The duplicated jobs matrices for building manylinux wheels now
reside in a single GitHub Actions CI/CD reusable workflow
definition.
-- @webknjaz
Related issues and pull requests on GitHub: 🧪 Separate manylinux wheels building workflow #559.
The duplicated jobs matrices of the text jobs now reside in a single
GitHub Actions CI/CD reusable workflow definition.
-- @webknjaz
Related issues and pull requests on GitHub: 🧪 Separate the testing workflow #560.
Fixed the location of release workflow in the
Release Guide
document -- by @Qalthos.
Related issues and pull requests on GitHub: Fix the workflow location in the release doc #565.
The
setuptools-scm
build dependency CI pin was updated to 8.1.0 —this version fixes a date parsing incompatibility introduced by Git
2.45.0 (
pypa/setuptools_scm#1039 <pypa/setuptools_scm/issues/1038>
,pypa/setuptools_scm#1038 <pypa/setuptools_scm/pull/1039>
) -- by @webknjaz.Related issues and pull requests on GitHub: ⇪ Bump the
setuptools-scm
pin to v8.1.0 #601.The CI/CD configuration was fixed to allow publishing to PyPI and
other targets disregarding the test stage outcome. This used to be a
bug in the workflow definition that has now been fixed.
-- by @pbrezina and @webknjaz
Related issues and pull requests on GitHub: 🧪 Make post-gate job chain run on gate success #602.
This discussion was created from the release v1.2.0rc4.
Beta Was this translation helpful? Give feedback.
All reactions