bcgov / bcgov/burn-severity-map
Update Analysis docker image to use a venv or not pin system dependencies
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 0
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 6
Description
need to create with --site-packages for qgis to enable easy upgrades to vulnerable system dependencies (example urllib3)
or... separate these from requirements and update the system image dependencies on build.
venv
```bash
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip install -r requirements.txt
```
change requirements.txt (This might be harder for feature development since we use UV) to remove these system managed dependencies
```
urllib3
requests
certifi
idna
charset-normalizer
six
python-dateutil
attrs
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Analysis Docker image definition and its requirements.txt; compare the venv approach with separating system-managed dependencies while checking how UV is used for feature development. Done means the image builds with the chosen dependency strategy, QGIS remains usable, and system dependencies such as urllib3 can be upgraded without being pinned by requirements.txt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- build-system, devops
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100