Skip to content

Commit

Permalink
Update for PyPi requirement (#602)
Browse files Browse the repository at this point in the history
* checkpoint

* Update version support

* No longer support 3.8

* Don't need setup.py anymore

* Update for PyPi

---------

Co-authored-by: Joshua <joshua-oss@users.noreply.github.com>
  • Loading branch information
joshua-oss and joshua-oss authored Jul 30, 2024
1 parent 3957ffe commit 564170d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion synth/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ torch = {version = ">=2.2.0", optional = true}
pac-synth = "^0.0.8"
smartnoise-sql = "^1.0.4"
Faker = ">=17.0.0"
private-pgm = { git = "https://github.com/ryan112358/private-pgm.git", rev = "01f02f17eba440f4e76c1d06fa5ee9eed0bd2bca" }

[tool.poetry.dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion synth/snsynth/aim/aim.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
try:
from mbi import FactoredInference, Dataset, Domain, GraphicalModel
except ImportError:
print("Please install mbi with:\n pip install git+https://github.com/ryan112358/private-pgm.git")
print("Please install mbi with:\n pip install git+https://github.com/ryan112358/private-pgm.git@01f02f17eba440f4e76c1d06fa5ee9eed0bd2bca")

import itertools
from snsynth.base import Synthesizer
Expand Down
2 changes: 1 addition & 1 deletion synth/snsynth/mst/mst.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
try:
from mbi import FactoredInference, Dataset, Domain
except ImportError:
print("Please install mbi with:\n pip install git+https://github.com/ryan112358/private-pgm.git")
print("Please install mbi with:\n pip install git+https://github.com/ryan112358/private-pgm.git@01f02f17eba440f4e76c1d06fa5ee9eed0bd2bca")
raise ImportError
from scipy import sparse
from disjoint_set import DisjointSet
Expand Down

0 comments on commit 564170d

Please sign in to comment.