Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Switch to Poetry /OR/ pin all the dependencies #273

Open
7 tasks
nolar opened this issue Dec 16, 2019 · 0 comments
Open
7 tasks

Switch to Poetry /OR/ pin all the dependencies #273

nolar opened this issue Dec 16, 2019 · 0 comments
Labels
automation CI/CD: testing, linting, releasing automatically

Comments

@nolar
Copy link
Contributor

nolar commented Dec 16, 2019

Context:

I am getting annoyed by permanent CI/CD failures due to external releases, sometimes happening every few days in a row:

Goal

  • Switch to Poetry for CI/CD dependencies.
  • Lock all the dependencies' versions.
  • Establish the auto-upgrade via the automatic PR creation & testing.

Optional (go the full journey with Poetry):

  • Build & upload with Poetry instead of twine/setuptools.
  • Detect versions from GitHub releases (previously done by setuptools_scm).

See python-poetry/poetry#366 for suggestions on the Poetry CI/CD templates (all of them use the virtualenv installation though, which is recommended to not be used).


Plan B:

  • Just pin all the dependencies in requirements.txt (manually).
  • But still establish an auto-upgrader.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automation CI/CD: testing, linting, releasing automatically
Projects
None yet
Development

No branches or pull requests

1 participant