-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for stac-fastapi v3.0.0a release (#234)
**Related Issue(s):** - #238 - #247 - #249 - stac-utils/stac-fastapi-pgstac#108 - stac-utils/stac-fastapi#685 - stac-utils/stac-fastapi#687 - stac-utils/stac-fastapi#690 - **Description:** Update stac-fastapi parent libraries to v3.0.0a. There are quite a few changes made in this pr. **PR Checklist:** - [x] Code is formatted and linted (run `pre-commit run --all-files`) - [x] Tests pass (run `make test`) - [x] Documentation has been updated to reflect changes, if applicable - [x] Changes are added to the changelog --------- Co-authored-by: pedro-cf <[email protected]>
- Loading branch information
Showing
22 changed files
with
551 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ jobs: | |
- 9202:9202 | ||
strategy: | ||
matrix: | ||
python-version: [ "3.8", "3.9", "3.10", "3.11"] | ||
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
|
||
name: Python ${{ matrix.python-version }} testing | ||
|
||
|
@@ -78,13 +78,21 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Lint code | ||
uses: pre-commit/[email protected] | ||
if: ${{ matrix.python-version == 3.11 }} | ||
run: | | ||
python -m pip install pre-commit | ||
pre-commit run --all-files | ||
- name: Install pipenv | ||
run: | | ||
python -m pip install --upgrade pipenv wheel | ||
- name: Install core library stac-fastapi | ||
run: | | ||
pip install ./stac_fastapi/core | ||
- name: Install elasticsearch stac-fastapi | ||
run: | | ||
pip install ./stac_fastapi/elasticsearch[dev,server] | ||
|
@@ -93,16 +101,12 @@ jobs: | |
run: | | ||
pip install ./stac_fastapi/opensearch[dev,server] | ||
- name: Install core library stac-fastapi | ||
run: | | ||
pip install ./stac_fastapi/core | ||
- name: Run test suite against Elasticsearch 7.x | ||
run: | | ||
pipenv run pytest -svvv | ||
env: | ||
ENVIRONMENT: testing | ||
ES_PORT: 9200 | ||
ES_PORT: 9400 | ||
ES_HOST: 172.17.0.1 | ||
ES_USE_SSL: false | ||
ES_VERIFY_CERTS: false | ||
|
@@ -113,7 +117,7 @@ jobs: | |
pipenv run pytest -svvv | ||
env: | ||
ENVIRONMENT: testing | ||
ES_PORT: 9400 | ||
ES_PORT: 9200 | ||
ES_HOST: 172.17.0.1 | ||
ES_USE_SSL: false | ||
ES_VERIFY_CERTS: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.