Skip to content

Fix PEP 639 license warnings & drop Python 3.7/3.8#4924

Closed
guedou wants to merge 1 commit intosecdev:masterfrom
guedou:guedou/issue_4849
Closed

Fix PEP 639 license warnings & drop Python 3.7/3.8#4924
guedou wants to merge 1 commit intosecdev:masterfrom
guedou:guedou/issue_4849

Conversation

@guedou
Copy link
Member

@guedou guedou commented Feb 18, 2026

Fixes #4849

Shall we also add 3.14 support?

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.07%. Comparing base (f303033) to head (3362004).
⚠️ Report is 24 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4924      +/-   ##
==========================================
- Coverage   80.84%   80.07%   -0.78%     
==========================================
  Files         369      352      -17     
  Lines       90968    91397     +429     
==========================================
- Hits        73544    73187     -357     
- Misses      17424    18210     +786     

see 288 files with indirect coverage changes

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

@@ -1,5 +1,5 @@
[build-system]
requires = [ "setuptools>=62.0.0" ]
requires = [ "setuptools>=77.0.0" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

FWIW setuptools postponed the deadline in pypa/setuptools#5115 and currently it emits

        By 2027-Feb-18, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

When I opened #4849 the deadline was a bit closer.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for pointing that out. We're a bit hesitant because it seems 3.7 is still in wide use :/

@gpotter2
Copy link
Member

See #4931 instead

evverx added a commit to evverx/scapy that referenced this pull request Feb 24, 2026
to prevent them from interfering with upstream builds. For example
secdev#4924 failed with
```
+ cd scapy-2.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scapy-2.7.0-rhel9.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
1 out of 1 hunk FAILED -- saving rejects to file pyproject.toml.rej
error: Bad exit status from /var/tmp/rpm-tmp.HHeMZC (%prep)
```
evverx added a commit to evverx/scapy that referenced this pull request Feb 25, 2026
to prevent them from interfering with upstream builds. For example
secdev#4924 failed with
```
+ cd scapy-2.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/scapy-2.7.0-rhel9.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
1 out of 1 hunk FAILED -- saving rejects to file pyproject.toml.rej
error: Bad exit status from /var/tmp/rpm-tmp.HHeMZC (%prep)
```
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.

SetuptoolsDeprecationWarnings: "project.license as a TOML table is deprecated" and "License classifiers are deprecated"

3 participants