After updating meltano to version 1.96.0 we are st...
# troubleshooting
c
After updating meltano to version 1.96.0 we are still having an issue with itsdangerous. The error we are getting is:
flask 1.1.4 requires itsdangerous<2.0,>=0.24, but you'll have itsdangerous 2.1.0 which is incompatible.
Has anyone else seen this behavior after updating meltano?
e
Hi @chris_marchetti! We may still need to pin more dependencies... I'm curious, how did you update Meltano? Did you use
meltano upgrade
or pip?
c
We are installing inside a docker container as part of a github action using pip.
e
as per my Juju Charm which instantiates Meltano.. I have to add the following constraints to the python env
Copy code
pip3 install itsdangerous==1.1.0 
pip3 install importlib-metadata==4.4
pip3 install cryptography==3.4.8
pip3 install zipp==3.1.0

pip3 install meltano poetry
https://gitlab.com/jrgemcp-public/charms/meltano-charm/-/blob/main/hooks/install#L19-25
e
thanks for sharing @emcp! I'm guessing the incompatible dependency might be brought by other package installed in the same venv as Meltano, so I'd recommend installing Meltano in an isolated venv:
Copy code
$ python3.9 -m venv test-install

$ source test-install/bin/activate
(test-install) > $ pip install meltano==1.96.0
...

$ which meltano
/Users/edgarramirez/Code/test-install/bin/meltano

$ meltano --version
meltano, version 1.96.0
We might end up doing something similar to Airflow's approach
a
@edward_ryan - I’m actually running into the same issue within fresh gitpod workspces, both within and without venv’s
adding those pre-installs (from @emcp above) worked.. oddly enough so does running:
Copy code
pip3 install meltano # errors 
pip3 install meltano # success!
u
I had the same issue with the following configs on a fresh installation. Ubuntu 20.04 Python 3.8.10
Copy code
pip3 install meltano
Copy code
.... 
ERROR: flask 1.1.4 has requirement itsdangerous<2.0,>=0.24, but you'll have itsdangerous 2.1.2 which is incompatible.
....
Copy code
pip3 uninstall meltano
....
pip3 install meltano
....
Installing collected packages: meltano, itsdangerous
  Attempting uninstall: itsdangerous
    Found existing installation: itsdangerous 2.1.2
    Uninstalling itsdangerous-2.1.2:
      Successfully uninstalled itsdangerous-2.1.2
Successfully installed itsdangerous-1.1.0 meltano-1.101.0