diff options
author | Martin Czygan <martin@archive.org> | 2021-10-28 17:10:18 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2021-10-28 17:10:18 +0000 |
commit | 615439df4955ca19bf3fdfa10b41b7d8950b3e63 (patch) | |
tree | 07113024c75e673517c98055e9e5e61d7af97613 | |
parent | 478d7d06ad9e56145cb94f3461c355b1ba9eb491 (diff) | |
parent | b9f43f58be717ab56bb3c07691c422e88da997c9 (diff) | |
download | fuzzycat-615439df4955ca19bf3fdfa10b41b7d8950b3e63.tar.gz fuzzycat-615439df4955ca19bf3fdfa10b41b7d8950b3e63.zip |
Merge branch 'bnewbold-tweaks' into 'master'
tweaks to deps and packaging; add files,contribs in live match release lookups
See merge request webgroup/fuzzycat!8
-rw-r--r-- | fuzzycat/matching.py | 2 | ||||
-rw-r--r-- | fuzzycat/py.typed | 0 | ||||
-rw-r--r-- | setup.py | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py index bcda46d..b358899 100644 --- a/fuzzycat/matching.py +++ b/fuzzycat/matching.py @@ -207,7 +207,7 @@ def retrieve_entity_list( if entity_type == ReleaseEntity: for id in ids: try: - re = api.get_release(id, hide="refs,abstracts", expand="container") + re = api.get_release(id, hide="refs,abstracts", expand="container,contribs,files") result.append(re) except ApiException as exc: if exc.status == 404: diff --git a/fuzzycat/py.typed b/fuzzycat/py.typed new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/fuzzycat/py.typed @@ -15,6 +15,7 @@ with open("README.md", "r") as fh: long_description_content_type="text/markdown", url="https://github.com/miku/fuzzycat", packages=setuptools.find_packages(), + package_data={"fuzzycat": ["py.typed"]}, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", @@ -27,8 +28,9 @@ with open("README.md", "r") as fh: ]}, install_requires=[ "dynaconf>=3", - "elasticsearch-dsl>=7.0.0,<8.0.0", - "fatcat-openapi-client>=0.3.3", # https://pypi.org/project/fatcat-openapi-client/ + "elasticsearch>=7.8.0,<7.14.0", + "elasticsearch-dsl>=7.0.0,<8.0.0", + "fatcat-openapi-client>=0.4.0", # https://pypi.org/project/fatcat-openapi-client/ "ftfy", "glom", "jellyfish", |