Skip to content

Commit

Permalink
Fix for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and renovate[bot] committed Dec 4, 2024
1 parent 9ba4721 commit edef2e5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ L10N_SOURCE_FILES += $(shell find {{cookiecutter.package}}/templates/ -type f -n
ifneq (,$(findstring CYGWIN, $(shell uname)))
PYTHON3 =
VENV_BIN = .build/venv/Scripts
PIP_UPGRADE = python.exe -m pip install --upgrade pip==21.1 setuptools==56.0
else
PYTHON3 = -p python3
VENV_BIN = .build/venv/bin
PIP_UPGRADE = pip install --upgrade pip==21.1 setuptools==56.0
endif

.PHONY: help
Expand Down Expand Up @@ -84,8 +82,6 @@ dist: .build/venv.timestamp compile-catalog
.build/venv.timestamp:
# Create a Python virtual environment.
python3 -m venv .build/venv
# Upgrade packaging tools.
$(VENV_BIN)/$(PIP_UPGRADE)
touch $@

.build/requirements.timestamp: .build/venv.timestamp requirements.txt
Expand Down
18 changes: 16 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ main = "c2cgeoform:main"
c2cgeoform = "c2cgeoform.scaffolds:C2cgeoformTemplate"

[tool.poetry.dependencies]
python = ">=3.11,<3.13"
python = ">=3.11,<3.14"
babel = "2.16.0"

colanderalchemy = "0.3.4"
Expand Down

0 comments on commit edef2e5

Please sign in to comment.