-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from punch-mission/develop
Fix pydantic validation
- Loading branch information
Showing
6 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
# version stuff copied from https://stackoverflow.com/a/17638236 | ||
from pkg_resources import get_distribution, DistributionNotFound | ||
import os.path | ||
# version guidance from https://stackoverflow.com/a/56331414 | ||
from importlib.metadata import version | ||
|
||
try: | ||
_dist = get_distribution('punchpipe') | ||
# Normalize case for Windows systems | ||
dist_loc = os.path.normcase(_dist.location) | ||
here = os.path.normcase(__file__) | ||
if not here.startswith(os.path.join(dist_loc, 'punchpipe')): | ||
# not installed, but there is another version that *is* | ||
raise DistributionNotFound | ||
except DistributionNotFound: | ||
__version__ = 'Please install punchpipe project with setup.py' | ||
else: | ||
__version__ = _dist.version | ||
__version__ = version("punchpipe") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import pytest | ||
from pytest_mock_resources import MysqlConfig | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def pmr_mysql_config(): | ||
return MysqlConfig(image='mariadb:latest') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import pytest | ||
from pytest_mock_resources import MysqlConfig | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def pmr_mysql_config(): | ||
return MysqlConfig(image='mariadb:latest') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
git+ssh://[email protected]/punch-mission/punchbowl.git#egg=punchbowl | ||
prefect | ||
pydantic | ||
git+ssh://[email protected]/punch-mission/punchbowl.git#egg=punchbowl | ||
pydantic==1.10.12 | ||
pymysql | ||
sqlalchemy | ||
pyyaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters