Skip to content

Commit 3352cb8

Browse files
Yuri ZmytrakovYuri Zmytrakov
authored andcommitted
fix: resolve merge conflicts
2 parents dbfe1b2 + dc20246 commit 3352cb8

File tree

19 files changed

+357
-57
lines changed

19 files changed

+357
-57
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install build dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
24+
pip install build twine
2525
2626
- name: Build and publish stac-fastapi-core
2727
working-directory: stac_fastapi/core
@@ -30,7 +30,7 @@ jobs:
3030
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3131
run: |
3232
# Build package
33-
python setup.py sdist bdist_wheel
33+
python -m build
3434
3535
# Publish to PyPI
3636
twine upload dist/*
@@ -42,7 +42,7 @@ jobs:
4242
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
4343
run: |
4444
# Build package
45-
python setup.py sdist bdist_wheel
45+
python -m build
4646
4747
# Publish to PyPI
4848
twine upload dist/*
@@ -54,7 +54,7 @@ jobs:
5454
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
5555
run: |
5656
# Build package
57-
python setup.py sdist bdist_wheel
57+
python -m build
5858
5959
# Publish to PyPI
6060
twine upload dist/*
@@ -66,7 +66,7 @@ jobs:
6666
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
6767
run: |
6868
# Build package
69-
python setup.py sdist bdist_wheel
69+
python -m build
7070
7171
# Publish to PyPI
7272
twine upload dist/*

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12+
### Changed
13+
14+
### Fixed
15+
16+
### Removed
17+
18+
### Updated
19+
20+
21+
## [v6.6.0] - 2025-10-21
22+
23+
### Added
24+
1225
- Spatial search support for collections via `bbox` parameter on `/collections` endpoint. Collections are now indexed with a `bbox_shape` field (GeoJSON polygon) derived from their spatial extent for efficient geospatial queries when created or updated. [#481](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/481
1326
- Introduced SFEOS Tools (`sfeos_tools/`) - An installable Click-based CLI package for managing SFEOS deployments. Initial command `add-bbox-shape` adds the `bbox_shape` field to existing collections for spatial search compatibility. Install with `pip install sfeos-tools[elasticsearch]` or `pip install sfeos-tools[opensearch]`. [#481](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/481)
1427
- Moved SFEOS Tools to its own repository at [Healy-Hyperspatial/sfeos-tools](https://github.com/Healy-Hyperspatial/sfeos-tools). The CLI package is now maintained separately. [#PR_NUMBER]
@@ -22,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2235
- Removed ENV_MAX_LIMIT environment variable; maximum limits are now handled by the default global limit environment variable. [#482](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/482)
2336
- Changed the default and maximum pagination limits for collections/items endpoints. [#482](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/482)
2437
- Removed the `rel=child` links to the collections from the landing page, as the listing was incomplete due to pagination. [#496](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/496)
38+
- Changed to pyproject.toml file from setup.py [#505](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/505)
2539

2640
### Fixed
2741

@@ -577,7 +591,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
577591
- Use genexp in execute_search and get_all_collections to return results.
578592
- Added db_to_stac serializer to item_collection method in core.py.
579593

580-
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.1...main
594+
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.6.0...main
595+
[v6.6.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.1...v6.6.0
581596
[v6.5.1]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.0...v6.5.1
582597
[v6.5.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.4.0...v6.5.0
583598
[v6.4.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.3.0...v6.4.0

stac_fastapi/core/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

stac_fastapi/core/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# stac-fastapi-core
2+
3+
Core functionality for stac-fastapi. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md).
4+
5+
## Package Information
6+
7+
- **Package name**: stac-fastapi-core
8+
- **Description**: Core functionality for STAC API implementations.
9+
- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/)
10+
- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/)
11+
12+
## Installation
13+
14+
```bash
15+
pip install stac-fastapi-core
16+
```
17+
18+
## Quick Start
19+
20+
For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/).

stac_fastapi/core/pyproject.toml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "stac_fastapi_core"
7+
description = "Core library for the Elasticsearch and Opensearch stac-fastapi backends."
8+
readme = "README.md"
9+
requires-python = ">=3.9"
10+
license = {text = "MIT"}
11+
authors = []
12+
classifiers = [
13+
"Intended Audience :: Developers",
14+
"Intended Audience :: Information Technology",
15+
"Intended Audience :: Science/Research",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
22+
"License :: OSI Approved :: MIT License",
23+
]
24+
keywords = [
25+
"STAC",
26+
"STAC-API",
27+
"FastAPI",
28+
"stac-fastapi",
29+
"Elasticsearch",
30+
"Opensearch",
31+
]
32+
dynamic = ["version"]
33+
dependencies = [
34+
"fastapi~=0.109.0",
35+
"attrs>=23.2.0",
36+
"pydantic>=2.4.1,<3.0.0",
37+
"stac_pydantic~=3.3.0",
38+
"stac-fastapi.types==6.0.0",
39+
"stac-fastapi.api==6.0.0",
40+
"stac-fastapi.extensions==6.0.0",
41+
"orjson~=3.11.0",
42+
"overrides~=7.4.0",
43+
"geojson-pydantic~=1.0.0",
44+
"pygeofilter~=0.3.1",
45+
"jsonschema~=4.0.0",
46+
"slowapi~=0.1.9",
47+
"redis==6.4.0",
48+
]
49+
50+
[project.urls]
51+
Homepage = "https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch"
52+
53+
[tool.hatch.version]
54+
path = "stac_fastapi/core/version.py"
55+
56+
[tool.hatch.build.targets.sdist]
57+
exclude = ["alembic", "tests", "scripts"]
58+
59+
[tool.hatch.build.targets.wheel]
60+
only-include = ["stac_fastapi"]

stac_fastapi/core/setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "6.5.1"
2+
__version__ = "6.6.0"

stac_fastapi/elasticsearch/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# stac-fastapi-elasticsearch
2+
3+
This is the Elasticsearch backend for stac-fastapi. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md).
4+
5+
## Package Information
6+
7+
- **Package name**: stac-fastapi-elasticsearch
8+
- **Description**: An implementation of STAC API based on the FastAPI framework with Elasticsearch.
9+
- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/)
10+
- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/)
11+
12+
## Installation
13+
14+
```bash
15+
pip install stac-fastapi-elasticsearch
16+
```
17+
18+
## Quick Start
19+
20+
For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/).
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "stac_fastapi_elasticsearch"
7+
description = "An implementation of STAC API based on the FastAPI framework with Elasticsearch."
8+
readme = "README.md"
9+
requires-python = ">=3.9"
10+
license = {text = "MIT"}
11+
authors = []
12+
classifiers = [
13+
"Intended Audience :: Developers",
14+
"Intended Audience :: Information Technology",
15+
"Intended Audience :: Science/Research",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
22+
"License :: OSI Approved :: MIT License",
23+
]
24+
keywords = [
25+
"STAC",
26+
"STAC-API",
27+
"FastAPI",
28+
"Elasticsearch",
29+
"stac-fastapi",
30+
]
31+
dynamic = ["version"]
32+
dependencies = [
33+
"stac-fastapi-core==6.6.0",
34+
"sfeos-helpers==6.6.0",
35+
"elasticsearch[async]~=8.19.1",
36+
"uvicorn~=0.23.0",
37+
"starlette>=0.35.0,<0.36.0",
38+
]
39+
40+
[project.urls]
41+
Homepage = "https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch"
42+
43+
[project.optional-dependencies]
44+
dev = [
45+
"pytest~=8.0",
46+
"pytest-cov~=4.0.0",
47+
"pytest-asyncio~=0.21.0",
48+
"pre-commit~=3.0.0",
49+
"ciso8601~=2.3.0",
50+
"httpx>=0.24.0,<0.28.0",
51+
]
52+
docs = [
53+
"mkdocs~=1.4.0",
54+
"mkdocs-material~=9.0.0",
55+
"pdocs~=1.2.0",
56+
]
57+
server = [
58+
"uvicorn[standard]~=0.23.0",
59+
]
60+
61+
[project.scripts]
62+
stac-fastapi-elasticsearch = "stac_fastapi.elasticsearch.app:run"
63+
64+
[tool.hatch.version]
65+
path = "stac_fastapi/elasticsearch/version.py"
66+
67+
[tool.hatch.build.targets.sdist]
68+
exclude = ["alembic", "tests", "scripts"]
69+
70+
[tool.hatch.build.targets.wheel]
71+
only-include = ["stac_fastapi"]

0 commit comments

Comments
 (0)