From c77c6f96f4b550e8bafe6d877719bb137d40aa11 Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Thu, 18 May 2023 21:40:55 -0400 Subject: [PATCH] fix: Fix release workflow and broken dependencies (#40) This PR proposes to fix the release workflow and fix broken dependencies ref: https://github.com/ionrock/cachecontrol/issues/292#issuecomment-1536120527 --- .makim.yaml | 7 +++++-- conda/dev.yaml | 2 ++ pyproject.toml | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.makim.yaml b/.makim.yaml index d31fb58..ec883a0 100644 --- a/.makim.yaml +++ b/.makim.yaml @@ -46,11 +46,14 @@ groups: targets: ci: help: Run semantic release on CI - run: {{ vars.app }} '--ci' + run: {{ vars.app }} --ci dry: help: Run semantic release in dry-run mode - run: {{ vars.app }} '--dry-run' + run: | + {{ vars.app }} --dry-run + poetry build + poetry publish --dry-run tests: targets: diff --git a/conda/dev.yaml b/conda/dev.yaml index 8488d7d..f35b08f 100644 --- a/conda/dev.yaml +++ b/conda/dev.yaml @@ -6,3 +6,5 @@ dependencies: - python 3.8.1 # min version supported - poetry - nodejs # used by semantic-release + # https://github.com/ionrock/cachecontrol/issues/292#issuecomment-1536120527 + - urllib3 <2 diff --git a/pyproject.toml b/pyproject.toml index d493f1d..dafbd12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ jinja2 = "<3.0.3" xonsh = "^0.13.4" python-dotenv = "^0.21.1" colorama = "^0.4.6" +urllib3 = "<2" [tool.poetry.dev-dependencies] containers-sugar = "1.5.0"