2019-01-22 20:25:04 +00:00
|
|
|
#
|
2023-04-28 08:13:46 +00:00
|
|
|
# This file is autogenerated by pip-compile with Python 3.10
|
2023-01-17 10:58:39 +00:00
|
|
|
# by the following command:
|
2019-01-22 20:25:04 +00:00
|
|
|
#
|
2023-07-21 10:45:12 +00:00
|
|
|
# pip-compile requirements/base.in
|
2019-01-22 20:25:04 +00:00
|
|
|
#
|
2021-02-04 08:31:48 +00:00
|
|
|
appdirs==1.4.4
|
|
|
|
# via -r requirements/base.in
|
2023-06-06 13:30:37 +00:00
|
|
|
cachetools==5.3.1
|
2021-02-04 08:31:48 +00:00
|
|
|
# via google-auth
|
2023-06-06 13:30:37 +00:00
|
|
|
certifi==2023.5.7
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# kubernetes
|
|
|
|
# requests
|
2023-06-06 13:30:37 +00:00
|
|
|
charset-normalizer==3.1.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
click==8.1.3
|
2021-04-13 20:14:43 +00:00
|
|
|
# via -r requirements/base.in
|
2023-06-06 13:30:37 +00:00
|
|
|
google-auth==2.19.1
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
idna==3.4
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
jinja2==3.1.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2023-02-27 07:41:02 +00:00
|
|
|
kubernetes==26.1.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2023-06-06 13:30:37 +00:00
|
|
|
markupsafe==2.1.3
|
2021-06-02 13:16:32 +00:00
|
|
|
# via jinja2
|
2023-06-06 13:30:37 +00:00
|
|
|
mypy==1.3.0
|
2021-07-01 19:35:26 +00:00
|
|
|
# via -r requirements/base.in
|
2023-02-09 10:57:26 +00:00
|
|
|
mypy-extensions==1.0.0
|
2021-02-25 08:09:14 +00:00
|
|
|
# via mypy
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
oauthlib==3.2.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via requests-oauthlib
|
2023-06-06 13:30:37 +00:00
|
|
|
pyasn1==0.5.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# pyasn1-modules
|
|
|
|
# rsa
|
2023-06-06 13:30:37 +00:00
|
|
|
pyasn1-modules==0.3.0
|
2021-07-01 19:35:26 +00:00
|
|
|
# via google-auth
|
2023-06-06 13:30:37 +00:00
|
|
|
pycryptodome==3.18.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via -r requirements/base.in
|
2021-09-23 04:10:05 +00:00
|
|
|
python-dateutil==2.8.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
2021-10-25 18:18:07 +00:00
|
|
|
pyyaml==6.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# -r requirements/base.in
|
|
|
|
# kubernetes
|
2023-06-06 13:30:37 +00:00
|
|
|
requests==2.31.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
|
|
|
# kubernetes
|
|
|
|
# requests-oauthlib
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
requests-oauthlib==1.3.1
|
2021-07-01 19:35:26 +00:00
|
|
|
# via kubernetes
|
feat: strongly typed hooks
Now that the mypy bugs have been resolved, we are able to define more precisely
and cleanly the types of Actions and Filters.
Moreover, can now strongly type named actions and hooks (in consts.py). With
such a strong typing, we get early alerts of hooks called with incorrect
arguments, which is nothing short of awesome :)
This change breaks the hooks API by removing the `context=...` argument. The
reason for that is that we cannot insert arbitrary arguments between `P.args,
P.kwargs`: https://peps.python.org/pep-0612/#the-components-of-a-paramspec
> A function declared as def inner(a: A, b: B, *args: P.args, **kwargs:
> P.kwargs) -> R has type Callable[Concatenate[A, B, P], R]. Placing
> keyword-only parameters between the *args and **kwargs is forbidden.
Getting the documentation to build in nitpicky mode is quite difficult... We
need to add `nitpick_ignore` to the docs conf.py, otherwise sphinx complains
about many missing class references. This, despite upgrading almost all doc
requirements (except docutils).
2022-10-06 10:05:01 +00:00
|
|
|
rsa==4.9
|
2021-02-04 08:31:48 +00:00
|
|
|
# via google-auth
|
2021-05-12 08:01:50 +00:00
|
|
|
six==1.16.0
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
2021-10-25 18:18:07 +00:00
|
|
|
# google-auth
|
2021-02-04 08:31:48 +00:00
|
|
|
# kubernetes
|
|
|
|
# python-dateutil
|
2022-02-15 17:44:05 +00:00
|
|
|
tomli==2.0.1
|
2021-02-25 08:09:14 +00:00
|
|
|
# via mypy
|
2023-06-06 13:30:37 +00:00
|
|
|
typing-extensions==4.6.3
|
2023-01-17 10:58:39 +00:00
|
|
|
# via
|
|
|
|
# -r requirements/base.in
|
|
|
|
# mypy
|
2023-06-06 13:30:37 +00:00
|
|
|
urllib3==1.26.16
|
2021-02-04 08:31:48 +00:00
|
|
|
# via
|
2023-06-06 13:30:37 +00:00
|
|
|
# google-auth
|
2021-02-04 08:31:48 +00:00
|
|
|
# kubernetes
|
|
|
|
# requests
|
2023-06-06 13:30:37 +00:00
|
|
|
websocket-client==1.5.2
|
2021-02-04 08:31:48 +00:00
|
|
|
# via kubernetes
|
Improve job running in local and k8s
Running jobs was previously done with "exec". This was because it
allowed us to avoid copying too much container specification information
from the docker-compose/deployments files to the jobs files. However,
this was limiting:
- In order to run a job, the corresponding container had to be running.
This was particularly painful in Kubernetes, where containers are
crashing as long as migrations are not correctly run.
- Containers in which we need to run jobs needed to be present in the
docker-compose/deployments files. This is unnecessary, for example when
mysql is disabled, or in the case of the certbot container.
Now, we create dedicated jobs files, both for local and k8s deployment.
This introduces a little redundancy, but not too much. Note that
dependent containers are not listed in the docker-compose.jobs.yml file,
so an actual platform is still supposed to be running when we launch the
jobs.
This also introduces a subtle change: now, jobs go through the container
entrypoint prior to running. This is probably a good thing, as it will
avoid forgetting about incorrect environment variables.
In k8s, we find ourselves interacting way too much with the kubectl
utility. Parsing output from the CLI is a pain. So we need to switch to
the native kubernetes client library.
2020-03-25 17:47:36 +00:00
|
|
|
|
|
|
|
# The following packages are considered to be unsafe in a requirements file:
|
|
|
|
# setuptools
|