Running into an issue that just started yesterday ...
# troubleshooting
s
Running into an issue that just started yesterday while trying to install tap-sharepointsites from the github repo. This is the command I'm running
meltano install extractor tap-sharepointsites
and this is my yml config:
Copy code
- name: tap-sharepointsites
    variant: storebrand
    pip_url: git+<https://github.com/storebrand/tap-sharepointsites.git|https://github.com/storebrand/tap-sharepointsites.git>
I'm getting the following error which seems to indicate pip 0.24.1 (released yesterday) is the issue:
Copy code
Requested textract<2.0.0,>=1.6.4 from <https://files.pythonhosted.org/packages/6b/3e/ac16b6bf28edf78296aea7d0cb416b49ed30282ac8c711662541015ee6f3/textract-1.6.5-py3-none-any.whl|https://files.pythonhosted.org/packages/6b/3e/ac16b6bf28edf78296aea7d0cb416b49ed30282ac8c711662541015ee6f3/textract-1.6.5-py3-none-any.whl> (from tap-sharepointsites==1.2.0) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
    extract-msg (<=0.29.*)
                 ~~~~~~~^
Please use pip<24.1 if you need to use this version.
Is there a way to have
meltano install
use a specific version of pip (eg 24.0)? I tried a clean install of tap-sharepointsites outside of meltano with pip 24.0 and it works whereas installing with 24.1 throws the same error, so I'm pretty sure the new version of pip is the issue here
h
Hmmm… this is basically an issue with textract, and there is even an issue on the repo (issue 476) about this. Perhaps the best solution is to make a fork and rip out the textract part if you don’t need it (it is kind of an edge thing).
s
got it makes sense, ended up doing this