Show More
@@ -27,7 +27,7 b' node {' | |||
|
27 | 27 | stage('virtual env') { |
|
28 | 28 | def virtualenvscript = """$createvirtualenv |
|
29 | 29 | $activatevirtualenv |
|
30 | python -m pip install --upgrade pip | |
|
30 | python -m pip install --upgrade "pip<24.1" | |
|
31 | 31 | pip install --upgrade "setuptools<67" |
|
32 | 32 | pip install --upgrade pylint |
|
33 | 33 | pip install --upgrade pytest-cov |
@@ -33,7 +33,7 b' bash shell::' | |||
|
33 | 33 | cd kallithea |
|
34 | 34 | python3 -m venv venv |
|
35 | 35 | . venv/bin/activate |
|
36 | pip install --upgrade pip "setuptools<67" | |
|
36 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
37 | 37 | pip install --upgrade -e . -r dev_requirements.txt python-ldap python-pam |
|
38 | 38 | kallithea-cli config-create my.ini |
|
39 | 39 | kallithea-cli db-create -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp |
@@ -55,7 +55,7 b' repository, use the following commands i' | |||
|
55 | 55 | cd kallithea |
|
56 | 56 | python3 -m venv venv |
|
57 | 57 | . venv/bin/activate |
|
58 | pip install --upgrade pip "setuptools<67" | |
|
58 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
59 | 59 | pip install --upgrade -e . |
|
60 | 60 | python3 setup.py compile_catalog # for translation of the UI |
|
61 | 61 | |
@@ -98,7 +98,7 b' An additional benefit of virtualenv is t' | |||
|
98 | 98 | bash shell:: |
|
99 | 99 | |
|
100 | 100 | . /srv/kallithea/venv/bin/activate |
|
101 | pip install --upgrade pip "setuptools<67" | |
|
101 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
102 | 102 | |
|
103 | 103 | .. note:: You can't use UNIX ``sudo`` to source the ``activate`` script; it |
|
104 | 104 | will "activate" a shell that terminates immediately. |
@@ -104,7 +104,7 b' In a command prompt type (adapting paths' | |||
|
104 | 104 | |
|
105 | 105 | cd C:\Kallithea\Env\Scripts |
|
106 | 106 | activate |
|
107 | pip install --upgrade pip "setuptools<67" | |
|
107 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
108 | 108 | |
|
109 | 109 | The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar |
|
110 | 110 | (depending of your folder structure). Then type:: |
@@ -170,7 +170,7 b' In that CMD (loaded with VS2008 PATHs) t' | |||
|
170 | 170 | |
|
171 | 171 | cd C:\Kallithea\Env\Scripts (or similar) |
|
172 | 172 | activate |
|
173 | pip install --upgrade pip "setuptools<67" | |
|
173 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
174 | 174 | |
|
175 | 175 | The prompt will change into "(Env) C:\\Kallithea\\Env\\Scripts" or similar |
|
176 | 176 | (depending of your folder structure). Then type:: |
@@ -94,7 +94,7 b' install_kallithea() {' | |||
|
94 | 94 | ( |
|
95 | 95 | cd "$prefix" |
|
96 | 96 | . "$prefix-env/bin/activate" |
|
97 | pip install --quiet --upgrade pip "setuptools<67" mercurial $EXTRA | |
|
97 | pip install --quiet --upgrade "pip<24.1" "setuptools<67" mercurial $EXTRA | |
|
98 | 98 | pip install --quiet -e . |
|
99 | 99 | ) |
|
100 | 100 | } |
@@ -42,7 +42,7 b' for rev in $(hg log -r "$revset" -T \'{no' | |||
|
42 | 42 | cleanup |
|
43 | 43 | python3 -m venv "$venv" |
|
44 | 44 | source "$venv/bin/activate" |
|
45 | pip install --upgrade pip "setuptools<67" | |
|
45 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
46 | 46 | pip install -e . -r dev_requirements.txt python-ldap python-pam |
|
47 | 47 | |
|
48 | 48 | # run-all-cleanup |
@@ -30,7 +30,7 b" sed 's/>=/==/p' dev_requirements.txt >> " | |||
|
30 | 30 | |
|
31 | 31 | python3 -m venv "$venv" |
|
32 | 32 | source "$venv/bin/activate" |
|
33 | pip install --upgrade pip "setuptools<67" | |
|
33 | pip install --upgrade "pip<24.1" "setuptools<67" | |
|
34 | 34 | pip install -e . -r "$min_requirements" python-ldap python-pam 2> >(tee "$log" >&2) |
|
35 | 35 | |
|
36 | 36 | # Treat any message on stderr as a problem, for the caller to interpret. |
General Comments 0
You need to be logged in to leave comments.
Login now