has anyone else run into an issue with python3.9 +...
# troubleshooting
d
has anyone else run into an issue with python3.9 + meltano 1.79.0 where
PIP_INDEX_URL
is suddenly being ignored?
I should note that it works as expected with python3.8 + meltano 1.79.0, so I imagine its either python3.9 related or an interaction between python3.9 and meltano 1.79.0
e
Hi @david_wallace! I'm not able to reproduce this bug
Copy code
$ meltano-personal git:(main) ✗ meltano --version
meltano, version 1.79.0

$ meltano-personal git:(main) ✗ python --version
Python 3.9.6

$ PIP_INDEX_URL=<https://pypi.python.org/simple> meltano --log-level info install extractor tap-github
Installing 1 plugins...
Installing extractor 'tap-github'...
Installed extractor 'tap-github'

$ PIP_INDEX_URL=<https://test.pypi.org/simple> meltano --log-level info install extractor tap-github
Installing 1 plugins...
Installing extractor 'tap-github'...
Extractor 'tap-github' could not be installed: failed to install plugin 'tap-github'.
ERROR: Could not find a version that satisfies the requirement tap-github (from versions: none)
ERROR: No matching distribution found for tap-github
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
You should consider upgrading via the '/Users/edgarramirez/Code/meltano-personal/.meltano/extractors/tap-github/venv/bin/python -m pip install --upgrade pip' command.

Failed to install plugin(s)
The
PIP_INDEX_URL
environment variable does seem to be used. @florian.hines could this be related to https://gitlab.com/meltano/meltano/-/merge_requests/2256?
d
there is a chance it could be related to certain tap dependencies. Let me turn some knobs and circle back
f
@edgar_ramirez_mondragon if it was related to the
MELTANO__PYTHON_VERSION
change I think i’d expect it to impact other python versions too, but @david_wallace mentioned python3.8 + meltano 1.79.0 seemed ok.
e
@florian.hines thanks, makes sense 🙏
f
fwiw - poking around, I also can’t reproduce it.
d
my current hypothesis is that its due to the singer-sdk not being compatible with python 3.9
Im totally guessing but its the only thing I can come up with right now
e
@david_wallace ah that'd make sense. Any tap built with the SDK wouldn't be compatible with Python 3.9. @aaronsteers @taylor what do you about prioritizing https://gitlab.com/meltano/sdk/-/issues/66?
t
Yeah I think it makes sense! I added to the next milestone, but we can pull it up if it's quick.