Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Python version from py3.8 to py3.9 #14701

Merged
merged 9 commits into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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.8"
PYTHON_VERSION: "3.9"

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

- name: Check changelog label
run: python .github/workflows/changelog-label-check.py
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.8'
python-version: '3.9'

- 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.8'
python-version: '3.9'

- 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-ddev.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.8'
python-version: '3.9'

- 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.8'
python-version: '3.9'

- 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.8'
python-version: '3.9'

- 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 @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-22.04

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

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
runs-on: ${{ fromJson(inputs.runner) }}

env:
PYTHON_VERSION: "${{ inputs.python-version || '3.8' }}"
PYTHON_VERSION: "${{ inputs.python-version || '3.9' }}"
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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["3.9"]
version = ["2.15.0"]
compose-file = ["artemis.yaml"]

[[envs.default.matrix]]
python = ["3.8"]
python = ["3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]
version = ["v1", "v2"]

[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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]

[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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8"]
python = ["3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8',
'Programming Language :: Python :: 3.9',
],
# 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.8"]
python = ["3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"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.8"]
python = ["2.7", "3.9"]

[[envs.default.matrix]]
python = ["2.7", "3.8"]
python = ["2.7", "3.9"]
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.8",
"Programming Language :: Python :: 3.9",
"Topic :: System :: Monitoring",
"Private :: Do Not Upload",
]
Expand Down
Loading