Skip to content

Commit 3362004

Browse files
committed
Fix PEP 639 license warnings & drop Python 3.7/3.8
1 parent f303033 commit 3362004

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/unittests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ jobs:
8383
fail-fast: false
8484
matrix:
8585
os: [ubuntu-latest]
86-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
86+
python: ["3.10", "3.11", "3.12"]
8787
mode: [non_root]
8888
installmode: ['']
8989
flags: [" -K scanner"]
9090
allow-failure: ['false']
9191
include:
92-
# Python 3.7
92+
# Python 3.10
9393
- os: ubuntu-22.04
94-
python: "3.7"
94+
python: "3.10"
9595
mode: non_root
9696
flags: " -K scanner"
9797
# Linux root tests on last version

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = [ "setuptools>=62.0.0" ]
2+
requires = [ "setuptools>=77.0.0" ]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -15,8 +15,8 @@ maintainers = [
1515
{ name="Guillaume VALADON" },
1616
{ name="Nils WEISS" },
1717
]
18-
license = { text="GPL-2.0-only" }
19-
requires-python = ">=3.7, <4"
18+
license = "GPL-2.0-only"
19+
requires-python = ">=3.9, <4"
2020
description = "Scapy: interactive packet manipulation tool"
2121
keywords = [ "network" ]
2222
classifiers = [
@@ -27,11 +27,8 @@ classifiers = [
2727
"Intended Audience :: Science/Research",
2828
"Intended Audience :: System Administrators",
2929
"Intended Audience :: Telecommunications Industry",
30-
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
3130
"Programming Language :: Python :: 3",
3231
"Programming Language :: Python :: 3 :: Only",
33-
"Programming Language :: Python :: 3.7",
34-
"Programming Language :: Python :: 3.8",
3532
"Programming Language :: Python :: 3.9",
3633
"Programming Language :: Python :: 3.10",
3734
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
# Tox environments:
66
# py{version}-{os}-{non_root,root}
7-
# In our testing, version can be 37 to 313 or py39 for pypy39
7+
# In our testing, version can be 39 to 313 or py39 for pypy39
88

99
[tox]
1010
# minversion = 4.0
1111
skip_missing_interpreters = true
1212
# envlist = default when doing 'tox'
13-
envlist = py{37,38,39,310,311,312,313}-{linux,bsd,windows}-{non_root,root}
13+
envlist = py{39,310,311,312,313}-{linux,bsd,windows}-{non_root,root}
1414

1515
# Main tests
1616

0 commit comments

Comments
 (0)