From bb5071bf7251262729b380ba726b5d8be2d4cd58 Mon Sep 17 00:00:00 2001 From: paribaker <58012003+paribaker@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:17:03 -0800 Subject: [PATCH] fix issues with 3.12 (#368) ## What this does - updates factory boy to 32.7.0 - changes python in pytest.yaml to 3.12 ## How to test Add user steps to achieve desired functionality for this feature. --- {{cookiecutter.project_slug}}/.github/workflows/pytest.yml | 2 +- {{cookiecutter.project_slug}}/Pipfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.github/workflows/pytest.yml b/{{cookiecutter.project_slug}}/.github/workflows/pytest.yml index 1c8ff154d..a7e08b995 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/pytest.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/pytest.yml @@ -21,7 +21,7 @@ jobs: - run: pipx install pipenv - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' cache: 'pipenv' - run: pipenv install --dev --deploy - name: 'Create env file' diff --git a/{{cookiecutter.project_slug}}/Pipfile b/{{cookiecutter.project_slug}}/Pipfile index db4167857..72dab1719 100644 --- a/{{cookiecutter.project_slug}}/Pipfile +++ b/{{cookiecutter.project_slug}}/Pipfile @@ -44,7 +44,7 @@ black = "==22.3.0" # https://github.com/psf/black pylint-django = "==2.4.4" # https://github.com/PyCQA/pylint-django pytest = "==7.1.3" # Latest version of pytest caused an error. Temporarily pinning factory-boy = "==3.2.1" -pytest-factoryboy = "==2.5.1" +pytest-factoryboy = "==2.7.0" pytest-cov = "*" pytest-mccabe = "*" pre-commit = "==2.13.0" # https://github.com/pre-commit/pre-commit