Skip to content

Commit

Permalink
Removed deprecated peewee autorollback option
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravr committed Oct 7, 2024
1 parent 3ed30bc commit 97ecf06
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
export SETTINGS_DIR=.
pip install -r requirements_dev.txt
pip install -e .
# pre-commit run --all-files TODO: check what's wrong in CI
pre-commit run --all-files
pytest fastapi_tests
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
History
=======

0.96.2 (2024-10-07)
-------------------
* Removed deprecated peewee autorollback option.

0.96.1 (2024-09-26)
-------------------
* Added annotated fastapi dependencies.
Expand Down
2 changes: 1 addition & 1 deletion apphelpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__author__ = """Scroll Tech"""
__email__ = "[email protected]"
__version__ = "0.96.1"
__version__ = "0.96.2"
1 change: 0 additions & 1 deletion apphelpers/db/peewee.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def create_pgdb_pool(
user=user,
password=password,
max_connections=max_connections,
autorollback=True,
register_hstore=False,
stale_timeout=60 * 2,
) # 2 minutes
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.96.1
current_version = 0.96.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/scrolltech/apphelpers",
version="0.96.1",
version="0.96.2",
zip_safe=False,
)

0 comments on commit 97ecf06

Please sign in to comment.