Skip to content

Commit

Permalink
build(deps): update urllib3 requirement from <2 to <3 (#719)
Browse files Browse the repository at this point in the history
* build(deps): update urllib3 requirement from <2 to <3

Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@0.3...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: rewrite cassettes, change queryables test

Planetary Computer added a queryables link, so we had to switch to a different
imperfect API.

* deps: relax urllib pin even futher

* ci: only do a smoke test for min-requirements

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pete Gadomski <[email protected]>
  • Loading branch information
dependabot[bot] and gadomski committed Sep 10, 2024
1 parent cc77bff commit 0732ecb
Show file tree
Hide file tree
Showing 61 changed files with 206,441 additions and 51,680 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,10 @@ jobs:
python-version: "3.10"
- name: Download uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dev requirements
run: uv pip install --system .[dev]
- name: Install with min requirements
run: uv pip install --system --resolution=lowest-direct --reinstall .
- name: Run pytest
run: pytest -Werror -s --block-network
run: uv pip install --system --resolution=lowest-direct .
- name: Run smoke test
run: stac-client search https://planetarycomputer.microsoft.com/api/stac/v1 -c sentinel-2-l2a --max-items 1

docs:
name: docs
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ dev = [
"tomli~=2.0; python_version<'3.11'",
"types-python-dateutil>=2.8.19,<2.10.0",
"types-requests~=2.31.0",
# temporary pin https://github.com/stac-utils/pystac-client/issues/509
"urllib3<2",
"urllib3~=2.0",
]
docs = [
"Sphinx~=8.0",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0732ecb

Please sign in to comment.