Closed nevoodoo closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.30%. Comparing base (
ab809cd
) to head (1ac6958
). Report is 2 commits behind head on dev.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hey @nevoodoo, I suspect it's related to this: https://github.com/sqlalchemy/sqlalchemy/issues/7714 Rerunning pip-compile on my machine adds back in those changes:
Maybe run it in a docker container, running something like this (could even add it as a script to this repo) updates those requirements files in place:
#!/bin/bash
# To avoid pip-compile deciding requirements on your specific machine,
# we use a docker container to compile the requirements, which should match
# the architecture of the dev environment.
docker run --platform linux/amd64 -v $(pwd):/opt/metamist python:3.11 /bin/bash -c '
cd /opt/metamist;
pip install pip-tools;
pip-compile requirements.in > requirements.txt;
pip-compile --output-file=requirements-dev.txt requirements-dev.in requirements.in
'
With the release of https://github.com/docker/docker-py/pull/3257 we no longer need to have our
requests
package pinned in the deps, so just unpinning it here and also upgradingdocker
andtestcontainers
while we're at it.Also add a script to compile requirements with Docker to avoid Apple Silicon (M1) architecture differences.