Skip to content

feat: pystac v2 #1524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/dependabot.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/pull_request_template.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
push:
branches:
- v2
pull_request:
branches:
- v2

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
os:
- ubuntu-latest
# - windows-latest
- macos-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Sync
run: uv sync
- name: Lint
run: scripts/lint
- name: Test
run: uv run pytest
- name: Test w/ validation extra
run: uv run --extra validation pytest
- name: Test w/ obstore extra
run: uv run --extra obstore pytest
build-docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Sync
run: uv sync
- name: Build
run: uv run mkdocs build
- name: Upload
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: site/
deploy-docs:
name: Deploy docs
if: github.ref == 'refs/heads/v2'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build-docs
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
126 changes: 0 additions & 126 deletions .github/workflows/continuous-integration.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/release.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .pre-commit-config.yaml

This file was deleted.

18 changes: 2 additions & 16 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
# with adaptations to use workspaces+projects instead of `uv pip`
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --group docs
- uv run sphinx-build -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

formats:
# Temporarily disabling PDF downloads due to problem with nbsphinx in LateX builds
# - pdf
- htmlzip

sphinx:
fail_on_warning: false
- uv sync --all-extras
- uv run --all-extras mkdocs build -d $READTHEDOCS_OUTPUT/html
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

Loading