Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e471a8a

Browse files
authored
Merge pull request #245 from vkurup/tooling-updates
Python and tooling updates
2 parents 12d1fca + e026627 commit e471a8a

10 files changed

Lines changed: 48 additions & 30 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v3
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,32 @@ jobs:
1313
pre-commit:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v3
18-
- uses: pre-commit/[email protected]
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: |
20+
3.9
21+
3.10
22+
3.11
23+
3.12
24+
3.13
25+
- uses: pre-commit/[email protected]
1926

2027
tox:
2128
runs-on: ubuntu-latest
2229
strategy:
2330
matrix:
2431
# tox-gh-actions will only run the tox environments which match the currently
2532
# running python-version. See [gh-actions] in tox.ini for the mapping
26-
python-version: [3.7, 3.8, 3.9, "3.10"]
33+
python-version: [ 3.9, "3.10", "3.11", "3.12", "3.13"]
2734
steps:
28-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
2936
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v3
37+
uses: actions/setup-python@v5
3138
with:
3239
python-version: ${{ matrix.python-version }}
3340
- name: Cache pip
34-
uses: actions/cache@v2
41+
uses: actions/cache@v4
3542
with:
3643
path: ~/.cache/pip
3744
key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }}

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ repos:
1515
- id: trailing-whitespace
1616

1717
- repo: https://github.com/psf/black
18-
rev: 22.3.0
18+
rev: 25.1.0
1919
hooks:
2020
- id: black
2121

2222
- repo: https://github.com/pycqa/isort
23-
rev: 5.6.4
23+
rev: 5.13.2
2424
hooks:
2525
- id: isort
2626

27-
- repo: https://gitlab.com/pycqa/flake8
28-
rev: 4.0.1
27+
- repo: https://github.com/pycqa/flake8
28+
rev: 7.1.2
2929
hooks:
3030
- id: flake8

.python-version

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
3.10.4
2-
3.9.9
3-
3.8.12
4-
3.7.12
1+
3.9.21
2+
3.10.16
3+
3.11.11
4+
3.12.9
5+
3.13.2

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGES
22
=======
33

4+
v2.4.0, 2025-03-15
5+
----------------
6+
7+
* Python updates
8+
9+
410
v2.3.0, 2022-07-31
511
----------------
612

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2022, Vinod Kurup
1+
Copyright (c) 2013-2025, Vinod Kurup
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

dev-requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
. # <- install ourselves
2-
coverage==6.3.3
3-
flake8==4.0.1
4-
pre-commit==2.19.0
5-
tox==3.25.0
6-
tox-gh-actions==2.9.1
2+
coverage==7.6.12
3+
flake8==7.1.2
4+
pre-commit==4.1.0
5+
setuptools==76.0.0
6+
tox==4.24.2
7+
tox-gh-actions==3.3.0

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import find_packages, setup
22

3-
__version__ = "2.3.0"
3+
__version__ = "2.4.0"
44

55
setup(
66
name="python-tcxparser",
@@ -22,10 +22,11 @@
2222
"Operating System :: OS Independent",
2323
"Programming Language :: Python",
2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.7",
26-
"Programming Language :: Python :: 3.8",
2725
"Programming Language :: Python :: 3.9",
2826
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
"Topic :: Software Development :: Libraries :: Python Modules",
3031
],
3132
install_requires=[

tcxparser/tcxparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"Simple parser for Garmin TCX files."
2+
23
import time
34
from datetime import timedelta
45

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[tox]
2-
envlist = py37, py38, py39, py310, coverage
2+
envlist = py39, py310, py311, py312, py313, coverage
33

44
[gh-actions]
55
python =
6-
3.7: py37
7-
3.8: py38
86
3.9: py39
9-
3.10: py310, coverage
7+
3.10: py310
8+
3.11: py311
9+
3.12: py312
10+
3.13: py313, coverage
1011

1112
[testenv:coverage]
1213
deps = coverage

0 commit comments

Comments
 (0)