Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(docker): Swap two
RUN
statements in pythonbuild
The installation of ScanCode's requirements installs the packaging package version 21.3, see [1]. However, the recent Poetry versions (`>= 1.8.0`) require a packaging version `>= 22.0`, see [2]. If that isn't met, Poetry fails with [3]. Simply swap the `RUN` statements, so that the installation of ScanCode's requirement does not downgrade the packaging package, as a preparation for updating Poetry. [1]: https://github.com/nexB/scancode-toolkit/blob/4f49985c26b6b8f951f116dfa3fe39ce27bd4ce8/requirements.txt#L44. [2]: python-poetry/poetry#9029 (comment) [3]: `No module named 'packaging.metadata'` Signed-off-by: Frank Viernau <frank_viernau@epam.com>
- Loading branch information