-
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.
🏗️ Maintenance week 48: requirements tooling refactor and library upg…
…rades (#2005) * lists of requirement to test different setups * Upgrades sqlalchemy patch * Upgrades prometheous-client to 0.9.0 * Sets a global constraints file unders requirements/constraints.txt for all repo * Fixed target dependencies in sidecar/requirements makefile * Upgrades aiohttp in the entire repo * Moved reqs docs, tools and base makefile under requirements folder * Renamed reqs listings * Downgrades webserver's aiohttp==3.6.3 since test_access_to_studies cookie_jar fails to return auth cookie with aiohttp==3.7.X. Needs further investigation * updated ownership and doc
- Loading branch information
Showing
96 changed files
with
272 additions
and
155 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,27 +1,32 @@ | ||
# Maps code in repository with maintainers | ||
# Order is important. The last matching pattern has the most precedence. | ||
# SEE https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners#example-of-a-codeowners-file | ||
|
||
|
||
# files and folders recursively | ||
Makefile @pcrespov, @sanderegg | ||
.codeclimate.yml @sanderegg, @pcrespov | ||
.travis.yml @sanderegg | ||
|
||
# NOTE: '/' denotes the root of the repository | ||
/api/ @sanderegg, @pcrespov | ||
/ci/ @sanderegg, @pcrespov | ||
/docs/ @pcrespov | ||
/packages/pytest-simcore @pcrespov, @sanderegg | ||
/packages/models-library @sanderegg, @pcrespov | ||
/packages/service-library @pcrespov | ||
/scripts/demo @odeimaiz, @pcrespov | ||
/packages/pytest-simcore/ @pcrespov, @sanderegg | ||
/packages/models-library/ @sanderegg, @pcrespov | ||
/packages/service-library/ @pcrespov | ||
/requirements/ @pcrespov | ||
/scripts/demo/ @odeimaiz, @pcrespov | ||
/scripts/json-schema-to-openapi-schema @sanderegg | ||
/scripts/template-projects @odeimaiz, @pcrespov | ||
/services/api-server @pcrespov | ||
/services/director* @sanderegg, @pcrespov | ||
/services/catalog @pcrespov, @sanderegg | ||
/services/migration @pcrespov | ||
/services/sidecar @pcrespov, @mguidon | ||
/services/web/client @odeimaiz, @oetiker, @ignapas | ||
/services/web/server @pcrespov | ||
/services/storage @mguidon | ||
/scripts/template-projects/ @odeimaiz, @pcrespov | ||
/services/api-server/ @pcrespov | ||
/services/director*/ @sanderegg, @pcrespov | ||
/services/catalog/ @pcrespov, @sanderegg | ||
/services/migration/ @pcrespov | ||
/services/sidecar/ @pcrespov, @mguidon | ||
/services/web/client/ @odeimaiz, @oetiker, @ignapas | ||
/services/web/server/ @pcrespov | ||
/services/storage/ @mguidon | ||
|
||
requirements/* @pcrespov | ||
tools/* @pcrespov |
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,3 +1,4 @@ | ||
-c ../../requirements/constraints.txt | ||
|
||
# testing | ||
coverage | ||
|
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,6 +1,6 @@ | ||
# | ||
# Targets to pip-compile requirements | ||
# | ||
include ../../../scripts/requirements.Makefile | ||
include ../../../requirements/base.Makefile | ||
|
||
# Add here any extra explicit dependency: e.g. _migration.txt: _base.txt |
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,5 +1,6 @@ | ||
# | ||
# Specifies third-party dependencies for 'models-library' | ||
# | ||
-c ../../../requirements/constraints.txt | ||
|
||
pydantic[email] |
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,3 +1,4 @@ | ||
-c ../../../requirements/constraints.txt | ||
-c _base.txt | ||
-c _test.txt | ||
|
||
|
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,6 +1,6 @@ | ||
# | ||
# Targets to pip-compile requirements | ||
# | ||
include ../../../scripts/requirements.Makefile | ||
include ../../../requirements/base.Makefile | ||
|
||
_migration.txt: _base.txt |
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,5 +1,7 @@ | ||
# | ||
# Specifies third-party dependencies for 'simcore-postgres-database' | ||
# | ||
sqlalchemy[postgresql_psycopg2binary]>=1.3.3 # binary + Vulnerability | ||
-c ../../../requirements/constraints.txt | ||
|
||
sqlalchemy[postgresql_psycopg2binary] | ||
yarl |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
-c ../../../requirements/constraints.txt | ||
-c _base.txt | ||
-c _test.txt | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Include these tools for test coverage | ||
# | ||
pytest-cov | ||
coveralls | ||
coverage | ||
codecov |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Include this libraries for mocking | ||
# | ||
|
||
pytest-mock | ||
faker | ||
mock |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Essential testing libraries and some additional plugins | ||
# | ||
pytest | ||
|
||
# enhances tests logs | ||
pytest-icdiff | ||
pytest-instafail | ||
pytest-sugar | ||
|
||
# enhances test runs | ||
pytest-xdist | ||
pytest-runner # TODO: check if REQUIRED ANYMORE ??? | ||
|
||
# adds functionality | ||
pytest-lazy-fixture | ||
|
||
|
||
# support testing features built on frameworks | ||
# pytest-docker | ||
# pytest-celery |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# Requirements to test aiohttp-specific services | ||
# | ||
pytest-aiohttp # incompatible with pytest-asyncio. See https://github.com/pytest-dev/pytest-asyncio/issues/76 | ||
|
||
# fixtures | ||
aioresponses |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Requirements to test fastapi-specific services | ||
# | ||
|
||
# fixtures | ||
asgi_lifespan | ||
# [https://github.com/encode/httpx/releases/tag/0.15.0] due to PR#1285 [https://github.com/encode/httpx/pull/1285] | ||
respx<0.13.0 |
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,6 +1,6 @@ | ||
# | ||
# Targets to pip-compile requirements | ||
# | ||
include ../../../scripts/requirements.Makefile | ||
include ../../../requirements/base.Makefile | ||
|
||
# Add here any extra explicit dependency: e.g. _migration.txt: _base.txt |
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,5 +1,7 @@ | ||
# | ||
# Specifies third-party dependencies for 's3wrapper' | ||
# | ||
urllib3>=1.25.8 # Vulnerability | ||
-c ../../../requirements/constraints.txt | ||
|
||
urllib3 | ||
minio |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
-c ../../../requirements/constraints.txt | ||
-c _base.txt | ||
-c _test.txt | ||
|
||
|
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,6 +1,6 @@ | ||
# | ||
# Targets to pip-compile requirements | ||
# | ||
include ../../../scripts/requirements.Makefile | ||
include ../../../requirements/base.Makefile | ||
|
||
# Add here any extra explicit dependency: e.g. _migration.txt: _base.txt |
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
Oops, something went wrong.