Skip to content

Commit

Permalink
Bump python version support
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantodorovich committed Dec 12, 2024
1 parent 6449c0b commit 930b233
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
6 changes: 1 addition & 5 deletions odoo_tools/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@
import configparser
import shutil
import subprocess
from importlib.resources import files

PKG_NAME = "odoo_tools"
try:
from importlib.resources import files
except ImportError:
# py < 3.9
from importlib_resources import files


def get_file_path(filepath):
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ dependencies = [
"cookiecutter",
"click>=8.1",
"towncrier",
"importlib_resources; python_version < '3.9'",
"bump2version",
"requirements-parser>=0.8.0",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dynamic = ["version"]

[project.urls]
Expand Down

0 comments on commit 930b233

Please sign in to comment.