python-sql 1.4.2__tar.gz → 1.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. {python-sql-1.4.2 → python_sql-1.5.0}/.gitlab-ci.yml +3 -8
  2. {python-sql-1.4.2 → python_sql-1.5.0}/.hgtags +2 -0
  3. {python-sql-1.4.2 → python_sql-1.5.0}/CHANGELOG +11 -0
  4. {python-sql-1.4.2 → python_sql-1.5.0}/PKG-INFO +2 -1
  5. {python-sql-1.4.2 → python_sql-1.5.0}/python_sql.egg-info/PKG-INFO +2 -1
  6. {python-sql-1.4.2 → python_sql-1.5.0}/python_sql.egg-info/SOURCES.txt +1 -0
  7. {python-sql-1.4.2 → python_sql-1.5.0}/setup.py +1 -0
  8. {python-sql-1.4.2 → python_sql-1.5.0}/sql/__init__.py +483 -18
  9. {python-sql-1.4.2 → python_sql-1.5.0}/sql/functions.py +5 -2
  10. {python-sql-1.4.2 → python_sql-1.5.0}/sql/operators.py +2 -2
  11. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_combining_query.py +13 -1
  12. python_sql-1.5.0/sql/tests/test_insert.py +198 -0
  13. python_sql-1.5.0/sql/tests/test_merge.py +111 -0
  14. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_operators.py +12 -12
  15. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_select.py +47 -1
  16. {python-sql-1.4.2 → python_sql-1.5.0}/tox.ini +3 -3
  17. python-sql-1.4.2/sql/tests/test_insert.py +0 -105
  18. {python-sql-1.4.2 → python_sql-1.5.0}/.flake8 +0 -0
  19. {python-sql-1.4.2 → python_sql-1.5.0}/.isort.cfg +0 -0
  20. {python-sql-1.4.2 → python_sql-1.5.0}/COPYRIGHT +0 -0
  21. {python-sql-1.4.2 → python_sql-1.5.0}/MANIFEST.in +0 -0
  22. {python-sql-1.4.2 → python_sql-1.5.0}/README.rst +0 -0
  23. {python-sql-1.4.2 → python_sql-1.5.0}/python_sql.egg-info/dependency_links.txt +0 -0
  24. {python-sql-1.4.2 → python_sql-1.5.0}/python_sql.egg-info/top_level.txt +0 -0
  25. {python-sql-1.4.2 → python_sql-1.5.0}/setup.cfg +0 -0
  26. {python-sql-1.4.2 → python_sql-1.5.0}/sql/aggregate.py +0 -0
  27. {python-sql-1.4.2 → python_sql-1.5.0}/sql/conditionals.py +0 -0
  28. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/__init__.py +0 -0
  29. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_aggregate.py +0 -0
  30. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_alias.py +0 -0
  31. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_as.py +0 -0
  32. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_cast.py +0 -0
  33. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_collate.py +0 -0
  34. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_column.py +0 -0
  35. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_conditionals.py +0 -0
  36. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_delete.py +0 -0
  37. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_for.py +0 -0
  38. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_functions.py +0 -0
  39. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_join.py +0 -0
  40. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_lateral.py +0 -0
  41. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_literal.py +0 -0
  42. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_order.py +0 -0
  43. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_table.py +0 -0
  44. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_update.py +0 -0
  45. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_values.py +0 -0
  46. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_window.py +0 -0
  47. {python-sql-1.4.2 → python_sql-1.5.0}/sql/tests/test_with.py +0 -0
@@ -10,9 +10,6 @@ stages:
10
10
 
11
11
  .check:
12
12
  stage: check
13
- rules:
14
- - if: $CI_MERGE_REQUEST_ID != null
15
- when: always
16
13
  image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
17
14
 
18
15
  check-flake8:
@@ -35,8 +32,6 @@ check-dist:
35
32
 
36
33
  .test:
37
34
  stage: test
38
- rules:
39
- - when: always
40
35
 
41
36
  .test-tox:
42
37
  extends: .test
@@ -59,13 +54,13 @@ test-tox-python:
59
54
  extends: .test-tox
60
55
  image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:${PYTHON_VERSION}
61
56
  script:
62
- - tox -e "py${PYTHON_VERSION/./}" -vv -- -v --output-file junit.xml
57
+ - tox -e "py${PYTHON_VERSION/./}" -- -v --output-file junit.xml
63
58
  parallel:
64
59
  matrix:
65
- - PYTHON_VERSION: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
60
+ - PYTHON_VERSION: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
66
61
 
67
62
  test-tox-pypy:
68
63
  extends: .test-tox
69
64
  image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/pypy:3
70
65
  script:
71
- - tox -e pypy3 -vv -- -v --output-file junit.xml
66
+ - tox -e pypy3 -- -v --output-file junit.xml
@@ -16,3 +16,5 @@ edc03ee84f0ac96d403d8f984d59fffa3274cd2f 1.3.0
16
16
  a317c40a4d60089ba9e465fbd64b78df24f9e890 1.4.0
17
17
  e71bbae3398cb6a0e72f97a0cada9fcdee2bddea 1.4.1
18
18
  fcb64787b51db2068061eb4aa13825abc1134916 1.4.2
19
+ 111e3e86865360f83a65c04fa48c55f3d2957ee3 1.4.3
20
+ 6f9066b83fe3a8c4699a8555ad1bc406f18974ff 1.5.0
@@ -1,3 +1,14 @@
1
+ Version 1.5.0 - 2024-05-13
2
+ * Skip alias on INSERT without ON CONFLICT or RETURNING
3
+ * Add MERGE
4
+ * Support UPSERT
5
+ * Remove default escape char on LIKE and ILIKE
6
+ * Add GROUPING SETS, CUBE, and ROLLUP
7
+
8
+ Version 1.4.3 - 2023-12-30
9
+ * Render common table expression in combining query
10
+ * Add support for Python 3.12
11
+
1
12
  Version 1.4.2 - 2023-06-25
2
13
  * Restore usage of alias in returning expression
3
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-sql
3
- Version: 1.4.2
3
+ Version: 1.5.0
4
4
  Summary: Library to write SQL queries
5
5
  Home-page: https://pypi.org/project/python-sql/
6
6
  Download-URL: https://downloads.tryton.org/python-sql/
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.8
23
23
  Classifier: Programming Language :: Python :: 3.9
24
24
  Classifier: Programming Language :: Python :: 3.10
25
25
  Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
26
27
  Classifier: Topic :: Database
27
28
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
29
  Requires-Python: >=3.5
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-sql
3
- Version: 1.4.2
3
+ Version: 1.5.0
4
4
  Summary: Library to write SQL queries
5
5
  Home-page: https://pypi.org/project/python-sql/
6
6
  Download-URL: https://downloads.tryton.org/python-sql/
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.8
23
23
  Classifier: Programming Language :: Python :: 3.9
24
24
  Classifier: Programming Language :: Python :: 3.10
25
25
  Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
26
27
  Classifier: Topic :: Database
27
28
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
29
  Requires-Python: >=3.5
@@ -33,6 +33,7 @@ sql/tests/test_insert.py
33
33
  sql/tests/test_join.py
34
34
  sql/tests/test_lateral.py
35
35
  sql/tests/test_literal.py
36
+ sql/tests/test_merge.py
36
37
  sql/tests/test_operators.py
37
38
  sql/tests/test_order.py
38
39
  sql/tests/test_select.py
@@ -47,6 +47,7 @@ setup(name='python-sql',
47
47
  'Programming Language :: Python :: 3.9',
48
48
  'Programming Language :: Python :: 3.10',
49
49
  'Programming Language :: Python :: 3.11',
50
+ 'Programming Language :: Python :: 3.12',
50
51
  'Topic :: Database',
51
52
  'Topic :: Software Development :: Libraries :: Python Modules',
52
53
  ],