Skip to content

Commit

Permalink
Mis à jour de wagtail et python + Ajout de config Dependaboat (#397)
Browse files Browse the repository at this point in the history
* update python and wagtail

* update requirements

* update python version

* update python version

* add config to dependabot github
  • Loading branch information
madjid-asa authored Aug 29, 2022
1 parent 3d14ad0 commit 506b243
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 274 deletions.
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
# Maintain dependencies for poetry
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
commit-message:
# Prefix all commit messages with "npm"
prefix: "poetry bot"
reviewers:
- "madjid-asa"
- "raphodn"
# allow:
# # Allow only direct updates for
# # Django and any packages starting "django"
# - dependency-name: "django*"
# dependency-type: "direct"
# # Allow only production updates for Sphinx
# - dependency-name: "sphinx"
# dependency-type: "production"
6 changes: 3 additions & 3 deletions .github/workflows/linting_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: [3.10.6]

env:
DJANGO_SETTINGS_MODULE: config.settings.test
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.10.6

#----------------------------------------------
# install & configure poetry
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
#----------------------------------------------
# run lint suite
# Why not install default flake8 or pylint ?
# Why not install default flake8 or pylint ?
# Because we use pyproject.toml config file, and
# prefer locally reproducible tests.
#----------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/review-app-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
CONFIGURATION_ADDON: ${{ secrets.CLEVER_REVIEW_APPS_CONFIGURATION_ADDON }}
S3_ADDON: ${{ secrets.CLEVER_REVIEW_APPS_S3_ADDON }}
BRANCH: ${{ github.head_ref }}
PYTHON_VERSION: 3.9
PYTHON_VERSION: 3.10.6

jobs:
create:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
with:
message: "🥁 La recette jetable est prête ! [👉 Je veux tester cette PR !](https://${{ env.DEPLOY_URL }})"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

redeploy:
runs-on: ubuntu-latest
# A push event targets a new deployment.
Expand Down
303 changes: 73 additions & 230 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ factory-boy = "3.2.1"
huey = "2.4.3"
psycopg2-binary = "2.9.3"
PyMySQL = "1.0.2"
python = "^3.9"
python = "^3.10.6"
python-stdnum = "1.17"
redis = "^3.5.3"
requests = "^2.27.1"
selenium = "4.1.0"
sentry-sdk = "1.5.4"
wagtail = "^2.16.2"
wagtail = "^3.0.1"
whitenoise = "5.3.0"
xlwt = "1.3.0"

Expand Down
41 changes: 21 additions & 20 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ attrs==22.1.0; python_version >= "3.7" and python_version < "4.0"
backcall==0.2.0; python_version >= "3.7"
beautifulsoup4==4.9.3; python_version >= "3.7"
black==22.3.0; python_full_version >= "3.6.2"
boto3==1.24.49; python_version >= "3.7"
boto3==1.24.59; python_version >= "3.7"
boto==2.49.0
botocore==1.27.49; python_version >= "3.7"
certifi==2022.6.15; python_version >= "3.7" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6")
cffi==1.15.1; os_name == "nt" and implementation_name != "pypy" and python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6")
botocore==1.27.59; python_version >= "3.7"
certifi==2022.6.15; python_version >= "3.7" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7")
cffi==1.15.1; os_name == "nt" and implementation_name != "pypy" and python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7")
cfgv==3.3.1; python_full_version >= "3.6.1"
charset-normalizer==2.1.0; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.6.0"
charset-normalizer==2.1.1; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.6.0"
click==8.1.3; python_version >= "3.7" and python_full_version >= "3.6.2"
colorama==0.4.5; sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.6.2" and platform_system == "Windows" and (python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0")
coverage==5.5; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0" and python_version < "4")
crawlerdetect==0.1.4; python_version >= "3.4" and python_version < "4"
cryptography==37.0.4; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6"
cryptography==37.0.4; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
decorator==5.1.1; python_version >= "3.7"
distlib==0.3.5; python_version >= "3.6" and python_full_version >= "3.6.1"
django-anymail==8.5; python_version >= "3.5"
Expand All @@ -36,7 +36,8 @@ django-filter==21.1; python_version >= "3.6"
django-formtools==2.3; python_version >= "3.6"
django-js-asset==2.0.0; python_version >= "3.8"
django-libsass==0.9
django-modelcluster==5.3; python_version >= "3.7"
django-modelcluster==6.0; python_version >= "3.7"
django-permissionedforms==0.1; python_version >= "3.7"
django-select2==7.10.0
django-storages==1.13.1; python_version >= "3.7"
django-taggit==2.1.0; python_version >= "3.7"
Expand All @@ -48,24 +49,24 @@ drf-spectacular==0.23.1; python_version >= "3.6"
elastic-apm==6.11.0; python_version >= "3.6" and python_version < "4"
et-xmlfile==1.1.0; python_version >= "3.7"
factory-boy==3.2.1; python_version >= "3.6"
faker==13.15.1; python_version >= "3.6"
faker==14.1.0; python_version >= "3.6"
filelock==3.8.0; python_version >= "3.7" and python_full_version >= "3.6.1"
flake8==3.9.2; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
h11==0.13.0; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.7.0"
html5lib==1.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
huey==2.4.3
identify==2.5.3; python_version >= "3.7" and python_full_version >= "3.6.1"
idna==3.3; python_version >= "3.7" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6")
idna==3.3; python_version >= "3.7" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7")
inflection==0.5.1; python_version >= "3.6"
iniconfig==1.1.1; python_version >= "3.7"
ipython==7.31.1; python_version >= "3.7"
isort==5.10.1; python_full_version >= "3.6.1" and python_version < "4.0"
jedi==0.18.1; python_version >= "3.7"
jmespath==1.0.1; python_version >= "3.7"
jsonschema==4.9.1; python_version >= "3.7"
jsonschema==4.14.0; python_version >= "3.7"
l18n==2021.3; python_version >= "3.7"
libsass==0.21.0
matplotlib-inline==0.1.3; python_version >= "3.7"
matplotlib-inline==0.1.6; python_version >= "3.7"
mccabe==0.6.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
mypy-extensions==0.4.3; python_full_version >= "3.6.2"
nodeenv==1.7.0; python_full_version >= "3.7.0"
Expand All @@ -87,19 +88,19 @@ psycopg2-binary==2.9.3; python_version >= "3.6"
ptyprocess==0.7.0; sys_platform != "win32" and python_version >= "3.7"
py==1.11.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
pycodestyle==2.7.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pycparser==2.21; python_version >= "3.7" and python_full_version < "3.0.0" and os_name == "nt" and implementation_name != "pypy" and python_version < "4.0" or os_name == "nt" and implementation_name != "pypy" and python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.4.0"
pycparser==2.21; python_version >= "3.7" and python_full_version < "3.0.0" and os_name == "nt" and implementation_name != "pypy" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7") or os_name == "nt" and implementation_name != "pypy" and python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7") and python_full_version >= "3.4.0"
pyflakes==2.3.1; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
pygments==2.12.0; python_version >= "3.7"
pygments==2.13.0; python_version >= "3.7"
pymysql==1.0.2; python_version >= "3.6"
pyopenssl==22.0.0; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6"
pyopenssl==22.0.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7"
pyproject-flake8==0.0.1a2
pyrsistent==0.18.1; python_version >= "3.7"
pytest-django==4.5.2; python_version >= "3.5"
pytest==7.1.2; python_version >= "3.7"
python-dateutil==2.8.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
python-stdnum==1.17
pytz==2022.1; python_version >= "3.7"
pytz==2022.2.1; python_version >= "3.7"
pyyaml==6.0; python_version >= "3.6" and python_full_version >= "3.6.1"
rcssmin==1.1.0
redis==3.5.3; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
Expand All @@ -120,17 +121,17 @@ tomli==1.2.3; python_version < "3.11" and python_full_version >= "3.6.2" and pyt
traitlets==5.3.0; python_version >= "3.7"
trio-websocket==0.9.2; python_version >= "3.7" and python_version < "4.0"
trio==0.21.0; python_version >= "3.7" and python_version < "4.0"
typing-extensions==4.3.0; python_version < "3.10" and python_full_version >= "3.6.2" and python_version >= "3.7"
tzdata==2022.1; sys_platform == "win32" and python_version >= "3.8"
tzdata==2022.2; sys_platform == "win32" and python_version >= "3.8"
uritemplate==4.1.1; python_version >= "3.6"
urllib3==1.26.11; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
urllib3-secure-extra==0.1.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
urllib3==1.26.12; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
virtualenv==20.16.3; python_version >= "3.6" and python_full_version >= "3.6.1"
wagtail==2.16.2; python_version >= "3.7"
wagtail==3.0.1; python_version >= "3.7"
wcwidth==0.2.5; python_full_version >= "3.6.2" and python_version >= "3.7"
webencodings==0.5.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
whitenoise==5.3.0; python_version >= "3.5" and python_version < "4"
willow==1.4.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
wsproto==1.1.0; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.7.0"
wsproto==1.2.0; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.7.0"
xlrd==2.0.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version >= "3.6.0"
xlsxwriter==3.0.3; python_version >= "3.7"
xlwt==1.3.0
Loading

0 comments on commit 506b243

Please sign in to comment.