Skip to content

Commit

Permalink
📌 Use flaxmodels from PyPI
Browse files Browse the repository at this point in the history
Installation from PyPI as PyPI packages can't have direct dependencies. "Invalid value for requires_dist. Error: Can't have direct dependency"
  • Loading branch information
alvarobartt committed Dec 24, 2022
1 parent 1b871c9 commit 1ecc777
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ Source = "https://github.com/alvarobartt/safejax"
[tool.hatch.version]
path = "src/safejax/__init__.py"

[tool.hatch.metadata]
allow-direct-references = true

[project.optional-dependencies]
quality = [
"black~=22.10.0",
Expand All @@ -48,7 +45,7 @@ quality = [
tests = [
"pytest~=7.1.2",
"pytest-lazy-fixture~=0.6.3",
"flaxmodels @ git+https://github.com/matthias-wright/flaxmodels.git",
"flaxmodels~=0.1.2",
]

[tool.hatch.envs.quality]
Expand Down

0 comments on commit 1ecc777

Please sign in to comment.