From 7e976c32832feb02436813c82be00a4c8aec71f1 Mon Sep 17 00:00:00 2001 From: Geoffrey Arthaud <geoffrey.arthaud@developpement-durable.gouv.fr> Date: Tue, 21 Nov 2023 11:48:50 +0100 Subject: [PATCH] Add Pygments dependency --- .gitlab-ci.yml | 1 + Pipfile.lock | 32 ++++++++++++++++---------------- pyproject.toml | 1 + 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 641127a..9b4351a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,7 @@ deploy_pypi: - pip install pipenv - pipenv install - npm ci --cache .npm --prefer-offline + - pipenv run pip install -e . - pipenv run npm run build:prod - pipenv run python -m build - TWINE_PASSWORD=${PYPI_PASSWORD} TWINE_USERNAME=${PYPI_USER} pipenv run python -m twine upload --skip-existing dist/* diff --git a/Pipfile.lock b/Pipfile.lock index 60c192c..255b61d 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "c5b4bd3f7d8385ad5f4b44c5f9839a364bd285ba3c07fe32387a6b2d739e04d3" + "sha256": "fd6680a2b57b0d0a8b66264d6663f073340ec08bcf1b035699cbd56d361d780d" }, "pipfile-spec": 6, "requires": { @@ -47,11 +47,11 @@ }, "certifi": { "hashes": [ - "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082", - "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9" + "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1", + "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474" ], "markers": "python_version >= '3.6'", - "version": "==2023.7.22" + "version": "==2023.11.17" }, "charset-normalizer": { "hashes": [ @@ -175,11 +175,11 @@ }, "dsfr-structure": { "hashes": [ - "sha256:362a7b0e98737884650c3fd74f452f2080223e4a5f1898e95ceb053081d85273", - "sha256:af53c2213fd13f6bdbf8b83fbe5a263b2e19e8f938b96078fb7b4372a7c6392e" + "sha256:c2cb3b34b415b79e05f7ba41b5b0dda5067b850681274a0d689ef8dbd0c9ebf9", + "sha256:c5bc72d105013318d3a27ee0a969d65fe84a575c28b5f01d4f3f930429552e78" ], - "index": "gitlab-plugin", - "version": "==0.1.0+de04ed9d" + "index": "pypi", + "version": "==0.1.0" }, "ghp-import": { "hashes": [ @@ -502,11 +502,11 @@ }, "pygments": { "hashes": [ - "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692", - "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29" + "sha256:1b37f1b1e1bff2af52ecaf28cc601e2ef7077000b227a0675da25aef85784bc4", + "sha256:e45a0e74bf9c530f564ca81b8952343be986a29f6afe7f5ad95c5f06b7bdf5e8" ], "markers": "python_version >= '3.7'", - "version": "==2.16.1" + "version": "==2.17.1" }, "pymdown-extensions": { "hashes": [ @@ -529,7 +529,7 @@ "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", "version": "==2.8.2" }, "pytz": { @@ -645,18 +645,18 @@ }, "setuptools": { "hashes": [ - "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87", - "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a" + "sha256:4c65d4f7891e5b046e9146913b87098144de2ca2128fbc10135b8556a6ddd946", + "sha256:eb03b43f23910c5fd0909cb677ad017cd9531f493d27f8b3f5316ff1fb07390e" ], "index": "pypi", - "version": "==68.2.2" + "version": "==69.0.0" }, "six": { "hashes": [ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", "version": "==1.16.0" }, "smmap": { diff --git a/pyproject.toml b/pyproject.toml index bdc849e..b51eb5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ requires-python = ">=3.7" dependencies = [ "mkdocs>=1.4", "pymdown-extensions>=10.4", + "Pygments>=2.17", "dsfr_structure>=0.1.0" ] license = { text = "MIT" } -- GitLab