michael_horvath
07/24/2023, 8:52 PM-m pip install 'SomePackage[PDF] @ git+<https://git.repo/SomePackage@main#somehash>'
However, I'm having a hard time getting the single quotes to remain when putting this in the pip_url of meltano.json:
pip_url: 'SomePackage[PDF] @ git+<https://git.repo/SomePackage@main#somehash>'
Extractor 'SomePackage' could not be installed: failed to install plugin 'SomePackage'.
ERROR: Invalid requirement: '@'edgar_ramirez_mondragon
07/24/2023, 9:37 PMpip_url: "'SomePackage[PDF] @ git+<https://git.repo/SomePackage@main#somehash|https://git.repo/SomePackage@main#somehash>'"
i.e. wrapping it in double quotesedgar_ramirez_mondragon
07/25/2023, 1:36 AMchintan_patel
07/25/2023, 12:13 PMpip_url: 's3fs>=2023.5.0 fs-s3fs>=1.1.1 git+<https://github.com/MeltanoLabs/tap-universal-file.git>'
chintan_patel
07/25/2023, 12:15 PM@
It will not work because in cli source code It just splitting the input by space. Check this. https://github.com/meltano/meltano/blob/987c71c0ff3348b79c8151caa7fdbf84e8a49757/src/meltano/core/plugin_install_service.py#L505michael_horvath
07/25/2023, 12:44 PMERROR: Invalid requirement: "'SomePackage[PDF]"
Looking at the code Chintan pointed out, it doesn't look like there is currently a way to make this work. The pip_url doesn't expect quotes. I think it requires a pull request to use https://docs.python.org/3/library/shlex.html insteadmichael_horvath
07/25/2023, 1:39 PMedgar_ramirez_mondragon
07/25/2023, 4:58 PM