-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to catch dev dependencies that actually need to be included in the distributed presentations of Meltano? #6277
Comments
Export the lockfile from from poetry to pin deps in a requirements.txt as part of the release process? 🤔 |
@z3z1ma Yeah, I agree that I particularly like the |
@pandemicsyn and @edgarrmondragon - What do you think of this being a part of At least when running in CI, we could use a pipx-installed version of Meltano instead of the Poetry-installed one. |
Probably a better discussion for #6218, but sounds fine - at some point we'd probably want a test mirroring the contributor guide which might end up using poetry. |
The SDK had this exact issue in the |
Just got bit by this with
packaging
in #6276:It's a transitive dependency required by
tox
, buttox
is only a dev dependency. So, in CI tests, things look good because dev dependencies are installed bypoetry install
. But, when meltano is installed from an upstream source or by another tool likepipx
, which is the case in end-to-end tests here (pipx install ..
), then the transitive dev dependencypackaging
is not installed and errors are encountered: https://gitlab.com/meltano/legacy-ci/meltano/-/jobs/2632994539#L1237.I guess one easy way to ensure we don't fall in that scenario is to have tests that don't rely on Poetry to install Meltano.
The text was updated successfully, but these errors were encountered: