i.e. the most recent commit hash. The container CI job then fails because it thinks these two are different things i.e.
#12 12.87 ERROR: Cannot install dodal 0.0.2.dev3+g6b387f6 (from git+https://github.com/DiamondLightSource/dodal.git@6b387f690f7978d2e3f0a4f180dd46b10e2623ba) and htss-rig-bluesky==0.1.dev58+g1ace857 because these package versions have conflicting dependencies.
I cannot determine exactly why, the workaround is to exclude the affected package from the lockfile altogether in .github/install_requirements/action.yml, in this case:
- name: Create lockfile
run: |
mkdir -p lockfiles
pip freeze --exclude-editable --exclude dodal > lockfiles/${{ inputs.requirements_file }}
# delete the self referencing line and make sure it isn't blank
sed -i '/file:/d' lockfiles/${{ inputs.requirements_file }}
shell: bash
When I add a dependency such as
to
pyproject.toml
, it gets locked intorequirements.txt
asi.e. the most recent commit hash. The container CI job then fails because it thinks these two are different things i.e.
I cannot determine exactly why, the workaround is to exclude the affected package from the lockfile altogether in
.github/install_requirements/action.yml
, in this case: