Merge pull request #2553 from GSA/bugfix/virtualenv-downgrade

Updating virtualenv to specific version
This commit is contained in:
Alex Janousek
2025-05-06 11:36:31 -04:00
committed by GitHub
4 changed files with 1090 additions and 410 deletions

View File

@@ -16,6 +16,9 @@ runs:
- name: Install poetry
shell: bash
run: pip install poetry==1.8.5
- name: Downgrade virtualenv to compatible version
shell: bash
run: pip install "virtualenv<20.30"
- name: Install application dependencies
shell: bash
run: make bootstrap

View File

@@ -17,7 +17,6 @@ NVMSH := $(shell [ -f "$(HOME)/.nvm/nvm.sh" ] && echo "$(HOME)/.nvm/nvm.sh" || e
.PHONY: bootstrap
bootstrap: ## Set up everything to run the app
make generate-version-file
poetry self add poetry-dotenv-plugin
poetry lock --no-update
poetry install --sync --no-root
poetry run playwright install --with-deps
@@ -29,7 +28,6 @@ bootstrap: ## Set up everything to run the app
.PHONY: bootstrap-with-git-hooks
bootstrap-with-git-hooks: ## Sets everything up and accounts for pre-existing git hooks
make generate-version-file
poetry self add poetry-dotenv-plugin
poetry lock --no-update
poetry install --sync --no-root
poetry run playwright install --with-deps

1490
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -69,6 +69,7 @@ requests = "^2.32.3"
six = "^1.16.0"
urllib3 = "^2.2.2"
webencodings = "^0.5.1"
virtualenv = "<20.30"
[tool.poetry.group.dev.dependencies]
@@ -95,8 +96,12 @@ pytest-xdist = "^3.5.0"
radon = "^6.0.1"
requests-mock = "^1.11.0"
vulture = "^2.14"
poetry-dotenv-plugin = "^0.2.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.plugins."poetry.application.plugin"]
dotenv = "poetry_dotenv_plugin.plugin:PoetryDotenvPlugin"