Skip to content

Commit db59842

Browse files
emdnetoxrmx
andauthored
Drop Python 3.9 support (open-telemetry#5076)
* Drop python 3.9 support Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix exporter requirements.txt Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * do not skip in pypy+windows Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * pin requirements Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * pin based on py version Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * revert argument name * fix broken links in README.md Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix sdk configuration models Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * fix codegen and opentelemetry-proto-json Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * add changelo Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * remove helper script to fix typealias for datamodel-codegen Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * revert proto-json version Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * Apply suggestion from @emdneto * Apply suggestion from @xrmx --------- Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
1 parent 0540847 commit db59842

57 files changed

Lines changed: 1099 additions & 2614 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
1111
Before filing a bug, please be sure you have searched through [existing bugs](https://github.com/open-telemetry/opentelemetry-python/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug) to see if your bug is already addressed.
1212
If your bug is related to an instrumentation or plugin in [opentelemetry-python-contrib](https://github.com/open-telemetry/opentelemetry-python-contrib) please be sure to file it there.
13-
13+
1414
- type: textarea
1515
id: environment
1616
attributes:
@@ -19,10 +19,10 @@ body:
1919
Please describe any aspect of your environment relevant to the problem, including your Python version, [platform](https://docs.python.org/3/library/platform.html), version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.
2020
value: |
2121
OS: (e.g, Ubuntu)
22-
Python version: (e.g., Python 3.9.10)
22+
Python version: (e.g., Python 3.10.0)
2323
SDK version: (e.g., 1.25.0)
2424
API version: (e.g., 1.25.0)
25-
25+
2626
- type: textarea
2727
attributes:
2828
label: What happened?

.github/workflows/generate_workflows.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515
_tox_lint_env_regex = re_compile(r"lint-(?P<name>[-\w]+)")
1616
_tox_contrib_env_regex = re_compile(
17-
r"py39-test-(?P<name>[-\w]+\w)-?(?P<contrib_requirements>\d+)?"
17+
r"py310-test-(?P<name>[-\w]+\w)-?(?P<contrib_requirements>\d+)?"
1818
)
1919

2020

@@ -47,8 +47,7 @@ def get_test_job_datas(tox_envs: list, operating_systems: list) -> list:
4747
os_alias = {"ubuntu-latest": "Ubuntu", "windows-latest": "Windows"}
4848

4949
python_version_alias = {
50-
"pypy3": "pypy-3.9",
51-
"py39": "3.9",
50+
"pypy3": "pypy-3.10",
5251
"py310": "3.10",
5352
"py311": "3.11",
5453
"py312": "3.12",

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
# next few steps publish to pypi
7575
- uses: actions/setup-python@v5
7676
with:
77-
python-version: '3.9'
77+
python-version: '3.10'
7878

7979
- name: Build wheels
8080
run: ./scripts/build.sh

0 commit comments

Comments
 (0)