Add version ceiling for pypsrp (#83122) (#83162)

* Add version ceiling for pypsrp

Add a version ceiling for the pypsrp requirements. This ensures that the
future v1.0.0 release won't impact existing users who install the
library using the version range specified.

* Use constraints file

* Add changelog for this change

(cherry picked from commit 2ed6c30929)
pull/83240/head
Jordan Borean 7 months ago committed by GitHub
parent d65905f998
commit 3f01fd9be9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,2 @@
bugfixes:
- Add a version ceiling constraint for pypsrp to avoid potential breaking changes in the 1.0.0 release.

@ -14,7 +14,7 @@ description:
underlying transport but instead runs in a PowerShell interpreter. underlying transport but instead runs in a PowerShell interpreter.
version_added: "2.7" version_added: "2.7"
requirements: requirements:
- pypsrp>=0.4.0 (Python library) - pypsrp>=0.4.0, <1.0.0 (Python library)
extends_documentation_fragment: extends_documentation_fragment:
- connection_pipelining - connection_pipelining
options: options:

@ -1,6 +1,7 @@
# do not add a cryptography or pyopenssl constraint to this file, they require special handling, see get_cryptography_requirements in python_requirements.py # do not add a cryptography or pyopenssl constraint to this file, they require special handling, see get_cryptography_requirements in python_requirements.py
# do not add a coverage constraint to this file, it is handled internally by ansible-test # do not add a coverage constraint to this file, it is handled internally by ansible-test
packaging < 21.0 ; python_version < '3.6' # packaging 21.0 requires Python 3.6 or newer packaging < 21.0 ; python_version < '3.6' # packaging 21.0 requires Python 3.6 or newer
pypsrp < 1.0.0 # in case the next major version is too big of a change
pywinrm >= 0.3.0 ; python_version < '3.11' # message encryption support pywinrm >= 0.3.0 ; python_version < '3.11' # message encryption support
pywinrm >= 0.4.3 ; python_version >= '3.11' # support for Python 3.11 pywinrm >= 0.4.3 ; python_version >= '3.11' # support for Python 3.11
pytest < 5.0.0, >= 4.5.0 ; python_version == '2.7' # pytest 5.0.0 and later will no longer support python 2.7 pytest < 5.0.0, >= 4.5.0 ; python_version == '2.7' # pytest 5.0.0 and later will no longer support python 2.7

Loading…
Cancel
Save