Skip to content

RANGER-5653: Updates to apache-ranger Python client with Python 3 support only#1059

Merged
ramackri merged 2 commits into
ranger-2.9from
RANGER-5653-2.9
Jul 10, 2026
Merged

RANGER-5653: Updates to apache-ranger Python client with Python 3 support only#1059
ramackri merged 2 commits into
ranger-2.9from
RANGER-5653-2.9

Conversation

@ramackri

@ramackri ramackri commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Backport of #1034 for ranger-2.9, with GDS sections trimmed (GDS Python client is not on the 2.9 branch).

PR #1047 — this branch is on apache/ranger so CI runs.

What changes were proposed in this pull request?

Prepare apache-ranger 0.0.13 on PyPI with Python 3.13+ only support.

  • Bump version to 0.0.13; set python_requires='>=3.13' and update classifiers.
  • Refresh dependencies: requests>=2.34.2, strenum>=0.4.15 (avoids transitive chardet; RANGER-3335).
  • Use SPDX Apache-2.0 license metadata in setup.py.
  • Rewrite PyPI README for Admin, UserMgmt, KMS, and PDP (GDS removed for 2.9).
  • Expand unit tests: TestRangerClient and TestPDPClient (GDS tests removed for 2.9).
  • Remove duplicate legacy packaging scripts.
  • Add .cursor/rules/ranger-python.mdc.

Breaking change: installs require Python 3.13+ (0.0.12 supported older versions).

How was this patch tested?

  • PYTHONPATH=src/main/python python -B src/test/python/test_ranger_client.py (11 tests)
  • mvn -pl intg test (pending CI)

kumaab and others added 2 commits July 6, 2026 13:19
GDS Python client is not on ranger-2.9; remove GDS tests, README
sections, and cursor-rule references so unit tests run on 2.9.

@kumaab kumaab left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ramackri ramackri merged commit badf2ea into ranger-2.9 Jul 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants