Skip to content

Commit

Permalink
Bumped latest Python test version to 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed Nov 4, 2024
1 parent 234ede0 commit 3b9c4cc
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/publish_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e

echo "isVUnit: $isVUnit"

cd $(dirname "$0")/../.tox/py312-docs/tmp/docsbuild/
cd $(dirname "$0")/../.tox/py313-docs/tmp/docsbuild/
touch .nojekyll
git init

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Run coverage
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Install dependencies
run: |
pip install -U pip --progress-bar off
pip install -U virtualenv tox --progress-bar off
- name: Build docs
run: tox -e py312-docs -- --color
run: tox -e py313-docs -- --color

- uses: actions/upload-artifact@v4
with:
name: VUnit-site
path: .tox/py312-docs/tmp/docsbuild/
path: .tox/py313-docs/tmp/docsbuild/

- name: '🚀 Publish site'
if: github.event_name != 'pull_request' && github.ref_name == 'master'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: '🐍 Setup Python'
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: '🐍 Install dependencies'
run: |
pip install -U pip --progress-bar off
pip install -U virtualenv tox --progress-bar off
- name: '🐍 Run black'
run: tox -e py312-fmt -- --diff --color
run: tox -e py313-fmt -- --diff --color

#
# Linux linting and unit tests
Expand All @@ -48,9 +48,9 @@ jobs:
fail-fast: false
matrix:
include:
- { py: '3.12' , task: 312-lint }
- { py: '3.13' , task: 313-lint }
- { py: '3.7' , task: 37-unit }
- { py: '3.12' , task: 312-unit }
- { py: '3.13' , task: 313-unit }
name: '🐧 Ubuntu · ${{ matrix.task }}'
steps:

Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
fail-fast: false
matrix:
task: [
{do: 312-acceptance, tag: llvm},
{do: 312-vcomponents, tag: mcode},
{do: 313-acceptance, tag: llvm},
{do: 313-vcomponents, tag: mcode},
]
name: '🛳️ Container · ${{ matrix.task.do }} · ${{ matrix.task.tag }}'
steps:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- name: '🐍 Setup Python'
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: '🐍 Install dependencies'
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ underlines = ["-", "~"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{36,37,38,39,310,311,312}-{fmt,unit,lint,docs}, py{36,37,38,39,310,311,312}-{acceptance,vcomponents}-{activehdl,ghdl,modelsim,nvc,rivierapro}, py{36,37,38,39,310,311,312}-coverage
envlist = py{36,37,38,39,310,311,312,313}-{fmt,unit,lint,docs}, py{36,37,38,39,310,311,312,313}-{acceptance,vcomponents}-{activehdl,ghdl,modelsim,nvc,rivierapro}, py{36,37,38,39,310,311,312,313}-coverage
isolated_build = True
[testenv]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def find_all_files(directory, endings=None):
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
Expand Down

0 comments on commit 3b9c4cc

Please sign in to comment.