transifex-client: Fix build
We have updated python-slugify to 4.0.0 (or newer) which broke the build. This has happened several times before without actually breaking the software. So yeah, lets just accept newer versions and fix it if it breaks for some other reason in the future.
This commit is contained in:
@@ -15,9 +15,9 @@ buildPythonApplication rec {
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3<2.0" \
|
||||
--replace "six==1.11.0" "six<2.0.0" \
|
||||
--replace "python-slugify==1.2.6" "python-slugify<4.0.0"
|
||||
substituteInPlace requirements.txt --replace "urllib3<1.24" "urllib3>=1.24" \
|
||||
--replace "six==1.11.0" "six>=1.11.0" \
|
||||
--replace "python-slugify==1.2.6" "python-slugify>=1.2.6"
|
||||
'';
|
||||
|
||||
# Requires external resources
|
||||
|
||||
Reference in New Issue
Block a user