Skip to content

Commit 33b6613

Browse files
committed
Fix configs
1 parent 050133f commit 33b6613

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
python -m pip install --upgrade setuptools
3232
python -m pip install flake8 pytest
3333
pip install -r requirements.txt
34+
pip install . --use-feature=in-tree-build
3435
- name: Lint with flake8
3536
run: |
3637
# stop the build if there are Python syntax errors or undefined names

.github/workflows/python-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
python -m pip install --upgrade setuptools
30+
pip install . --use-feature=in-tree-build
3031
pip install build
3132
- name: Build package
3233
run: python -m build

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ env:
1414
before_install:
1515
- pip3 install --upgrade pip
1616
- pip3 install --upgrade setuptools
17-
1817
install:
1918
- pip install -r requirements.txt
2019
- pip install . --use-feature=in-tree-build

src/sqlalchemyseed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from .loader import load_entities_from_json
2828
from .loader import load_entities_from_yaml
2929
from .loader import load_entities_from_csv
30-
import importlib_metadata
30+
import importlib.metadata as importlib_metadata
3131

3232
__version__ = importlib_metadata.version('sqlalchemyseed')
3333

0 commit comments

Comments
 (0)