Skip to content

Commit

Permalink
fixing for 3.12 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Jun 20, 2024
1 parent 33fb190 commit fa4e3c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ develop:
python3 setup.py develop

editable:
python3 -m pip install -e .
python3 -m pip install -e . --break-system-packages

install_test_requirements:
python3 -m pip install -r requirements_test.txt
python3 -m pip install -r requirements_test.txt --break-system-packages

install:
python3 setup.py install
Expand Down
5 changes: 2 additions & 3 deletions aiscot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
except ImportError:
from importlib.resources import files

DEFAULT_MID_DB_FILE = files("aiscot").joinpath(_DEFAULT_MID_DB_FILE).name
DEFAULT_SHIP_DB_FILE = files("aiscot").joinpath(_DEFAULT_SHIP_DB_FILE).name

DEFAULT_MID_DB_FILE = str(files("aiscot").joinpath(_DEFAULT_MID_DB_FILE))
DEFAULT_SHIP_DB_FILE = str(files("aiscot").joinpath(_DEFAULT_SHIP_DB_FILE))

if bool(os.environ.get("DEBUG")):
LOG_LEVEL = logging.DEBUG
Expand Down

0 comments on commit fa4e3c2

Please sign in to comment.