Skip to content

python(fix): update pandas and pandas-stub upperbound version#492

Merged
wei-qlu merged 1 commit intomainfrom
python/pandas-version-update
Mar 13, 2026
Merged

python(fix): update pandas and pandas-stub upperbound version#492
wei-qlu merged 1 commit intomainfrom
python/pandas-version-update

Conversation

@wei-qlu
Copy link
Contributor

@wei-qlu wei-qlu commented Mar 12, 2026

What changed

Astranis requested:

is there any way we could get the version of pandas-stubs & pandas that sift-stack-py depends on bumped up? we have a conflict in our repo and not sure we can downgrade the versions of these:

pandas
  - sift-stack-py wants: >=2.0, <3.0
  - We have: >=3.0.0, <3.1.0

pandas-stubs
  - sift-stack-py wants: >=2.0, <3.0
  - We have: >=3.0.0.260204, <4

Our existing pandas/pandas-stub dependency version allowed in pyproject.toml is:

  • pandas: ~=2.0
  • pandas-stubs: ~=2.0

I updated the pandas upper-bound to 3.1 and pandas-stubs upper-bound to 4 (exclusive).

Testing/Validation

There is no lock file pinning the dependencies to a certain version, the CI will install the latest compatible version within the bounds (3.0.1 in this case for pandas). I ran the unit and integration tests after pushing the changes to a PR which all passed.

Manually tested ingestion and other processes with pandas and pandas-stubs updated accordingly alongside pointing to the updated version of sift-stack-py:

Requirements.txt:

sift_stack_py @ file:///Users/wei/sift/python
pandas==3.0.1               # newest version available
pandas-stubs==3.0.0.2       # newest version available

@wei-qlu wei-qlu requested a review from solidiquis March 12, 2026 21:20
@wei-qlu wei-qlu marked this pull request as ready for review March 12, 2026 21:31
@wei-qlu wei-qlu merged commit b442434 into main Mar 13, 2026
15 checks passed
@wei-qlu wei-qlu deleted the python/pandas-version-update branch March 13, 2026 00:07
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.

2 participants