Skip to content
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 latest poetry version #76

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
05929e8
Use latest poetry version
filias Mar 13, 2023
eb6a9d4
Use a cimg/python which comes with poetry
filias Mar 13, 2023
525951b
Fix syntax
filias Mar 13, 2023
4d92956
Fix syntax
filias Mar 13, 2023
2166002
Try installing poetry 1.4
filias Mar 13, 2023
48c4ac3
Add verbose
filias Mar 13, 2023
04a8208
Try the official poetry installer
filias Mar 13, 2023
85a2193
Try uninstalling first
filias Mar 13, 2023
24f9cc5
Bypasss confirmation
filias Mar 13, 2023
cd5dbf6
Remove sudo
filias Mar 13, 2023
9ad4616
Use official installer with sudo
filias Mar 13, 2023
b7b06d1
Try removing the config file
filias Mar 13, 2023
976c3b0
Check the cofig
filias Mar 13, 2023
6c3ec61
Check the config
filias Mar 13, 2023
2758f1c
Try install with timeout
filias Mar 13, 2023
acd4a91
Try to install only the root project
filias Mar 13, 2023
5c82ad9
Try to install everything again
filias Mar 13, 2023
750f74a
Remove build-system section
filias Mar 13, 2023
2fa1bce
Try sudo
filias Mar 14, 2023
2cecea2
Update lock file
filias Mar 14, 2023
688a264
Add poetry version
filias Mar 14, 2023
e53a0cb
Try uninstalling with pip3
filias Mar 14, 2023
c6b8274
Bypass confirmation
filias Mar 14, 2023
dd70288
Install without sudo
filias Mar 14, 2023
0e18e74
Check where is poetry
filias Mar 14, 2023
b57be1c
Try without cache
filias Mar 14, 2023
6a8f342
Let poetry generate the lock file in ci
filias Mar 14, 2023
429a708
Use new convenience images and do not use cache
filias Mar 16, 2023
dedacad
Use existing version of postgres image
filias Mar 16, 2023
5c385ad
Reduce amount of dependencies
filias Mar 16, 2023
c9efdcf
Install only main dependencies
filias Mar 16, 2023
08fda7a
Try with no interaction
filias Mar 16, 2023
d4442a4
Try with no ansi
filias Mar 16, 2023
fbaa22b
Put back commented out steps
filias Mar 16, 2023
218670b
Remove install poetry step
filias Mar 16, 2023
f8cbb06
Limit sqlalchemy and python versions
filias Mar 16, 2023
29043bd
Update lock file
filias Mar 16, 2023
743fa4c
Do not remove the lock file
filias Mar 16, 2023
4c28db1
Silence sqlachemy 2.0 warnings
filias Mar 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ jobs:
build:
working_directory: ~/circleci
docker:
- image: circleci/python:3.8
- image: circleci/postgres:12
- image: cimg/python:3.8
- image: cimg/postgres:12.12
environment:
POSTGRES_USER: circleci
POSTGRES_DB: circleci
POSTGRES_HOST_AUTH_METHOD: trust
- image: circleci/mariadb:latest
- image: cimg/mariadb:10.11
environment:
MYSQL_DATABASE: circleci
MYSQL_USER: circleci
MYSQL_PASSWORD: ''
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'

environment:
SQLALCHEMY_SILENCE_UBER_WARNING: 1 # Silence sqlachemy 2.0 warnings
steps:
- checkout
- restore_cache:
Expand All @@ -32,17 +34,12 @@ jobs:
- run:
name: create mysql user
command: mysql circleci -u root -h 127.0.0.1 -e "create user 'circleci'@'127.0.0.1'; grant all privileges on *.* to 'circleci'@'127.0.0.1' identified by '';"
- run:
name: Install poetry
command: |
sudo pip3 install poetry>=1.0.0
poetry config virtualenvs.create false
- run:
command: |
python3 -m venv ~/.venv
. ~/.venv/bin/activate

poetry install
poetry config virtualenvs.create false
poetry install --no-ansi -vvv
- save_cache:
key: deps2-{{ .Branch }}-{{ checksum "pyproject.toml" }}
paths:
Expand Down
Loading