mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 22:39:43 -04:00
Merge pull request #1693 from GSA/fix-virtualenv
Pin virtualenv to a compatible version
This commit is contained in:
3
.github/actions/setup-project/action.yml
vendored
3
.github/actions/setup-project/action.yml
vendored
@@ -16,3 +16,6 @@ runs:
|
|||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
shell: bash
|
shell: bash
|
||||||
run: pip install poetry==1.8.5
|
run: pip install poetry==1.8.5
|
||||||
|
- name: Downgrade virtualenv to compatible version
|
||||||
|
shell: bash
|
||||||
|
run: pip install "virtualenv<20.30"
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -16,7 +16,6 @@ GIT_HOOKS_PATH ?= $(shell git config --global core.hooksPath || echo "")
|
|||||||
.PHONY: bootstrap
|
.PHONY: bootstrap
|
||||||
bootstrap: ## Set up everything to run the app
|
bootstrap: ## Set up everything to run the app
|
||||||
make generate-version-file
|
make generate-version-file
|
||||||
poetry self add poetry-dotenv-plugin
|
|
||||||
poetry lock --no-update
|
poetry lock --no-update
|
||||||
poetry install --sync --no-root
|
poetry install --sync --no-root
|
||||||
poetry run pre-commit install
|
poetry run pre-commit install
|
||||||
@@ -27,7 +26,6 @@ bootstrap: ## Set up everything to run the app
|
|||||||
.PHONY: bootstrap-with-git-hooks
|
.PHONY: bootstrap-with-git-hooks
|
||||||
bootstrap-with-git-hooks: ## Sets everything up and accounts for pre-existing git hooks
|
bootstrap-with-git-hooks: ## Sets everything up and accounts for pre-existing git hooks
|
||||||
make generate-version-file
|
make generate-version-file
|
||||||
poetry self add poetry-dotenv-plugin
|
|
||||||
poetry lock --no-update
|
poetry lock --no-update
|
||||||
poetry install --sync --no-root
|
poetry install --sync --no-root
|
||||||
git config --global --unset-all core.hooksPath
|
git config --global --unset-all core.hooksPath
|
||||||
|
|||||||
297
poetry.lock
generated
297
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -77,6 +77,7 @@ jinja2 = "^3.1.6"
|
|||||||
redis = "^5.0.8"
|
redis = "^5.0.8"
|
||||||
requests = "^2.32.3"
|
requests = "^2.32.3"
|
||||||
flask-socketio = "^5.5.1"
|
flask-socketio = "^5.5.1"
|
||||||
|
virtualenv = "<20.30"
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
@@ -105,8 +106,12 @@ setuptools = "^80.1.0"
|
|||||||
sqlalchemy-utils = "^0.41.2"
|
sqlalchemy-utils = "^0.41.2"
|
||||||
vulture = "^2.10"
|
vulture = "^2.10"
|
||||||
detect-secrets = "^1.5.0"
|
detect-secrets = "^1.5.0"
|
||||||
|
poetry-dotenv-plugin = "^0.2.0"
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
[tool.poetry.plugins."poetry.application.plugin"]
|
||||||
|
dotenv = "poetry_dotenv_plugin.plugin:PoetryDotenvPlugin"
|
||||||
|
|||||||
Reference in New Issue
Block a user