-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* weekly requirement upgrades for packages: - yarl PR#1836 - pytest PR #1835 - pytest-docker PR #1834 : removes constraints on attrs. Both upgraded in all services as well! - docker-compose to 1.27.4 * Now pip-compile is done from a docker container instead of the developer host. Added draft of dev-container and used to pip-compile reqs:
- Loading branch information
Showing
30 changed files
with
170 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
# root | ||
.*/ | ||
ancillary/ | ||
docs/ | ||
ops/ | ||
|
||
# Docker | ||
**/Dockerfile | ||
**/docker-compose* | ||
|
||
# Byte-compiled / optimized / DLL files | ||
**/__pycache__ | ||
*.py[cod] | ||
|
||
# virtualenv | ||
.venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,3 +158,4 @@ prof/ | |
services/**/.codeclimate.yml | ||
# WSL | ||
.fake_hostname_file | ||
.bash_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ pydantic | |
tenacity | ||
trafaret-config | ||
|
||
attrs<20,>=19 # from pytest-docker==0.8.0 | ||
attrs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
# NOTE: This is a first step towards a devcontainer | ||
# to perform operations like pip-compile or auto-formatting | ||
# that preserves identical environment across developer machines | ||
# | ||
ARG PYTHON_VERSION="3.6.10" | ||
FROM python:${PYTHON_VERSION}-slim-buster as base | ||
|
||
|
||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends\ | ||
make \ | ||
git \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& apt-get clean | ||
|
||
|
||
RUN pip --no-cache-dir install --upgrade \ | ||
pip~=20.2.2 \ | ||
wheel \ | ||
setuptools | ||
|
||
|
||
# devenv | ||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
|
||
|
||
WORKDIR /work | ||
|
||
# .dockerignore to include only target folders | ||
# mount osparc-simcore -> /work | ||
# cd script | ||
# make reqs | ||
RUN pip install \ | ||
black \ | ||
isort \ | ||
pip-tools \ | ||
bump2version \ | ||
rope |
Oops, something went wrong.