Skip to content

Commit 43ec9fc

Browse files
avoid broken pip 24.2
- it is broken on old macOS - python 3.12.5/6/7 has bundled pip 24.2
1 parent f7f2f23 commit 43ec9fc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Vagrantfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def install_pythons(boxname)
168168
return <<-EOF
169169
. ~/.bash_profile
170170
echo "PYTHON_CONFIGURE_OPTS: ${PYTHON_CONFIGURE_OPTS}"
171-
pyenv install 3.12.6 # tests, binary build
171+
pyenv install 3.12.4 # tests, binary build (3.12.5/6/7 has a broken pip on old macOS)
172172
pyenv install 3.11.3 # tests
173173
pyenv install 3.10.2 # tests
174174
pyenv install 3.9.4 # tests
@@ -189,8 +189,8 @@ def build_pyenv_venv(boxname)
189189
. ~/.bash_profile
190190
cd /vagrant/borg
191191
# use the latest 3.12 release
192-
pyenv global 3.12.6
193-
pyenv virtualenv 3.12.6 borg-env
192+
pyenv global 3.12.4
193+
pyenv virtualenv 3.12.4 borg-env
194194
ln -s ~/.pyenv/versions/borg-env .
195195
EOF
196196
end
@@ -236,8 +236,8 @@ def run_tests(boxname, skip_env)
236236
. ../borg-env/bin/activate
237237
if which pyenv 2> /dev/null; then
238238
# for testing, use the earliest point releases of the supported python versions:
239-
pyenv global 3.9.4 3.10.2 3.11.3 3.12.6
240-
pyenv local 3.9.4 3.10.2 3.11.3 3.12.6
239+
pyenv global 3.9.4 3.10.2 3.11.3 3.12.4
240+
pyenv local 3.9.4 3.10.2 3.11.3 3.12.4
241241
fi
242242
# otherwise: just use the system python
243243
# some OSes can only run specific test envs, e.g. because they miss FUSE support:

requirements.d/development.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
setuptools >=45, !=60.6.0, !=60.7.0
22
setuptools_scm
3-
pip ==24.1
3+
pip !=24.2
44
wheel
55
virtualenv
66
build

0 commit comments

Comments
 (0)