Skip to content

SG-42305 Packaging for v3.10.2#448

Open
jay-roe wants to merge 15 commits into
masterfrom
ticket/SG-42503_certifi_update
Open

SG-42305 Packaging for v3.10.2#448
jay-roe wants to merge 15 commits into
masterfrom
ticket/SG-42503_certifi_update

Conversation

@jay-roe

@jay-roe jay-roe commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This pull request prepares for the next release of the Flow Production Tracking Python API by updating the version to 3.10.2 and updates the bundled certifi package to address version consistency and potential security improvements across the Python API. The changes ensure that the latest version of certifi (2026.6.17) is used throughout the codebase.

Dependency update:

  • Updated certifi to version 2026.6.17 in shotgun_api3/lib/requirements.txt and the internal version reference in shotgun_api3/lib/certifi/__init__.py for consistency and security.

Added utility script:

  • Added update_certifi.py to facilitate updating the certifi package, following the similar pattern in update_httplib2.py. (In the future, we may want to run this automatically when certifi releases a new version)

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.76%. Comparing base (e831414) to head (708d0ba).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   78.76%   78.76%           
=======================================
  Files           7        7           
  Lines        1851     1851           
=======================================
  Hits         1458     1458           
  Misses        393      393           
Flag Coverage Δ
Linux 78.76% <100.00%> (ø)
Python-3.10 78.71% <100.00%> (ø)
Python-3.11 78.71% <100.00%> (ø)
Python-3.13 78.71% <100.00%> (ø)
Python-3.9 78.70% <100.00%> (ø)
Windows 78.85% <100.00%> (ø)
macOS 78.76% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jay-roe jay-roe requested review from istvanp and julien-lang June 26, 2026 18:08
@jay-roe jay-roe changed the title SG-42503 Packaging for v3.10.2 SG-42305 Packaging for v3.10.2 Jun 26, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you move this script to the developer folder, please like in tk-core.
And same for update_httplib2.py if that makes sense.

Comment on lines +96 to +100
# Older releases had python3/httplib2/; newer ones have httplib2/ at root.
python3_path = root_folder / "python3" / "httplib2"
flat_path = root_folder / "httplib2"
src_path = python3_path if python3_path.exists() else flat_path
utilities.copy_folder(str(src_path), httplib2_dir)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

When I moved the scripts I tested them out to make sure they are still usable, and found that since v0.30., httplib2 no longer has a python3 folder and just has it at root.

I didn't upgrade httplib2 here to not add too much to this PR.

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