From ca208bef96ef93ac93744df2959a07ddea15d56f Mon Sep 17 00:00:00 2001 From: Adrien P Date: Fri, 28 Feb 2025 15:53:54 +0100 Subject: [PATCH] hush dependabot --- .github/workflows/modoboa.yml | 13 +- MANIFEST.in | 2 +- dev-requirements.txt | 311 --------------------------- doc/contributing/getting_started.rst | 3 +- docker/Dockerfile.dev | 16 +- ldap-requirements.txt | 258 ---------------------- mysql-requirements.txt | 249 --------------------- postgresql-requirements.txt | 252 ---------------------- requirements.txt | 247 --------------------- test-requirements.txt | 292 ------------------------- 10 files changed, 17 insertions(+), 1626 deletions(-) delete mode 100644 dev-requirements.txt delete mode 100644 ldap-requirements.txt delete mode 100644 mysql-requirements.txt delete mode 100644 postgresql-requirements.txt delete mode 100644 requirements.txt delete mode 100644 test-requirements.txt diff --git a/.github/workflows/modoboa.yml b/.github/workflows/modoboa.yml index 893468a62..e70890919 100644 --- a/.github/workflows/modoboa.yml +++ b/.github/workflows/modoboa.yml @@ -87,11 +87,7 @@ jobs: && sudo apt-get install -y \ postfix librrd-dev rrdtool libldap2-dev libsasl2-dev libssl-dev redis-server python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r ldap-requirements.txt - pip install -r test-requirements.txt - pip install -r dev-requirements.txt - pip install -e . + pip install -e .[ldap,test,dev] echo "Testing redis connection" redis-cli -h $REDIS_HOST -p $REDIS_PORT ping env: @@ -100,13 +96,13 @@ jobs: - name: Install postgres requirements if: ${{ matrix.database == 'postgres' }} run: | - pip install -r postgresql-requirements.txt + pip install -e .[postgresql] pip install coverage echo "DB=postgres" >> $GITHUB_ENV - name: Install mysql requirements if: ${{ matrix.database == 'mysql' }} run: | - pip install -r mysql-requirements.txt + pip install -e .[mysql] echo "DB=mysql" >> $GITHUB_ENV - name: Test with pytest if: ${{ matrix.python-version != '3.12' || matrix.database != 'postgres' }} @@ -199,7 +195,8 @@ jobs: - name: Build packages run: | sudo apt-get install librrd-dev rrdtool libssl-dev - python -m pip install --upgrade pip build + python -m pip install --upgrade pip build pip-tools + pip-compile -o requirements.txt pyproject.toml pip install -r requirements.txt cd modoboa django-admin compilemessages diff --git a/MANIFEST.in b/MANIFEST.in index 1274ad4a8..41cca873c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include README.rst CONTRIBUTING.rst LICENSE requirements.txt +include README.rst CONTRIBUTING.rst LICENSE include modoboa/admin/tests/dovecot recursive-include modoboa/frontend_dist * recursive-include modoboa *.html *.js *.css *.png *.po *.mo *.json *.gif *.ttf *.woff *.woff2 diff --git a/dev-requirements.txt b/dev-requirements.txt deleted file mode 100644 index f6e8209fc..000000000 --- a/dev-requirements.txt +++ /dev/null @@ -1,311 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=dev --output-file=dev-requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -astroid==3.3.8 - # via pylint -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -black==25.1.0 - # via modoboa (pyproject.toml) -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -cfgv==3.4.0 - # via pre-commit -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via - # black - # rq - # x-wr-timezone -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) - # pyopenssl -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -dill==0.3.9 - # via pylint -distlib==0.3.9 - # via virtualenv -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-bower - # django-ckeditor - # django-cors-headers - # django-debug-toolbar - # django-extensions - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-bower==5.2.0 - # via modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-debug-toolbar==5.0.1 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-extensions==3.2.3 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via - # tldextract - # virtualenv -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -identify==2.6.8 - # via pre-commit -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -isort==6.0.1 - # via pylint -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -markupsafe==3.0.2 - # via werkzeug -mccabe==0.7.0 - # via pylint -mypy-extensions==1.0.0 - # via black -nodeenv==1.9.1 - # via pre-commit -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -packaging==24.2 - # via black -passlib==1.7.4 - # via modoboa (pyproject.toml) -pathspec==0.12.1 - # via black -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -platformdirs==4.3.6 - # via - # black - # pylint - # virtualenv -pre-commit==4.1.0 - # via modoboa (pyproject.toml) -progressbar33==2.4 - # via modoboa (pyproject.toml) -pycparser==2.22 - # via cffi -pylint==3.3.4 - # via modoboa (pyproject.toml) -pyopenssl==25.0.0 - # via modoboa (pyproject.toml) -python-dateutil==2.9.0.post0 - # via - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via - # drf-spectacular - # pre-commit -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # django-bower - # python-dateutil - # vobject -sqlparse==0.5.3 - # via - # django - # django-debug-toolbar -tldextract==5.1.3 - # via modoboa (pyproject.toml) -tomlkit==0.13.2 - # via pylint -typing-extensions==4.12.2 - # via - # dj-database-url - # jwcrypto - # pyopenssl - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -virtualenv==20.29.2 - # via pre-commit -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -werkzeug==3.1.3 - # via modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/doc/contributing/getting_started.rst b/doc/contributing/getting_started.rst index 16d343c60..69bc3b4dd 100644 --- a/doc/contributing/getting_started.rst +++ b/doc/contributing/getting_started.rst @@ -51,8 +51,7 @@ To do so, run the following commands:: $ source /bin/activate $ git clone https://github.com/modoboa/modoboa.git $ cd modoboa - $ pip install -e . - $ pip install -r dev-requirements.txt + $ pip install -e .[dev] This will create a symbolic link to your local copy so any modification you make will be automatically available in your diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index f77e10fb0..8d5f0c295 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -7,16 +7,20 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" FROM base AS build -RUN apk add --update openssl librrd python3-dev libffi-dev gcc g++ musl-dev libxml2-dev libxslt-dev \ - libressl-dev jpeg-dev rrdtool-dev file make gettext freetype-dev cairo-dev cargo \ +RUN apk add --update openssl librrd python3-dev libffi-dev \ + gcc g++ musl-dev libxml2-dev libxslt-dev \ + libressl-dev jpeg-dev rrdtool-dev file make \ + gettext freetype-dev cairo-dev cargo git \ && rm -rf /var/cache/apk/* RUN python3 -m venv $VIRTUAL_ENV WORKDIR /tmp -COPY requirements.txt /tmp -COPY test-requirements.txt /tmp -COPY dev-requirements.txt /tmp -RUN python -m pip install -U pip +COPY . /tmp +RUN python -m pip install -U pip pip-tools ruff +RUN pip-compile --output-file=requirements.txt pyproject.toml +RUN pip-compile --extra=dev --output-file=dev-requirements.txt pyproject.toml +RUN pip-compile --extra=test --output-file=test-requirements.txt pyproject.toml RUN pip install -r requirements.txt -r test-requirements.txt -r dev-requirements.txt + FROM base AS run COPY docker/doveadm /usr/local/bin RUN chmod +x /usr/local/bin/doveadm diff --git a/ldap-requirements.txt b/ldap-requirements.txt deleted file mode 100644 index 5422a2a44..000000000 --- a/ldap-requirements.txt +++ /dev/null @@ -1,258 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=ldap --output-file=ldap-requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via rq -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-auth-ldap - # django-ckeditor - # django-cors-headers - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-auth-ldap==4.8.0 - # via modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via tldextract -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -passlib==1.7.4 - # via modoboa (pyproject.toml) -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -progressbar33==2.4 - # via modoboa (pyproject.toml) -pyasn1==0.6.1 - # via - # pyasn1-modules - # python-ldap -pyasn1-modules==0.4.1 - # via python-ldap -pycparser==2.22 - # via cffi -python-dateutil==2.9.0.post0 - # via - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-ldap==3.4.4 - # via django-auth-ldap -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via drf-spectacular -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # python-dateutil - # vobject -sqlparse==0.5.3 - # via django -tldextract==5.1.3 - # via modoboa (pyproject.toml) -typing-extensions==4.12.2 - # via - # dj-database-url - # jwcrypto - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/mysql-requirements.txt b/mysql-requirements.txt deleted file mode 100644 index e470df2c7..000000000 --- a/mysql-requirements.txt +++ /dev/null @@ -1,249 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=mysql --output-file=mysql-requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via rq -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-ckeditor - # django-cors-headers - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via tldextract -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -mysqlclient==2.2.7 - # via modoboa (pyproject.toml) -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -passlib==1.7.4 - # via modoboa (pyproject.toml) -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -progressbar33==2.4 - # via modoboa (pyproject.toml) -pycparser==2.22 - # via cffi -python-dateutil==2.9.0.post0 - # via - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via drf-spectacular -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # python-dateutil - # vobject -sqlparse==0.5.3 - # via django -tldextract==5.1.3 - # via modoboa (pyproject.toml) -typing-extensions==4.12.2 - # via - # dj-database-url - # jwcrypto - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/postgresql-requirements.txt b/postgresql-requirements.txt deleted file mode 100644 index 8d87f457c..000000000 --- a/postgresql-requirements.txt +++ /dev/null @@ -1,252 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=postgresql --output-file=postgresql-requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via rq -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-ckeditor - # django-cors-headers - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via tldextract -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -passlib==1.7.4 - # via modoboa (pyproject.toml) -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -progressbar33==2.4 - # via modoboa (pyproject.toml) -psycopg[binary]==3.2.3 - # via modoboa (pyproject.toml) -psycopg-binary==3.2.3 - # via psycopg -pycparser==2.22 - # via cffi -python-dateutil==2.9.0.post0 - # via - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via drf-spectacular -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # python-dateutil - # vobject -sqlparse==0.5.3 - # via django -tldextract==5.1.3 - # via modoboa (pyproject.toml) -typing-extensions==4.12.2 - # via - # dj-database-url - # jwcrypto - # psycopg - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 2880e5cd4..000000000 --- a/requirements.txt +++ /dev/null @@ -1,247 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --output-file=requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via cryptography -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via rq -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-ckeditor - # django-cors-headers - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via tldextract -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -passlib==1.7.4 - # via modoboa (pyproject.toml) -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -progressbar33==2.4 - # via modoboa (pyproject.toml) -pycparser==2.22 - # via cffi -python-dateutil==2.9.0.post0 - # via - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via drf-spectacular -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # python-dateutil - # vobject -sqlparse==0.5.3 - # via django -tldextract==5.1.3 - # via modoboa (pyproject.toml) -typing-extensions==4.12.2 - # via - # dj-database-url - # jwcrypto - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 5a4209df5..000000000 --- a/test-requirements.txt +++ /dev/null @@ -1,292 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=test --output-file=test-requirements.txt pyproject.toml -# -aiosmtplib==4.0.0 - # via modoboa (pyproject.toml) -argon2-cffi==23.1.0 - # via modoboa (pyproject.toml) -argon2-cffi-bindings==21.2.0 - # via argon2-cffi -asgiref==3.8.1 - # via - # django - # django-cors-headers - # modoboa (pyproject.toml) -async-timeout==5.0.1 - # via redis -attrs==25.1.0 - # via - # jsonschema - # referencing -bcrypt==4.3.0 - # via modoboa (pyproject.toml) -cachetools==5.5.2 - # via tox -caldav==1.4.0 - # via modoboa (pyproject.toml) -certifi==2025.1.31 - # via requests -cffi==1.17.1 - # via - # argon2-cffi-bindings - # cryptography -chardet==5.2.0 - # via - # modoboa (pyproject.toml) - # reportlab - # tox -charset-normalizer==3.4.1 - # via requests -click==8.1.8 - # via - # rq - # x-wr-timezone -colorama==0.4.6 - # via tox -cryptography==44.0.1 - # via - # fido2 - # jwcrypto - # modoboa (pyproject.toml) -defusedxml==0.7.1 - # via modoboa (pyproject.toml) -distlib==0.3.9 - # via virtualenv -dj-database-url==2.3.0 - # via modoboa (pyproject.toml) -django==4.2.18 - # via - # dj-database-url - # django-ckeditor - # django-cors-headers - # django-filter - # django-js-asset - # django-oauth-toolkit - # django-otp - # django-phonenumber-field - # django-rename-app - # django-reversion - # django-rq - # django-xforwardedfor-middleware - # djangorestframework - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -django-ckeditor==6.7.2 - # via modoboa (pyproject.toml) -django-cors-headers==4.7.0 - # via modoboa (pyproject.toml) -django-environ==0.12.0 - # via modoboa (pyproject.toml) -django-filter==25.1 - # via modoboa (pyproject.toml) -django-js-asset==2.2.0 - # via django-ckeditor -django-oauth-toolkit==3.0.1 - # via modoboa (pyproject.toml) -django-otp==1.5.4 - # via modoboa (pyproject.toml) -django-phonenumber-field[phonenumbers]==8.0.0 - # via modoboa (pyproject.toml) -django-rename-app==0.1.7 - # via modoboa (pyproject.toml) -django-reversion==5.1.0 - # via modoboa (pyproject.toml) -django-rq==3.0.0 - # via modoboa (pyproject.toml) -django-xforwardedfor-middleware==2.0 - # via modoboa (pyproject.toml) -djangorestframework==3.15.2 - # via - # drf-nested-routers - # drf-spectacular - # modoboa (pyproject.toml) -dnspython==2.7.0 - # via modoboa (pyproject.toml) -drf-nested-routers==0.94.1 - # via modoboa (pyproject.toml) -drf-spectacular==0.28.0 - # via modoboa (pyproject.toml) -factory-boy==3.3.3 - # via modoboa (pyproject.toml) -faker==36.1.1 - # via factory-boy -feedparser==6.0.11 - # via modoboa (pyproject.toml) -fido2==1.2.0 - # via modoboa (pyproject.toml) -filelock==3.17.0 - # via - # tldextract - # tox - # virtualenv -gevent==24.11.1 - # via modoboa (pyproject.toml) -greenlet==3.1.1 - # via gevent -httmock==1.4.0 - # via modoboa (pyproject.toml) -icalendar==6.1.1 - # via - # caldav - # recurring-ical-events - # x-wr-timezone -idna==3.10 - # via - # requests - # tldextract -inflection==0.5.1 - # via drf-spectacular -jsonschema==4.23.0 - # via drf-spectacular -jsonschema-specifications==2024.10.1 - # via jsonschema -jwcrypto==1.5.6 - # via django-oauth-toolkit -lxml==5.3.1 - # via - # caldav - # lxml-html-clean -lxml-html-clean==0.4.1 - # via modoboa (pyproject.toml) -oath==1.4.4 - # via modoboa (pyproject.toml) -oauthlib==3.2.2 - # via - # django-oauth-toolkit - # requests-oauthlib -ovh==1.2.0 - # via modoboa (pyproject.toml) -packaging==24.2 - # via - # pyproject-api - # tox -passlib==1.7.4 - # via modoboa (pyproject.toml) -phonenumbers==8.13.55 - # via django-phonenumber-field -pillow==11.1.0 - # via - # modoboa (pyproject.toml) - # reportlab -platformdirs==4.3.6 - # via - # tox - # virtualenv -pluggy==1.5.0 - # via tox -progressbar33==2.4 - # via modoboa (pyproject.toml) -pycparser==2.22 - # via cffi -pyproject-api==1.9.0 - # via tox -python-dateutil==2.9.0.post0 - # via - # faker - # icalendar - # modoboa (pyproject.toml) - # recurring-ical-events - # vobject -python-magic==0.4.27 - # via modoboa (pyproject.toml) -pytz==2025.1 - # via - # caldav - # modoboa (pyproject.toml) - # vobject -pyyaml==6.0.2 - # via drf-spectacular -qrcode==8.0 - # via modoboa (pyproject.toml) -recurring-ical-events==3.5.2 - # via caldav -redis==5.2.1 - # via - # django-rq - # modoboa (pyproject.toml) - # rq -referencing==0.36.2 - # via - # jsonschema - # jsonschema-specifications -reportlab==4.3.1 - # via modoboa (pyproject.toml) -requests==2.32.3 - # via - # caldav - # django-oauth-toolkit - # httmock - # modoboa (pyproject.toml) - # ovh - # requests-file - # requests-oauthlib - # tldextract -requests-file==2.1.0 - # via tldextract -requests-oauthlib==2.0.0 - # via ovh -rpds-py==0.23.1 - # via - # jsonschema - # referencing -rq==2.1.0 - # via - # django-rq - # modoboa (pyproject.toml) -rrdtool==0.1.16 - # via modoboa (pyproject.toml) -sgmllib3k==1.0.0 - # via feedparser -sievelib==1.4.2 - # via modoboa (pyproject.toml) -six==1.17.0 - # via - # python-dateutil - # vobject -sqlparse==0.5.3 - # via django -testfixtures==8.3.0 - # via modoboa (pyproject.toml) -tldextract==5.1.3 - # via modoboa (pyproject.toml) -tox==4.24.1 - # via modoboa (pyproject.toml) -typing-extensions==4.12.2 - # via - # dj-database-url - # faker - # jwcrypto - # referencing - # sievelib -tzdata==2025.1 - # via - # icalendar - # recurring-ical-events - # x-wr-timezone -tzlocal==5.3 - # via caldav -uritemplate==4.1.1 - # via - # drf-spectacular - # modoboa (pyproject.toml) -urllib3==2.3.0 - # via requests -virtualenv==20.29.2 - # via tox -vobject==0.9.9 - # via - # caldav - # modoboa (pyproject.toml) -x-wr-timezone==2.0.1 - # via recurring-ical-events -zope-event==5.0 - # via gevent -zope-interface==7.2 - # via gevent - -# The following packages are considered to be unsafe in a requirements file: -# setuptools