Skip to content

Commit

Permalink
Bump the Python version from py3.9 to py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret committed Oct 16, 2023
1 parent dc7599f commit 14dfe71
Show file tree
Hide file tree
Showing 506 changed files with 542 additions and 542 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ddev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults:

env:
APP_NAME: ddev
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.11"
PYOXIDIZER_VERSION: "0.24.0"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-shared-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [ubuntu-22.04, windows-2022]

env:
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.11"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'

- name: Upgrade Python packaging tools
run: pip install --disable-pip-version-check --upgrade pip setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'

- name: Upgrade Python packaging tools
run: pip install --disable-pip-version-check --upgrade pip setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'

- name: Upgrade Python packaging tools
run: pip install --disable-pip-version-check --upgrade pip setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-hash-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.11'

- id: files
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
runs-on: ubuntu-22.04

env:
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.11"
TARGET: ${{ github.event_name == 'pull_request' && 'changed' || '' }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:

env:
FORCE_COLOR: "1"
PYTHON_VERSION: "${{ inputs.python-version || '3.9' }}"
PYTHON_FILTER: "${{ (inputs.test-py2 && !inputs.test-py3) && '2.7' || (!inputs.test-py2 && inputs.test-py3) && '3.9' || '' }}"
PYTHON_VERSION: "${{ inputs.python-version || '3.11' }}"
PYTHON_FILTER: "${{ (inputs.test-py2 && !inputs.test-py3) && '2.7' || (!inputs.test-py2 && inputs.test-py3) && '3.11' || '' }}"
SKIP_ENV_NAME: "${{ (inputs.test-py2 && !inputs.test-py3) && 'py3.*' || (!inputs.test-py2 && inputs.test-py3) && 'py2.*' || '' }}"
# Windows E2E requires Windows containers
DDEV_E2E_AGENT: "${{ inputs.platform == 'windows' && (inputs.agent-image-windows || 'datadog/agent-dev:master-py3-win-servercore') || inputs.agent-image }}"
Expand Down
2 changes: 1 addition & 1 deletion active_directory/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ platforms = [
]

[[envs.default.matrix]]
python = ["2.7", "3.9"]
python = ["2.7", "3.11"]
2 changes: 1 addition & 1 deletion active_directory/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion active_directory/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.active_directory'],
Expand Down
4 changes: 2 additions & 2 deletions activemq/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.9"]
python = ["3.11"]
version = ["2.15.0"]
compose-file = ["artemis.yaml"]

[[envs.default.matrix]]
python = ["3.9"]
python = ["3.11"]
version = ["5.15.9"]
compose-file = ["activemq.yaml"]

Expand Down
2 changes: 1 addition & 1 deletion activemq/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion activemq/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.activemq'],
Expand Down
2 changes: 1 addition & 1 deletion activemq_xml/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.9"]
python = ["2.7", "3.11"]
version = ["5.11.1"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion activemq_xml/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion activemq_xml/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.activemq_xml'],
Expand Down
2 changes: 1 addition & 1 deletion aerospike/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mypy-args = [
]

[[envs.default.matrix]]
python = ["2.7", "3.9"]
python = ["2.7", "3.11"]
version = ["4", "5.0", "5.3", "5.6"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion aerospike/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion aerospike/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def parse_pyproject_array(name):
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.aerospike'],
Expand Down
2 changes: 1 addition & 1 deletion airflow/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.9"]
python = ["2.7", "3.11"]
version = ["2.1", "2.6"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion airflow/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion airflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def parse_pyproject_array(name):
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.airflow'],
Expand Down
2 changes: 1 addition & 1 deletion amazon_msk/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.9"]
python = ["2.7", "3.11"]

[envs.default.env-vars]
DDEV_SKIP_GENERIC_TAGS_CHECK = "true"
2 changes: 1 addition & 1 deletion amazon_msk/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion amazon_msk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.amazon_msk'],
Expand Down
2 changes: 1 addition & 1 deletion ambari/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["2.7", "3.9"]
python = ["2.7", "3.11"]
2 changes: 1 addition & 1 deletion ambari/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion ambari/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def parse_pyproject_array(name):
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.ambari'],
Expand Down
2 changes: 1 addition & 1 deletion apache/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.9"]
python = ["2.7", "3.11"]
version = ["2.4.27"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion apache/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion apache/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.apache'],
Expand Down
2 changes: 1 addition & 1 deletion arangodb/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.9"]
python = ["3.11"]
version = ["3.8"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion arangodb/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.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion argocd/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
DDEV_SKIP_GENERIC_TAGS_CHECK = "true"

[[envs.default.matrix]]
python = ["3.9"]
python = ["3.11"]
version = ["2.4.7"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion argocd/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.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion aspdotnet/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ platforms = [
]

[[envs.default.matrix]]
python = ["2.7", "3.9"]
python = ["2.7", "3.11"]
2 changes: 1 addition & 1 deletion aspdotnet/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion aspdotnet/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def parse_pyproject_array(name):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.aspdotnet'],
Expand Down
2 changes: 1 addition & 1 deletion avi_vantage/hatch.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[env.collectors.datadog-checks]

[[envs.default.matrix]]
python = ["3.9"]
python = ["3.11"]
2 changes: 1 addition & 1 deletion avi_vantage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
4 changes: 2 additions & 2 deletions azure_iot_edge/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ mypy-args = [
]

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

[[envs.default.matrix]]
python = ["2.7", "3.9"]
python = ["2.7", "3.11"]
protocol = ["tls"]

[envs.default.overrides]
Expand Down
2 changes: 1 addition & 1 deletion azure_iot_edge/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",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
2 changes: 1 addition & 1 deletion azure_iot_edge/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def parse_pyproject_array(name):
'Topic :: System :: Monitoring',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11',
],
# The package we're going to ship
packages=['datadog_checks.azure_iot_edge'],
Expand Down
Loading

0 comments on commit 14dfe71

Please sign in to comment.