-
Notifications
You must be signed in to change notification settings - Fork 1
Use poetry #9
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
Use poetry #9
Conversation
7604abf to
8ca87ef
Compare
.circleci/config.yml
Outdated
| name: Install deps | ||
| command: apt update && apt upgrade && apt install -y curl gcc libc-dev libffi-dev | ||
| - run: | ||
| name: Install poetry | ||
| command: "curl -sSL https://install.python-poetry.org | python3 - && \ | ||
| echo 'export PATH=/root/.local/bin:${PATH}' >> \"$BASH_ENV\" && \ | ||
| source \"$BASH_ENV\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per https://python-poetry.org/docs/#ci-recommendations, I think we should:
- lock to a specific version of poetry
- install it elsewhere so that we don't have to update PATH
Same in the docker-compose-test.yaml file
docker-compose-test.yaml
Outdated
| - network | ||
|
|
||
| test: | ||
| image: python:3.8-alpine3.18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a good reason to use different image in "lint" (python:3.8.18-slim-bullseye) and in test (python:3.8-alpine3.18) jobs?
* Use cimg image. * Remove unused
pyproject.toml
Outdated
| ] | ||
| description = "Python server SDK for the Jellyfish media server" | ||
| version = "0.1.0" | ||
| description = "\"Python server SDK for the Jellyfish media server\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| description = "\"Python server SDK for the Jellyfish media server\"" | |
| description = "Python server SDK for the Jellyfish media server" |
blazpie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.