bitter-orange-16997
11/27/2024, 2:14 PMgenerate-lockfiles
fail with No distribution metadata found for seqeval==1.2.2
).
I've found a couple of matches while searching through the channel's history but it did not look like there was a definitive fix.
Does anyone have any idea where I can look for one?bitter-orange-16997
11/27/2024, 2:56 PM$ git clone <https://github.com/chakki-works/seqeval.git>
$ cd seqeval
Apply this patch:
diff --git a/setup.py b/setup.py
index bd36f8f..954f353 100644
--- a/setup.py
+++ b/setup.py
@@ -26,11 +26,12 @@ required = ['numpy>=1.14.0', 'scikit-learn>=0.21.3']
setup(
name=NAME,
- use_scm_version=True,
- setup_requires=['setuptools_scm'],
- description=DESCRIPTION,
- long_description=long_description,
- long_description_content_type='text/markdown',
+ version="1.2.4",
+ # use_scm_version=True,
+ # setup_requires=['setuptools_scm'],
+ #description=DESCRIPTION,
+ #long_description=long_description,
+ #long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
url=URL,
Generate the wheel:
$ python setup.py bdist_wheel
Internalize and rely on this wheel
In `pants.toml`:
[python-repos]
find_links = ["file://%(buildroot)s/3rdparty/python/wheels"]
In `3rdparty/python/requirements-foo.txt`:
seqeval==1.2.2
Grab your wheel file:
$ cp ../seqeval/dist/seqeval-1.2.2-py3-none-any.whl 3rdparty/python/wheels