Skip to content

Commit

Permalink
Bump Python 3 to 3.12 (#2462)
Browse files Browse the repository at this point in the history
* bump py version to 3.12

* Remove python 2.7 references and E2E environment

* clean up more refs

* Remove whitespace
  • Loading branch information
Kyle-Neale authored Oct 15, 2024
1 parent edaf036 commit 6b70d40
Show file tree
Hide file tree
Showing 220 changed files with 225 additions and 341 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
uses: DataDog/integrations-core/.github/workflows/pr-test.yml@master
with:
repo: extras
python-version: "3.11"
python-version: "3.12"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

python-version:
required: false
default: "3.11"
default: "3.12"
type: string
standard:
required: false
Expand Down
2 changes: 1 addition & 1 deletion aqua/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions aqua/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
4 changes: 1 addition & 3 deletions aqua/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.aqua'],
Expand Down
2 changes: 1 addition & 1 deletion aws_pricing/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions aws_pricing/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
4 changes: 1 addition & 3 deletions aws_pricing/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.aws_pricing'],
Expand Down
2 changes: 1 addition & 1 deletion bind9/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions bind9/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
3 changes: 1 addition & 2 deletions bind9/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.12',
],
packages=['datadog_checks.bind9'],
# Run-time dependencies
Expand Down
2 changes: 1 addition & 1 deletion celerdata/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
2 changes: 1 addition & 1 deletion celerdata/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Private :: Do Not Upload",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion cfssl/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
2 changes: 1 addition & 1 deletion cfssl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion cfssl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.cfssl'],
Expand Down
2 changes: 1 addition & 1 deletion cloudnatix/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
2 changes: 1 addition & 1 deletion cloudnatix/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion cloudnatix/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.cloudnatix'],
Expand Down
2 changes: 1 addition & 1 deletion cloudsmith/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions cloudsmith/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion cloudsmith/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.cloudsmith'],
Expand Down
2 changes: 1 addition & 1 deletion cybersixgill_actionable_alerts/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
2 changes: 1 addition & 1 deletion cybersixgill_actionable_alerts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Private :: Do Not Upload",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
dependencies = [
Expand Down
3 changes: 1 addition & 2 deletions cybersixgill_actionable_alerts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.cybersixgill_actionable_alerts'],
Expand Down
2 changes: 1 addition & 1 deletion cyral/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions cyral/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion cyral/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def parse_pyproject_array(name):
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.cyral'],
Expand Down
2 changes: 1 addition & 1 deletion emqx/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
2 changes: 1 addition & 1 deletion emqx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Private :: Do Not Upload",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion emqx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.emqx'],
Expand Down
2 changes: 1 addition & 1 deletion eventstore/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions eventstore/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
3 changes: 1 addition & 2 deletions eventstore/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.12',
],
packages=['datadog_checks.eventstore'],
# Run-time dependencies
Expand Down
2 changes: 1 addition & 1 deletion exim/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions exim/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
3 changes: 1 addition & 2 deletions exim/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.exim'],
Expand Down
2 changes: 1 addition & 1 deletion fiddler/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.11"]
python = ["3.12"]

[envs.default.env-vars]
FIDDLER_API_KEY = "23423423423423"
Expand Down
2 changes: 1 addition & 1 deletion fiddler/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion fiddler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_pyproject_array(name):
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
# The package we're going to ship
packages=['datadog_checks.fiddler'],
Expand Down
2 changes: 1 addition & 1 deletion filebeat/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.11"]
python = ["3.12"]

[envs.default]
e2e-env = false
3 changes: 1 addition & 2 deletions filebeat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
Loading

0 comments on commit 6b70d40

Please sign in to comment.