Skip to content

Commit

Permalink
databridges library needs to be released by WFP to pypi as direct ref…
Browse files Browse the repository at this point in the history
…erences aren't allowed

Remove dependency for now
  • Loading branch information
mcarans committed Mar 1, 2024
1 parent 4236d7e commit f4bee43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 39 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ Homepage = "https://github.com/OCHA-DAP/hdx-python-country"
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
dev = ["pre-commit"]
wfp = ["data-bridges-client@git+https://github.com/WFP-VAM/DataBridgesAPI@dev#egg=data-bridges-client"]
#wfp = ["data-bridges-client@git+https://github.com/WFP-VAM/DataBridgesAPI@dev#egg=data-bridges-client"]


#########
# Hatch #
#########

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

# Build

Expand All @@ -80,7 +80,7 @@ version_scheme = "python-simplified-semver"
# Tests

[tool.hatch.envs.test]
features = ["test", "wfp"]
features = ["test"]#, "wfp"]

[tool.hatch.envs.test.scripts]
test = """
Expand Down
41 changes: 6 additions & 35 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@
#
annotated-types==0.6.0
# via pydantic
anyio==4.3.0
# via httpx
attrs==23.2.0
# via
# frictionless
# jsonlines
# jsonschema
certifi==2024.2.2
# via
# httpcore
# httpx
# requests
# via requests
cfgv==3.4.0
# via pre-commit
chardet==5.2.0
Expand All @@ -29,11 +24,7 @@ click==8.1.7
colorama==0.4.6
# via typer
coverage[toml]==7.4.3
# via
# coverage
# pytest-cov
data-bridges-client @ git+https://github.com/WFP-VAM/DataBridgesAPI@dev
# via hdx-python-country (pyproject.toml)
# via pytest-cov
distlib==0.3.8
# via virtualenv
et-xmlfile==1.1.0
Expand All @@ -42,23 +33,14 @@ filelock==3.13.1
# via virtualenv
frictionless==5.16.1
# via hdx-python-utilities
h11==0.14.0
# via httpcore
hdx-python-utilities==3.6.5
# via hdx-python-country (pyproject.toml)
httpcore==1.0.4
# via httpx
httpx==0.27.0
# via data-bridges-client
humanize==4.9.0
# via frictionless
identify==2.5.35
# via pre-commit
idna==3.6
# via
# anyio
# httpx
# requests
# via requests
ijson==3.2.3
# via hdx-python-utilities
iniconfig==2.0.0
Expand Down Expand Up @@ -106,9 +88,7 @@ ply==3.11
pre-commit==3.6.2
# via hdx-python-country (pyproject.toml)
pydantic==2.6.3
# via
# data-bridges-client
# frictionless
# via frictionless
pydantic-core==2.16.3
# via pydantic
pygments==2.17.2
Expand All @@ -125,7 +105,6 @@ pytest-cov==4.1.0
# via hdx-python-country (pyproject.toml)
python-dateutil==2.8.2
# via
# data-bridges-client
# frictionless
# hdx-python-utilities
# libhxl
Expand Down Expand Up @@ -163,10 +142,6 @@ six==1.16.0
# via
# isodate
# python-dateutil
sniffio==1.3.1
# via
# anyio
# httpx
stringcase==1.2.0
# via frictionless
structlog==24.1.0
Expand All @@ -178,12 +153,9 @@ tabulate==0.9.0
text-unidecode==1.3
# via python-slugify
typer[all]==0.9.0
# via
# frictionless
# typer
# via frictionless
typing-extensions==4.10.0
# via
# data-bridges-client
# frictionless
# pydantic
# pydantic-core
Expand All @@ -192,9 +164,8 @@ unidecode==1.3.8
# via
# libhxl
# pyphonetics
urllib3==2.0.7
urllib3==2.2.1
# via
# data-bridges-client
# libhxl
# requests
validators==0.22.0
Expand Down

0 comments on commit f4bee43

Please sign in to comment.