Skip to content

Upgrade of setuptools with fixes to dependencies#14330

Open
giohappy wants to merge 1 commit into
masterfrom
upgrade-setuptools-to-82
Open

Upgrade of setuptools with fixes to dependencies#14330
giohappy wants to merge 1 commit into
masterfrom
upgrade-setuptools-to-82

Conversation

@giohappy

Copy link
Copy Markdown
Contributor

No description provided.

@cla-bot cla-bot Bot added the cla-signed CLA Bot: community license agreement signed label Jun 12, 2026
@giohappy giohappy requested a review from mattiagiupponi June 12, 2026 15:48
@giohappy giohappy changed the title Upgrade of setupttols to 82 with fixes to dependencies Upgrade of setuptools to 82 with fixes to dependencies Jun 12, 2026
@giohappy giohappy changed the title Upgrade of setuptools to 82 with fixes to dependencies Upgrade of setuptools with fixes to dependencies Jun 12, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates several dependency versions in pyproject.toml, including django-downloadview, django-polymorphic, geonode-pinax-notifications, geonode-oauth-toolkit, and setuptools. Feedback is provided regarding the setuptools dependency constraint, pointing out that removing the lower bound could allow incompatible older versions to be installed, and noting that the adjacent comment is now outdated and should be updated.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread pyproject.toml
# importer dependencies
# blocked to <80 to avoid warning during the runtime for with py312 related to the polymorphic model
"setuptools>=59,<80",
"setuptools<83",

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.

medium

The comment on line 111 is now outdated and contradicts the new constraint of <83. Please update or remove the comment to reflect this change.

Additionally, removing the lower bound (>=59) might allow older, incompatible versions of setuptools to be installed at runtime. It is recommended to retain a lower bound of >=61.0 to align with the build-system requirement.

Suggested change
"setuptools<83",
"setuptools>=61.0,<83",

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.09%. Comparing base (be64508) to head (369d44d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #14330       +/-   ##
===========================================
+ Coverage   34.71%   53.09%   +18.38%     
===========================================
  Files         982      982               
  Lines       60496    60527       +31     
  Branches     8247     8252        +5     
===========================================
+ Hits        21002    32139    +11137     
+ Misses      38332    26906    -11426     
- Partials     1162     1482      +320     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@giohappy

Copy link
Copy Markdown
Contributor Author

Let's wait for #14339 then we will run the tests again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 5.0.x backport 5.1.x cla-signed CLA Bot: community license agreement signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant