Skip to content

Commit ad4f1d5

Browse files
committed
version 20250501.2
1 parent acd6ef8 commit ad4f1d5

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ check: uv
77
format: uv
88
uv tool run ruff format
99
test: check
10-
uv run -m unittest tests
10+
uv run --extra test -m unittest tests
1111
build: test
1212
rm -rf dist/* build/*
1313
uv build

pydal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "20250501.1"
1+
__version__ = "20250501.2"
22

33
from .base import DAL
44
from .helpers.classes import SQLCustomType

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[project]
22
name = "pydal"
3-
version = "20250501.1"
43
authors = [{ name="Massimo Di Pierro", email="[email protected]" },]
54
description = 'pyDAL is a Database Abstraction Layer. It generates queries for SQlite, PotsgreSQL, MySQL, and other backends. It was originally part of the web2py frameworks but it is now an independent project. Example: db.define_table("thing",Field("name")) and db.thing.insert(name="Pizza")'
65
readme = "README.md"
@@ -10,6 +9,10 @@ classifiers = [
109
"License :: OSI Approved :: BSD License",
1110
"Operating System :: OS Independent",
1211
]
12+
dynamic = ["version"]
13+
14+
[tool.setuptools.dynamic]
15+
version = {attr = "pydal.__init__.__version__"}
1316

1417
[build-system]
1518
requires = ["setuptools"]
@@ -22,4 +25,9 @@ build-backend = "setuptools.build_meta"
2225

2326
[tool.ruff.lint]
2427
select = []
25-
ignore = ["E711", "E712"]
28+
ignore = ["E711", "E712"]
29+
30+
[project.optional-dependencies]
31+
test = [
32+
"legacy-cgi; python_version >= '3.13'",
33+
]

0 commit comments

Comments
 (0)