Skip to content

Commit

Permalink
update python versions for the templates to 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 5, 2024
1 parent 9f9e134 commit c3c5674
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion babelizer/data/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"ci": {
"os": ["ubuntu", "macos", "windows"],
"python_version": ["3.7", "3.8", "3.9"]
"python_version": ["3.10", "3.11", "3.12"]
},
"package_name": "package",
"package_requirements": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.12

- name: Lint
run: |
pip install flake8
flake8 {{ cookiecutter.package_name }}
pip install nox
nox -s lint
6 changes: 4 additions & 2 deletions babelizer/data/{{cookiecutter.package_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ classifiers=[
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
requires-python = ">=3.10"
keywords=["bmi", "pymt"]
dynamic = ["readme", "version"]
dependencies = [
Expand Down

0 comments on commit c3c5674

Please sign in to comment.