Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHB-33271 python 3.12 #52

Merged
merged 4 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim

RUN groupadd -r app && useradd -r -g app app

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.demo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim

ENV PIP_DISABLE_PIP_VERSION_CHECK=on
ENV PIP_NO_CACHE_DIR=off
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COV_BADGE_SVG = $(DOCS_IMAGES_DIR)/coverage.svg
MYPY_CACHE_DIR = .mypy_cache

MIN_COVERAGE = 89.1
PYTHON_VERSION ?= 3.11
PYTHON_VERSION ?= 3.12

JOBS ?= 4

Expand Down
303 changes: 107 additions & 196 deletions poetry.lock

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overhave"
version = "5.1.11"
version = "5.1.12"
description = "Overhave - web-framework for BDD"
readme = "README.rst"
authors = [
Expand All @@ -16,6 +16,7 @@ classifiers = [
"Topic :: Software Development :: Testing :: BDD",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Framework :: Flask",
"Framework :: Pytest",
Expand All @@ -29,7 +30,7 @@ overhave-demo = 'demo:overhave_demo'
overhave = "overhave.pytest_plugin.plugin"

[tool.poetry.dependencies]
python = ">=3.8.1,<3.12"
python = ">=3.11, <3.13"
psycopg2-binary = "^2.8"
pydantic = ">=1.7"
yarl = ">=1.1.1"
Expand All @@ -38,7 +39,7 @@ python-ldap = "3.4.3"
ldap3 = "^2.6"
wsgi_intercept = "^1.8"
redis = "^5.0.0"
httptools = "^0.5.0"
httptools = "^0.6.4"
python-dateutil = "^2.8.1"
alembic = "^1.4.3"
boto3 = "^1.17.16"
Expand Down Expand Up @@ -78,7 +79,7 @@ pytest-mock = "^3.6.1"
allure-pytest = "^2.9.45"
pytest-xdist = "^2.5.0"
uvicorn = "^0.17.5"
black = "^22.1.0"
black = "^24.10.0"
coverage-badge = "^1.1.0"
pytest-bdd = "^6.0.1"
docutils-stubs = "^0.0.22"
Expand All @@ -87,7 +88,7 @@ perflint = "^0.7.3"
pytest = "^6.2.5"
sphinx = "^7.0.0"
mypy = "^1.3.0"
tox = "^4.5.1"
tox = "^4.21"
flake8 = "^6.1.0"
flake8-bugbear = "^23.9.16"
pycodestyle = "^2.11.0"
Expand Down Expand Up @@ -124,7 +125,7 @@ line_length = 120
multi_line_output = 3

[tool.black]
target-version = ['py311']
target-version = ['py312']
line-length = 120

[build-system]
Expand All @@ -136,7 +137,7 @@ legacy_tox_ini = """
[tox]
isolated_build = true
isolated_build_env = .package
envlist = py311
envlist = py312
[testenv]
allowlist_externals =
make
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ show-source = true

[mypy]
plugins = pydantic.mypy, sqlalchemy.ext.mypy.plugin
python_version = 3.11
python_version = 3.12

check_untyped_defs = true
strict_optional = true
Expand Down
Loading