diff --git a/CHANGELOG.md b/CHANGELOG.md index a43eb987..fb265d1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to the Zowe Client Python SDK will be documented in this file. +## Recent Changes + +### Bug Fixes + +- Downgraded the `jsonschema` dependency of the Core SDK for Python versions older than 3.14 to remove Rust dependency. [#390](https://github.com/zowe/zowe-client-python-sdk/pull/390) +- Updated the `requests` dependency of the Core SDK for technical currency. [#390](https://github.com/zowe/zowe-client-python-sdk/pull/390) + ## `1.0.0-dev25` - Support responseTimeout profile property for z/OSMF operations. [#369](https://github.com/zowe/zowe-client-python-sdk/pull/369) diff --git a/README.md b/README.md index f11e5b83..0844e120 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ that can interact with z/OS components. ## Installation +> [!WARNING] +> On z/OS USS, Python 3.14 and newer versions are not supported due to missing Rust build tools. For details, see [#388](https://github.com/zowe/zowe-client-python-sdk/issues/388). + When installing the Zowe Client Python SDK, you have two options: - Install all the Zowe packages diff --git a/requirements.txt b/requirements.txt index ca695e9b..c434c86c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ deepmerge==1.1.0 json5==0.12.1 -jsonschema==4.25.1 +jsonschema==4.17.3; python_version<'3.14' +jsonschema==4.25.1; python_version>='3.14' PyYAML==6.0.1 -requests==2.32.4 +requests==2.33.0 # Dev deps setuptools diff --git a/src/core/setup.py b/src/core/setup.py index d1e1d488..6ca22b58 100644 --- a/src/core/setup.py +++ b/src/core/setup.py @@ -36,10 +36,13 @@ install_requires=[ "deepmerge~=1.1.0", "json5~=0.12.1", - "jsonschema~=4.25.1", + # Prefer older version of jsonschema without Rust dependency + "jsonschema~=4.17.3; python_version<'3.14'", + "jsonschema~=4.25.1; python_version>='3.14'", "pyyaml~=6.0.1", - "requests~=2.32.0", - "urllib3>=1.21.1,<3", # Same version range that `requests` uses + "requests~=2.33.0", + # Pin urllib3 to the same version range that `requests` uses + "urllib3>=1.26,<3", ], extras_require={"secrets": [resolve_sdk_dep("secrets", "~=1.0.0.dev")]}, packages=find_namespace_packages(include=["zowe.*"]),