Closed spwoodcock closed 2 months ago
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@dakotabenjamin i just verified this, can be merged.
Errors after merging, which weren't caught because they are in server instantiation:
+ sudo apt-get -q -y install libgeos-3.9.0 libgeos-dev
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libgeos-3.9.0
E: Couldn't find any package by glob 'libgeos-3.9.0'
E: Couldn't find any package by regex 'libgeos-3.9.0'
+ sudo apt-get -q -y install libproj19 libproj-dev
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libproj19
In addition, a slew of errors compiling sklearn during pip install. edit: and a warning that might be related:
/tmp/pip-build-env-ao16q_16/overlay/lib/python3.8/site-packages/scipy/__init__.py:143: UserWarning: A NumPy version >=1.19.5 and <1.27.0 is required for this version of SciPy (detected version 1.17.3)
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Any way we can test the Cloudformation (I assume) stuff locally?
It's a bit baffling how the libgeos install would have broken when this PR updates dockerfiles 😯
The second issue around the numpy version can be fixed by pinning the numpy version explicitly (if sklearn requires this)
@spwoodcock We can use https://www.localstack.cloud/ to run the EC2 instance with the defined user-data scripts locally, but i am not sure if it supports the AMI we are using. Let me check. Otherwise i will spin up a EC2 in the AWS to validate everything.
What type of PR is this? (check all applicable)
Related Issue
Fixes https://github.com/hotosm/tasking-manager/issues/6552
Describe this PR
--workers
flag for Gunicorn (can be set byWEB_CONCURRENCY
env var instead).inherit_metadata
strategy (required PDM > 2.15).Review Guide
Notes for the reviewer. How to test this change?
Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?