microsoft / microsoft/planetary-computer-apis

Update titiler-pgstac to 2.2.3 to avoid breaking change from starlette/Fastapi

Open
#166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
129
Forks
33
Avg merge
2d 20h
Merged PRs (30d)
1

Description

Starting with 0.93, FastAPI has updated the Starlette requirement which broke both titiler and titiler-pgstac (because Request.url_for now return a URL object, not a string), we fixed this upstream in titiler and titiler-pgstac.

https://github.com/microsoft/planetary-computer-apis/blob/90cd8463f3484ce087710ab22ec90df374e7d5a9/pctiler/setup.py#L18

ref: https://github.com/stac-utils/titiler-pgstac/pull/80

Note: the FastAPI/Starlette requirements is set in multiple place in the project (pctiler, pcstac, pccommon) so extra care should be taking when changing it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FastAPI and Starlette requirements in pctiler/setup.py, then inspect the corresponding requirements in pcstac and pccommon. Compare the requested versions with titiler-pgstac 2.2.3 and the linked upstream fix. Done means the project consistently uses compatible requirements in all named locations without leaving an older constraint behind.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.