Skip to content

Commit 9bbf446

Browse files
committed
Merge branch 'master' into release
2 parents 7ab647e + dd73c4c commit 9bbf446

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
poetry run pytest -v tests
4545
4646
MacOS:
47-
runs-on: macos-latest
47+
runs-on: macos-13
4848
strategy:
4949
matrix:
5050
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']

emmett/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.5.9"
1+
__version__ = "2.5.10"

emmett/orm/migrations/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ def _store_current_revision_(self, ctx, source, dest):
122122
}
123123
source = to_tuple(source)
124124
dest = to_tuple(dest)
125-
if source is None:
125+
if not source and dest:
126126
_store_logs['new'](dest[0])
127127
ctx.db.Schema.insert(version=dest[0])
128128
ctx.db.commit()
129129
ctx._current_revision_ = [dest[0]]
130130
return
131-
if dest is None:
131+
if not dest and source:
132132
_store_logs['del'](source[0])
133133
ctx.db(ctx.db.Schema.version == source[0]).delete()
134134
ctx.db.commit()

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "emmett"
33

44
[tool.poetry]
55
name = "emmett"
6-
version = "2.5.9"
6+
version = "2.5.10"
77
description = "The web framework for inventors"
88
authors = ["Giovanni Barillari <gi0baro@d4net.org>"]
99
license = "BSD-3-Clause"
@@ -47,16 +47,16 @@ emmett = "emmett.cli:main"
4747
[tool.poetry.dependencies]
4848
python = "^3.8"
4949
click = ">=6.0"
50-
granian = "~1.0.2"
51-
emmett-crypto = "^0.5"
50+
granian = "~1.3.1"
51+
emmett-crypto = "^0.6"
5252
pendulum = "~3.0.0"
5353
pyDAL = "17.3"
5454
python-rapidjson = "^1.14"
5555
pyyaml = "^6.0"
5656
renoir = "^1.6"
5757
severus = "^1.1"
5858

59-
orjson = { version = "~3.9", optional = true }
59+
orjson = { version = "~3.10", optional = true }
6060

6161
uvicorn = { version = "^0.19.0", optional = true }
6262
h11 = { version = ">= 0.12.0", optional = true }

0 commit comments

Comments
 (0)