2024-02-20 14:44:15 -03:00
|
|
|
babel==2.12.1
|
|
|
|
|
beautifulsoup4==4.12.2
|
|
|
|
|
celery[redis]==5.3.1
|
2024-09-04 10:54:40 -06:00
|
|
|
cryptography==43.0.1
|
2024-08-09 16:30:50 -04:00
|
|
|
django==4.2.15
|
2024-02-20 14:44:15 -03:00
|
|
|
django-add-default-value==0.10.0
|
|
|
|
|
django-amazon-ses==4.0.1
|
2024-08-13 17:51:18 -03:00
|
|
|
django-anymail==11.1
|
2024-02-20 14:44:15 -03:00
|
|
|
django-cors-headers==3.7.0
|
|
|
|
|
# pyroscope-io==0.8.1
|
|
|
|
|
django-dbconn-retry==0.1.7
|
|
|
|
|
django-debug-toolbar==4.1
|
|
|
|
|
django-deprecate-fields==0.1.1
|
|
|
|
|
django-filter==2.4.0
|
|
|
|
|
django-ipware==4.0.2
|
|
|
|
|
django-log-request-id==1.6.0
|
|
|
|
|
django-migration-linter==4.1.0
|
|
|
|
|
django-mirage-field==1.3.0
|
|
|
|
|
django-mysql==4.6.0
|
|
|
|
|
django-polymorphic==3.1.0
|
|
|
|
|
django-ratelimit==2.0.0
|
|
|
|
|
django-redis==5.4.0
|
|
|
|
|
django-rest-polymorphic==0.1.10
|
|
|
|
|
django-silk==5.0.3
|
|
|
|
|
django-sns-view==0.1.2
|
2024-08-09 19:06:43 +00:00
|
|
|
djangorestframework==3.15.2
|
2024-02-20 14:44:15 -03:00
|
|
|
factory-boy<3.0
|
|
|
|
|
drf-spectacular==0.26.5
|
|
|
|
|
emoji==2.4.0
|
2024-03-05 14:31:58 +08:00
|
|
|
# If the version of grpcio is changed
|
|
|
|
|
# upload a new arm64 wheel instead of /engine/grpcio-1.57.0-cp311-cp311-linux_aarch64.whl
|
2024-06-10 15:33:37 -04:00
|
|
|
grpcio==1.64.1
|
2024-02-20 14:44:15 -03:00
|
|
|
fcm-django @ https://github.com/grafana/fcm-django/archive/refs/tags/v1.0.12r1.tar.gz#sha256=7ec7cd9d353fc9edf19a4acd4fa14090a31d83d02ac986c5e5e081dea29f564f
|
|
|
|
|
hiredis==2.2.3
|
2024-08-13 17:51:18 -03:00
|
|
|
humanize==4.10.0
|
2024-02-20 14:44:15 -03:00
|
|
|
icalendar==5.0.10
|
2024-06-10 15:33:37 -04:00
|
|
|
lxml==5.2.2
|
2024-02-20 14:44:15 -03:00
|
|
|
markdown2==2.4.10
|
2024-08-20 15:06:54 -04:00
|
|
|
opentelemetry-sdk==1.26.0
|
|
|
|
|
opentelemetry-api==1.26.0
|
|
|
|
|
opentelemetry-exporter-otlp-proto-grpc==1.26.0
|
|
|
|
|
opentelemetry-instrumentation-logging==0.47b0
|
|
|
|
|
opentelemetry-instrumentation-wsgi==0.47b0
|
|
|
|
|
opentelemetry-instrumentation-requests==0.47b0
|
|
|
|
|
opentelemetry-instrumentation-django==0.47b0
|
2024-02-20 14:44:15 -03:00
|
|
|
phonenumbers==8.10.0
|
|
|
|
|
prometheus_client==0.16.0
|
|
|
|
|
psutil==5.9.4
|
|
|
|
|
psycopg2==2.9.3
|
|
|
|
|
pymdown-extensions==10.0
|
2024-05-22 16:11:02 +00:00
|
|
|
PyMySQL==1.1.1
|
2024-02-20 14:44:15 -03:00
|
|
|
python-telegram-bot==13.13
|
|
|
|
|
recurring-ical-events==2.1.0
|
|
|
|
|
redis==5.0.1
|
|
|
|
|
regex==2021.11.2
|
Fix missing `setuptools` dep (#4799)
# What this PR does
_tldr;_ I think we should install `setuptools` into our engine
`Dockerfile` + in our CI env because Python 3.12 no longer installs
`distutils` by default. This should unblock us from being able to merge
#4656 and #4555.
**More details**
I would like to be able to merge #4656 and #4555. _However_, in both of
these PRs `setuptools` is being removed from `requirements-dev.txt`
([here](https://github.com/grafana/oncall/pull/4555/files#diff-d8146d0816a943b0fa69a20399d7bbdb58e1c84c8b7933b2ba6dea7c10c410f5L113-L116)
and
[here](https://github.com/grafana/oncall/pull/4656/files#diff-d8146d0816a943b0fa69a20399d7bbdb58e1c84c8b7933b2ba6dea7c10c410f5L113-L116)).
This leads to things breaking because of:
```bash
File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/site-packages/polymorphic/__init__.py", line 9, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
```
-
https://github.com/grafana/oncall/actions/runs/9865348392/job/27242117474?pr=4555#step:5:98
-
https://github.com/grafana/oncall/actions/runs/10078898966/job/27864920455?pr=4656#step:5:100
Python 3.12 made a change to no longer pre-install `distutils`
([relevant release
notes](https://docs.python.org/3/whatsnew/3.12.html#:~:text=The%20third%2Dparty%20Setuptools%20package%20continues%20to%20provide%20distutils%2C%20if%20you%20still%20require%20it%20in%20Python%203.12%20and%20beyond)):
> [PEP 632](https://peps.python.org/pep-0632/): Remove the distutils
package. See [the migration
guide](https://peps.python.org/pep-0632/#migration-advice) for advice
replacing the APIs it provided. The third-party
[Setuptools](https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html)
package continues to provide distutils, if you still require it in
Python 3.12 and beyond.
>
> [gh-95299](https://github.com/python/cpython/issues/95299): Do not
pre-install setuptools in virtual environments created with
[venv](https://docs.python.org/3/library/venv.html#module-venv). This
means that distutils, setuptools, pkg_resources, and easy_install will
no longer available by default; to access these run pip install
setuptools in the
[activated](https://docs.python.org/3/library/venv.html#venv-explanation)
virtual environment.
Additionally, `setuptools` is in `pip-tools` `UNSAFE_PACKAGES` list
([related GitHub
issue](https://github.com/pypa/pipenv/issues/1417#issuecomment-364795745)),
hence why I think Dependabot is removing it in #4656 and #4555.
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
show up in the autogenerated release notes.
2024-08-09 16:09:47 -04:00
|
|
|
requests==2.32.3
|
2024-02-20 14:44:15 -03:00
|
|
|
slack-export-viewer==1.1.4
|
|
|
|
|
slack_sdk==3.21.3
|
2024-04-24 16:45:48 -03:00
|
|
|
social-auth-app-django==5.4.1
|
2024-02-20 14:44:15 -03:00
|
|
|
twilio~=6.37.0
|
2024-08-09 16:30:38 -04:00
|
|
|
urllib3==1.26.19
|
2024-06-10 15:33:37 -04:00
|
|
|
uwsgi==2.0.26
|
2024-02-20 14:44:15 -03:00
|
|
|
whitenoise==5.3.0
|
2024-04-02 14:59:03 -04:00
|
|
|
google-api-python-client==2.122.0
|
|
|
|
|
google-auth-httplib2==0.2.0
|
|
|
|
|
google-auth-oauthlib==1.2.0
|
2024-08-20 10:29:01 -04:00
|
|
|
# we are manually pinning idna to 3.7 to fix CVE-2024-3651
|
|
|
|
|
# requests==2.32.3 is installing idna==3.6 but supports idna>=2.5,<4
|
|
|
|
|
# https://github.com/psf/requests/blob/v2.32.3/setup.py#L63
|
|
|
|
|
idna==3.7
|