If I upgraded to meltano 17, does `discovery.yml` ...
# announcements
p
If I upgraded to meltano 17, does
discovery.yml
should also be in
version 17
? Is this something I need do change manually or is this a known bug?
d
@parash_upreti Are you seeing any incompatibility warnings? The Meltano version (1.71.0) and
discovery.yml
version (17) are not incremented at the same time, but the latest Meltano should always be compatible with the latest discovery.yml
p
yes
Copy code
Updating files managed by plugins...
[2021-03-30 11:41:50,943] [29204|MainThread|root] [WARNING] The `discovery.yml` manifest received from <https://www.meltano.com/discovery.yml> has version 17, while this version of Meltano requires version 16.
[2021-03-30 11:41:50,943] [29204|MainThread|root] [WARNING] Please install the latest compatible version of Meltano using `meltano upgrade`.
[2021-03-30 11:41:50,943] [29204|MainThread|root] [WARNING] Falling back on the cached `discovery.yml` manifest...
d
What version of Meltano are you on?
meltano --version
p
Well when i first set up meltano, it was on 16. I have run
meltano upgrade
since
when i run a elt here are the warnings
Copy code
meltano | The `discovery.yml` manifest received from <https://www.meltano.com/discovery.yml> has version 17, while this version of Meltano requires version 16.
d
Can you show me the result of
meltano --version
? The most recent version is 1.71.0 and I expect you're on an older version
p
meltano, version 1.67.0
d
Ah 🙂 Have you run
meltano upgrade
recently?
p
yes, That is the output i sent first
d
Ah OK, that's odd, it sounds like it was not able to install the latest version of the
meltano
PyPI package
p
Copy code
➜ meltano upgrade
Upgrading `meltano` package...
Requirement already satisfied: meltano in /Users/pupreti/Documents/projects/meltano_test/venv/lib/python3.9/site-packages (1.67.0)
Requirement already satisfied: pyhocon<0.4.0,>=0.3.51 in /Users/pupreti/Documents/projects/meltano_test/venv/lib/python3.9/site-packages (from meltano) (0.3.57)
d
Can you run
pip install --upgrade meltano
?
p
my homebrew auto updated to python 3.9 last week. do you have known issue with new python version?
ran pip update, still on 1.67
d
Ah yes, 3.9 is not supported yet: https://gitlab.com/meltano/meltano/-/issues/2545
That's probably why it sticks with 1.67 and doesn't upgrade
I suggest running with Python 3.8 and installing the latest
meltano
p
ah ok.. do you have a quick tutorial on rolling back from python 3.9 to 3.8 and then pinning that version on homebrew?
d
You can leave 3.9 installed system-wide, and then use pyenv to install multiple versions side by side, so that you can use 3.8 with Meltano and 3.9 with anything else: https://github.com/pyenv/pyenv#homebrew-on-macos
p
thanks