Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Thrift 0.19.0 #807

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Upgrade to Thrift 0.19.0 #807

merged 2 commits into from
Dec 7, 2023

Conversation

ckw4ng
Copy link
Contributor

@ckw4ng ckw4ng commented Sep 21, 2023

💸 TL;DR

Use the latest Thrift 0.19.0 library and compiler as dependencies.

📜 Details

Thrift 0.19.0 has at least one compatibility update for Baseplate to work in Python 3.11. Upgrade the dependency chain and included Thrift definitions to use Thrift 0.19.0. The primary update is at these lines

🧪 Testing Steps / Validation

  • Validated build process works
  • Verified package installs and functions as expected with a few existing Baseplate services.

✅ Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

@ckw4ng ckw4ng requested a review from a team as a code owner September 21, 2023 17:13
@@ -79,7 +79,7 @@ sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
SQLAlchemy==1.4.12
thrift==0.14.1
thrift @ git+https://github.com/apache/[email protected]#egg=thrift&subdirectory=lib/py
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we cannot get the Thrift maintainers to upload a release to PyPI, we will need to use thrift-unofficial under our control to set up a release there, or rely on this specific github install directive.

Copy link
Contributor

@KTAtkinson KTAtkinson left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@KTAtkinson KTAtkinson merged commit 39a8c2e into reddit:develop Dec 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants