Skip to content

Commit

Permalink
Release 0.14.2 (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet authored Oct 23, 2023
1 parent ee5b5ad commit d28682b
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
skip = .git/*,./doc/_build/*,./doc/gallery/*,.tox/*,./reports/*,./issues/*,*.sublime-workspace
skip = .git/*,./doc/_build/*,./doc/gallery/*,.tox/*,./reports/*,./issues/*,*.sublime-workspace,./test_container/*
ignore-words-list = nd
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Your reports must include the following features:
1. **succinct description** of the problem - typically a line or two at most.
2. **succinct, dependency-free code** which reproduces the problem, otherwise known as a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/mcve) example.
IF YOU DO NOT HAVE A COMPLETE, RUNNABLE TEST CASE WRITTEN DIRECTLY IN THE TEXTAREA BELOW, YOUR ISSUE MAY BE CLOSED.
**Please note that if you do not have a complete and runnable test case written directly in the textarea below, then your issue will be very hard for us to process and may be closed.**
3. **complete stack traces for all errors** - please avoid screenshots, use formatted text inside issues.
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3.8
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -17,11 +17,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.10.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.6
hooks:
- id: codespell
- repo: https://github.com/PyCQA/pydocstyle
Expand All @@ -31,6 +31,6 @@ repos:
additional_dependencies: ["tomli"]
exclude: "tests"
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
9 changes: 8 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
GeoAlchemy 2 Changelog
======================

0.14.2
------

* Test: Add a container to run the tests @mbway (#479)
* Feat: Added type stub generation for dynamic functions @mbway (#478)
* Docs: Add new mapping style example in the gallery @adrien-berchet (#473)

0.14.1
------

* Add type annotations @shuttle1987 (#464)
* Tests: Minor improvements @adrien-berchet (#465)
* Test: Minor improvements @adrien-berchet (#465)
* Docs: Add util to replace keywords in docstrings @adrien-berchet (#461)
* Docs: Fix badges and link to docs @adrien-berchet (#460)

Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include *.rst
include *.txt
include geoalchemy2/functions.pyi
include geoalchemy2/py.typed
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Contributors:
* ijl (https://github.com/ijl)
* Loïc Gasser (https://github.com/loicgasser)
* Marcel Radischat (https://github.com/quiqua)
* Matt Broadway (https://github.com/mbway)
* rapto (https://github.com/rapto)
* Serge Bouchut (https://github.com/SergeBouchut)
* Tobias Bieniek (https://github.com/Turbo87)
Expand Down
2 changes: 1 addition & 1 deletion geoalchemy2/_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
('ST_AsText', None,
'''Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.'''),
('ST_AsBinary', None,
'''[gometry] Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.\nOR\n[raster] Return the Well-Known Binary (WKB) representation of the raster.'''),
'''[geometry] Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.\nOR\n[raster] Return the Well-Known Binary (WKB) representation of the raster.'''),
('ST_AsEWKB', None,
'''Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.'''),
('ST_AsHEXEWKB', None,
Expand Down
2 changes: 1 addition & 1 deletion geoalchemy2/functions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ class ST_AsText(GenericFunction):

class ST_AsBinary(GenericFunction):
"""
[gometry] Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID
[geometry] Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID
meta data.
OR
[raster] Return the Well-Known Binary (WKB) representation of the raster.
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,12 @@ testpaths = [
]

# MYPY
[tool.mypy]
[[tool.mypy.overrides]]
module = [
"importlib.*",
"psycopg2cffi",
"rasterio",
"shapely",
"shapely.*"
]
ignore_missing_imports = true
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ passenv=
SPATIALITE_LIBRARY_PATH
setenv=
COVERAGE_FILE = {env:COVERAGE_FILE:.coverage-{envname}}
EXPECTED_COV = 90
EXPECTED_COV = 93
pypy3: EXPECTED_COV = 85
sqla14: PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --mypy-ignore-missing-imports
deps=
sqla14: SQLAlchemy==1.4.*
sqlalatest: SQLAlchemy
Expand Down

0 comments on commit d28682b

Please sign in to comment.