My pipeline started to fail (with no code change):...
# troubleshooting
j
My pipeline started to fail (with no code change):
Copy code
#10 36.27 Extractor 'tap-salesforce' could not be installed: failed to install plugin 'tap-salesforce'.
#10 36.27   Running command git clone --filter=blob:none --quiet <https://github.com/MeltanoLabs/tap-salesforce.git> /tmp/pip-req-build-c0woy5nd
#10 36.27   WARNING: Built wheel for tap-salesforce is invalid: Metadata 1.2 mandates PEP 440 version, but 'meltano.1.5.0' is not
#10 36.27 ERROR: Could not build wheels for tap-salesforce, which is required to install pyproject.toml-based projects
I install Meltano 2.17.0 and:
Copy code
plugins:
  extractors:
  - name: tap-salesforce
    variant: meltanolabs
    pip_url: git+<https://github.com/MeltanoLabs/tap-salesforce.git>
Any clue what can cause this? I did not find any new changes in tap-salesforce repo...
Happens in virtualenv as well. Tried to downgrade meltano to 2.16/2.15, does not help
e
we are seeing the same behaviour (on meltano 1.105 with tap-salesforce v1.5) since saturday (april 15th)… so far I was not able to track down any changes that could be causing this 🤔
j
This is really strange. I switched to my older fork, from which I pushed few commits to the upstream and its installation is failing with the same error!
I tried to install it directly from my local tap-salesforce folder:
Copy code
(.venv) jacek@holly:~/work/src/tap-salesforce$ python setup.py install
/home/jacek/work/src/panther-internal-analytics/.venv/lib/python3.10/site-packages/setuptools/dist.py:561: UserWarning: The version specified ('meltano.1.5.0') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  warnings.warn(
running install
/home/jacek/work/src/panther-internal-analytics/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/jacek/work/src/panther-internal-analytics/.venv/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
/home/jacek/work/src/panther-internal-analytics/.venv/lib/python3.10/site-packages/setuptools/_normalization.py:93: SetuptoolsDeprecationWarning: Invalid version: 'meltano.1.5.0'.
        !!


        ###################
        # Invalid version #
        ###################
        'meltano.1.5.0' is not valid according to PEP 440.

        Please make sure specify a valid version for your package.
        Also note that future releases of setuptools may halt the build process
        if an invalid version is given.
        

!!
Creating a pull request
p
My hero 🙌