Merge branch '2.3.x'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parents 4bcd4be, aca7d56 · Browse files · 8 files·+18 added−21 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
8 files+18 added−21 removed
- other:+18 added−21 removed
Provenance
- Commit
cc55d7b- Tree
a1cc25e- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent 1
4bcd4be- Parent 2
aca7d56
8 files changed+18 added−21 removed
modified:docs/patterns/sqlalchemy.rst+1 added-2 removed
32 unmodified lines33 34 Here's the example :file:`database.py` module for your application::35 36 from sqlalchemy import create_engine37- from sqlalchemy.orm import scoped_session, sessionmaker38- from sqlalchemy.ext.declarative import declarative_base37+ from sqlalchemy.orm import scoped_session, sessionmaker, declarative_base38 39 engine = create_engine('sqlite:////tmp/test.db')40 db_session = scoped_session(sessionmaker(autocommit=False,41 autoflush=False,173 unmodified linesmodified:requirements/dev.txt+6 added-6 removed
22 unmodified lines23 colorama==0.4.624 # via tox25 distlib==0.3.626 # via virtualenv27-filelock==3.12.027+filelock==3.12.228 # via29 # tox30 # virtualenv31 identify==2.5.243 unmodified lines35 pip-compile-multi==2.6.336 # via -r requirements/dev.in37 pip-tools==6.13.038 # via pip-compile-multi39-platformdirs==3.5.139+platformdirs==3.8.040 # via41 # tox42 # virtualenv43-pre-commit==3.3.243+pre-commit==3.3.344 # via -r requirements/dev.in45-pyproject-api==1.5.145+pyproject-api==1.5.246 # via tox47 pyproject-hooks==1.0.048 # via build49 pyyaml==6.050 # via pre-commit51 toposort==1.1052 # via pip-compile-multi53-tox==4.5.253+tox==4.6.354 # via -r requirements/dev.in55-virtualenv==20.23.055+virtualenv==20.23.156 # via57 # pre-commit58 # tox59 wheel==0.40.05 unmodified linesmodified:requirements/tests-pallets-min.in+1 added-1 removed
1-Werkzeug==2.3.51+Werkzeug==2.3.62 Jinja2==3.1.23 MarkupSafe==2.1.14 itsdangerous==2.1.25 click==8.1.31 unmodified linemodified:requirements/tests-pallets-min.txt+2 added-2 removed
1-# SHA1:c4bfd085a9d4e81c583daf70671803d5e388c6561+# SHA1:5bd33f1c06b3fb16f7ab50e80ed309655d1107132 #3 # This file is autogenerated by pip-compile-multi4 # To update, run:5 #11 unmodified lines17 # via18 # -r requirements/tests-pallets-min.in19 # jinja220 # werkzeug21-werkzeug==2.3.521+werkzeug==2.3.622 # via -r requirements/tests-pallets-min.inmodified:requirements/tests.txt+2 added-2 removed
9 unmodified lines10 iniconfig==2.0.011 # via pytest12 packaging==23.113 # via pytest14-pluggy==1.0.014+pluggy==1.2.015 # via pytest16-pytest==7.3.116+pytest==7.4.017 # via -r requirements/tests.in18 python-dotenv==1.0.019 # via -r requirements/tests.inmodified:requirements/typing.txt+4 added-4 removed
5 unmodified lines6 # pip-compile-multi7 #8 cffi==1.15.19 # via cryptography10-cryptography==41.0.010+cryptography==41.0.111 # via -r requirements/typing.in12-mypy==1.3.012+mypy==1.4.113 # via -r requirements/typing.in14 mypy-extensions==1.0.015 # via mypy16 pycparser==2.211 unmodified line18 types-contextvars==2.4.7.219 # via -r requirements/typing.in20 types-dataclasses==0.6.621 # via -r requirements/typing.in22-types-setuptools==67.8.0.022+types-setuptools==68.0.0.023 # via -r requirements/typing.in24-typing-extensions==4.6.224+typing-extensions==4.6.325 # via mypymodified:.pre-commit-config.yaml+2 added-2 removed
12345667891011111213141522 unmodified linesci: autoupdate_branch: "2.3.x" autoupdate_schedule: monthlyrepos: - repo: https://github.com/asottile/pyupgrade rev: v3.4.0 rev: v3.7.0 hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/asottile/reorder-python-imports rev: v3.9.0 rev: v3.10.0 hooks: - id: reorder-python-imports name: Reorder Python imports (src, tests) files: "^(?!examples/)"22 unmodified linesmodified:pyproject.toml-2 removed
52 unmodified lines5354555657585758596034 unmodified lines52 unmodified lines[tool.pytest.ini_options]testpaths = ["tests"]filterwarnings = [ "error", # change in Python 3.12 causes warning from inside pytest "ignore:ast:DeprecationWarning",]
[tool.coverage.run]branch = true34 unmodified lines