Skip to content

Commit

Permalink
Merge pull request avocado-framework#6095 from harvey0100/python13
Browse files Browse the repository at this point in the history
Python 13 Support
  • Loading branch information
richtja authored Jan 21, 2025
2 parents 311bbbc + 99c1e12 commit 6fe4b72
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0]
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0, 3.13.0]
fail-fast: false

steps:
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install setuptools on Python 3.12
- name: Install setuptools on Python >= 3.12
run: python3 -c 'import setuptools' || python3 -m pip install setuptools
- name: Avocado smokecheck
run: make smokecheck
Expand All @@ -72,7 +72,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0]
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0, 3.13.0]
fail-fast: false

steps:
Expand All @@ -89,7 +89,7 @@ jobs:
run: python -V --version
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Install setuptools on Python 3.12
- name: Install setuptools on Python >= 3.12
run: python3 -c 'import setuptools' || python3 -m pip install setuptools
- name: Installing Avocado in develop mode
run: python3 setup.py develop --user
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:

strategy:
matrix:
python-version: [3.9, 3.10.0, 3.11, 3.12.0]
python-version: [3.9, 3.10.0, 3.11, 3.12.0, 3.13.0]

steps:
- run: echo "Job triggered by a ${{ github.event_name }} event on branch is ${{ github.ref }} in repository is ${{ github.repository }}, runner on ${{ runner.os }}"
Expand All @@ -165,7 +165,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -V --version
- name: Install setuptools on Python 3.12
- name: Install setuptools on Python >= 3.12
run: python -c 'import setuptools' || python -m pip install setuptools
- name: Install avocado
run: python setup.py develop --user
Expand All @@ -184,7 +184,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0]
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0, 3.13.0]
fail-fast: false

steps:
Expand All @@ -193,7 +193,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install setuptools on Python 3.12
- name: Install setuptools on Python >= 3.12
run: python3 -c 'import setuptools' || python3 -m pip install setuptools
- name: Build tarballs and wheels
run: make -f Makefile.gh build-wheel check-wheel
Expand All @@ -211,7 +211,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0]
python-version: [3.8, 3.9, 3.10.0, 3.11, 3.12.0, 3.13.0]
fail-fast: false

steps:
Expand All @@ -220,7 +220,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install setuptools on Python 3.12
- name: Install setuptools on Python >= 3.12
run: python3 -c 'import setuptools' || python3 -m pip install setuptools
- name: Build eggs
run: make -f Makefile.gh build-egg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
needs: release
strategy:
matrix:
python-version: [3.8.16, 3.9.16, 3.10.9, 3.11.1, 3.12.0]
python-version: [3.8.16, 3.9.16, 3.10.9, 3.11.1, 3.12.0, 3.13.0]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion contrib/scripts/avocado-fetch-eggs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_avocado_egg_url(avocado_version=None, python_version=None):

def main():
configure_logging_settings()
for version in ["3.8", "3.9", "3.10", "3.11", "3.12"]:
for version in ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]:
url = get_avocado_egg_url(python_version=version)
try:
asset = Asset(url, cache_dirs=CACHE_DIRS)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ def run(self):
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
packages=find_packages(exclude=("selftests*",)),
include_package_data=True,
Expand Down

0 comments on commit 6fe4b72

Please sign in to comment.