Skip to content

Commit 2c11d80

Browse files
committed
Cleanup project files and bump version
1 parent 36d3416 commit 2c11d80

File tree

4 files changed

+53
-40
lines changed

4 files changed

+53
-40
lines changed

.ruff.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
1+
# Changelog
2+
3+
## 0.7.3 (2025-05-30)
4+
5+
- Add tests for failure
6+
- Add psql native functions 'point' and 'polygon'
7+
8+
## 0.7.2 (2025-05-19)
9+
10+
- Feature: accept custom udf names for query processing
11+
12+
## 0.7.1 (2025-05-14)
13+
14+
- Fix adql translation for 'contains' and 'intersects'
15+
116
## 0.7.0 (2024-05-21)
217

318
major overhaul for ADQL 2.1 recommendation 2023-12-15
4-
- COOSYS is not required for the geometry constructors anymore, since it's deprecated
5-
- the geometry constructors return the correct datatype (double precision[])
6-
and correct units (degrees)
7-
- droped the maintenance/support for the translation from ADQL to MySQL.
8-
- bumped the version of `antlr4-python3-runtime` to 4.13.1
9-
- fixed `BOX` constructor, although it's deprecated in ADQL 2.1
10-
- fixed `CONTAINS` for the case `0=CONTAINS()`
11-
- fixed `INTERSECTS` for the case `0=INTERSECTS()`
12-
- new requirements for the `pg_sphere` extension
13-
([link](https://github.com/kimakan/pgsphere/tree/aiprdbms16))
14-
- removed not supported optional ADQL functions, such as `CENTROID`, `REGION`, etc.
15-
- replaced `setup.py` by `pyproject.toml` since `python setup.py install` is deprecated
19+
20+
- COOSYS is not required for the geometry constructors anymore, since it's deprecated
21+
- the geometry constructors return the correct datatype (double precision[])
22+
and correct units (degrees)
23+
- droped the maintenance/support for the translation from ADQL to MySQL.
24+
- bumped the version of `antlr4-python3-runtime` to 4.13.1
25+
- fixed `BOX` constructor, although it's deprecated in ADQL 2.1
26+
- fixed `CONTAINS` for the case `0=CONTAINS()`
27+
- fixed `INTERSECTS` for the case `0=INTERSECTS()`
28+
- new requirements for the `pg_sphere` extension
29+
([pg_sphere](https://github.com/kimakan/pgsphere/tree/aiprdbms16))
30+
- removed not supported optional ADQL functions, such as `CENTROID`, `REGION`, etc.
31+
- replaced `setup.py` by `pyproject.toml` since `python setup.py install` is deprecated
1632

1733
## 0.6.1 (2022-11-17)
1834

@@ -23,7 +39,6 @@ major overhaul for ADQL 2.1 recommendation 2023-12-15
2339
- bump the version of `antlr4-python3-runtime` to 4.11.1
2440
- added support for two custom functions - `gaia_healpix_index`, `pdist`
2541
- added support for `DISTINCT ON` , [Issue#11](https://github.com/aipescience/queryparser/issues/11)
26-
- added the `ILIKE` operator
27-
- fix installation of requirements.txt (e.g., the required version of
28-
antlr4-python3-runtime was overwritten by the most current one)
29-
42+
- added the `ILIKE` operator
43+
- fix installation of requirements.txt (e.g., the required version of
44+
antlr4-python3-runtime was overwritten by the most current one)

pyproject.toml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ name = "queryparser-python3"
77
description = "Package for parsing PostgreSQL/MySQL and translating ADQL to PostgreSQL/MySQL."
88
readme = "README.md"
99
dynamic = ["version"]
10-
license = {text = "Apache-2.0"}
11-
authors = [
12-
{name = "Gal Matijevic", email = "gmatijevic@aip.de"},
13-
]
10+
license = { text = "Apache-2.0" }
11+
authors = [{ name = "Gal Matijevic", email = "gmatijevic@aip.de" }]
1412
maintainers = [
15-
{name = "Kirill Makan", email = "kmakan@aip.de"},
13+
{ name = "Kirill Makan", email = "kmakan@aip.de" },
14+
{ name = "Simeon Reusch", email = "sreusch@aip.de" },
1615
]
1716
requires-python = ">=3.9"
1817
classifiers = [
@@ -26,32 +25,34 @@ classifiers = [
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
]
29-
dependencies = [
30-
"antlr4-python3-runtime==4.13.1",
31-
]
28+
dependencies = ["antlr4-python3-runtime==4.13.1"]
3229

3330
[project.optional-dependencies]
34-
test = [
35-
"pytest~=8.2.0",
36-
"PyYAML~=6.0",
37-
]
31+
test = ["pytest~=8.2.0", "PyYAML~=6.0"]
32+
dev = ["build", "ruff", "twine"]
3833

3934
[project.urls]
4035
Repository = "https://github.com/aipescience/queryparser.git"
4136
Issues = "https://github.com/aipescience/queryparser/issues"
4237
Changelog = "https://github.com/aipescience/queryparser/blob/master/CHANGELOG.md"
4338

39+
[tool.ruff]
40+
line-length = 120
41+
42+
[tool.ruff.format]
43+
quote-style = "single"
44+
4445
[tool.setuptools.dynamic]
45-
version = {attr = "queryparser.__version__"}
46+
version = { attr = "queryparser.__version__" }
4647

4748
[tool.setuptools]
4849
packages = [
49-
"queryparser",
50-
"queryparser.adql",
51-
"queryparser.common",
52-
"queryparser.mysql",
53-
"queryparser.postgresql",
54-
"queryparser.exceptions"
50+
"queryparser",
51+
"queryparser.adql",
52+
"queryparser.common",
53+
"queryparser.mysql",
54+
"queryparser.postgresql",
55+
"queryparser.exceptions",
5556
]
56-
package-dir = {"" = "lib"}
57+
package-dir = { "" = "lib" }
5758
include-package-data = true

src/queryparser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.7.2'
1+
__version__ = '0.7.3'

0 commit comments

Comments
 (0)