Skip to content

Commit 8760874

Browse files
committed
Fix Singer integration (upload our fork to PyPI + remove the logging.conf loading from PyInstaller since we don't actually use Singer's library any more)
1 parent deff3ba commit 8760874

File tree

3 files changed

+28
-26
lines changed

3 files changed

+28
-26
lines changed

poetry.lock

+21-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ sodapy = ">=2.1"
3232
# Extra requirements for Pandas ingestion
3333
pandas = {version = ">=0.24", extras = ["ingestion"], optional = true }
3434
sqlalchemy = { version = "^1.3", extras = ["ingestion"], optional = true }
35-
pipelinewise-target-postgres = {git = "https://github.com/splitgraph/pipelinewise-target-postgres.git"}
35+
36+
# Fork of pipelinewise-target-postgres without dep pinning so that we can use it as a library
37+
splitgraph-pipelinewise-target-postgres = ">=2.1.0"
3638

3739

3840
[tool.poetry.dev-dependencies]

splitgraph.spec

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import importlib
1010
block_cipher = None
1111

1212
datas = []
13-
for package, files in [("singer", ["logging.conf"])]:
14-
proot = os.path.dirname(importlib.import_module(package).__file__)
15-
datas.extend((os.path.join(proot, f), package) for f in files)
13+
# Commented out, here for reference (adding extra package files to PyInstaller)
14+
# for package, files in [("singer", ["logging.conf"])]:
15+
# proot = os.path.dirname(importlib.import_module(package).__file__)
16+
# datas.extend((os.path.join(proot, f), package) for f in files)
1617

1718
a = Analysis(['bin/sgr'],
1819
pathex=['.'],

0 commit comments

Comments
 (0)