Skip to content
Snippets Groups Projects
Commit c7ad1e63 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't use deprecated resolver anymore

parent 23da953e
No related branches found
No related tags found
1 merge request!294Fix pip requirements
Pipeline #35711 passed
...@@ -13,8 +13,8 @@ variables: ...@@ -13,8 +13,8 @@ variables:
stage: test stage: test
before_script: before_script:
- apt-get update && apt-get install -y --allow-unauthenticated libsasl2-dev libssl-dev locales locales-all - apt-get update && apt-get install -y --allow-unauthenticated libsasl2-dev libssl-dev locales locales-all
- pip install --use-deprecated=legacy-resolver -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ - pip install -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/
- pip install --use-deprecated=legacy-resolver -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ - pip install -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/
test_postgres: test_postgres:
<<: *test_definition <<: *test_definition
...@@ -89,8 +89,8 @@ build_debian: ...@@ -89,8 +89,8 @@ build_debian:
- curl -sL https://deb.nodesource.com/setup_14.x | bash - - curl -sL https://deb.nodesource.com/setup_14.x | bash -
- DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs - DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
- pip install --use-deprecated=legacy-resolver -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ - pip install -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/
- pip install --use-deprecated=legacy-resolver -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ - pip install -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/
- export DEBFULLNAME="Piotr Gawron" - export DEBFULLNAME="Piotr Gawron"
- export DEBEMAIL="piotr.gawron@uni.lu" - export DEBEMAIL="piotr.gawron@uni.lu"
......
...@@ -4,7 +4,7 @@ RUN mkdir /code ...@@ -4,7 +4,7 @@ RUN mkdir /code
WORKDIR /code WORKDIR /code
RUN apt-get update && apt-get install -y --allow-unauthenticated libsasl2-dev libssl-dev locales locales-all RUN apt-get update && apt-get install -y --allow-unauthenticated libsasl2-dev libssl-dev locales locales-all
ADD requirements* /code/ ADD requirements* /code/
RUN pip install --use-deprecated=legacy-resolver -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ && pip install --use-deprecated=legacy-resolver -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ # --use-feature=2020-resolver RUN pip install -r requirements.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ && pip install -r requirements-dev.txt --default-timeout=180 -i https://pypi.lcsb.uni.lu/simple/ # --use-feature=2020-resolver
ADD . /code/ ADD . /code/
RUN cp local_settings_ci.py smash/smash/local_settings.py RUN cp local_settings_ci.py smash/smash/local_settings.py
WORKDIR /code/smash WORKDIR /code/smash
......
...@@ -27,7 +27,7 @@ python manage.py createsuperuser ...@@ -27,7 +27,7 @@ python manage.py createsuperuser
- `cd scheduling-system` - `cd scheduling-system`
- `virtualenv env` to create new virtualenv (contains clean python working environment) - `virtualenv env` to create new virtualenv (contains clean python working environment)
- `. env/bin/activate` (to start using virtualenv) - `. env/bin/activate` (to start using virtualenv)
- `pip install --use-deprecated=legacy-resolver -r requirements.txt` to install project's dependencies - `pip install -r requirements.txt` to install project's dependencies
- Create `local_settings.py` file in `(./scheduling-system)/smash/smash` directory by copying the template in `(./scheduling-system)/smash/smash/local_settings.template` and edit your local_setttings.py file to change your database connection data. - Create `local_settings.py` file in `(./scheduling-system)/smash/smash` directory by copying the template in `(./scheduling-system)/smash/smash/local_settings.template` and edit your local_setttings.py file to change your database connection data.
- Update migration db scrpit from file structure (`./scheduling-system/smash/manage.py makemigrations`) - Update migration db scrpit from file structure (`./scheduling-system/smash/manage.py makemigrations`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment