Skip to content

Commit b227e12

Browse files
authored
Merge pull request ReproNim#38 from ReproNim/enh/py-version
remove 3.7, add 3.11 & 3.12
2 parents 105489b + 7f378ec commit b227e12

File tree

5 files changed

+1038
-424
lines changed

5 files changed

+1038
-424
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
reproschema/_version.py export-subst

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [macos-latest, ubuntu-latest]
19-
python-version: [3.7, 3.8, 3.9, "3.10"]
19+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies

reproschema/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ def set_logger_level(lgr, level):
4545
lgr.warning(
4646
"Failed to check for a more recent version available with etelemetry: %s", exc
4747
)
48+
49+
from . import _version
50+
51+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)