Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Jul 18, 2024

@cdce8p cdce8p added Skip news 🔇 This change does not require a changelog entry backport maintenance/3.3.x labels Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.79%. Comparing base (6236b91) to head (135f165).
Report is 123 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9812   +/-   ##
=======================================
  Coverage   95.79%   95.79%           
=======================================
  Files         174      174           
  Lines       18902    18912   +10     
=======================================
+ Hits        18107    18117   +10     
  Misses        795      795           

see 1 file with indirect coverage changes

This comment has been minimized.

requests
# Voluntary for test purpose, not actually used in prod, see #8904
setuptools==41.6.0
setuptools;python_version>='3.12'
Copy link
Member

Choose a reason for hiding this comment

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

I'm in favor of removing the version pin, but can I ask why limit the python version?

Copy link
Member Author

Choose a reason for hiding this comment

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

Until 3.12, setuptools was bundled with Python itself.

Copy link
Member

Choose a reason for hiding this comment

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

This is the test dependencie set to this specific version as a regression test (see comment above) I think the threat reported is not applicable in this case.

Copy link
Member

Choose a reason for hiding this comment

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

Got it, I must manually uninstalled it to reproduce that issue 😅

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the test dependencie set to this specific version as a regression test (see comment above) I think the threat reported is not applicable in this case.

I think so too. It nevertheless is a good idea to install a more modern version of setuptools and not keep the old one around. Especially as everyone has moved on since.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Thank you Marc I did not realize that the pyproject.toml needed an upgrade (I only saw the test dependencie where it's not applicable imo).

@jacobtylerwalls jacobtylerwalls added this to the 3.2.6 milestone Jul 18, 2024
@cdce8p cdce8p changed the title Update setuptools to >=71.0.1 Update setuptools to >=71.0.4 Jul 20, 2024
Copy link
Contributor

🤖 Effect of this PR on checked open source code: 🤖

Effect on pytest:
The following messages are no longer emitted:

  1. redefined-variable-type:
    Redefinition of importhook type from type to _pytest.assertion.DummyRewriteHook
    https://github.com/pytest-dev/pytest/blob/a7d5a8eba9addd119432fa71880b51052a89812f/src/_pytest/assertion/__init__.py#L80

This comment was generated for commit 135f165

@cdce8p cdce8p merged commit 60bd230 into pylint-dev:main Jul 20, 2024
@cdce8p cdce8p deleted the fix-setuptools branch July 20, 2024 15:35
github-actions bot pushed a commit that referenced this pull request Jul 20, 2024
jacobtylerwalls pushed a commit that referenced this pull request Jul 20, 2024
cdce8p added a commit that referenced this pull request Jul 20, 2024
(cherry picked from commit 60bd230)

Co-authored-by: Marc Mueller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.3.x Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants