From 5cdaf50c383899498eae42b3f4ff937382efaccb Mon Sep 17 00:00:00 2001 From: rzmk <30333942+rzmk@users.noreply.github.com> Date: Tue, 10 Feb 2026 15:04:47 -0500 Subject: [PATCH] fix: update pip install URLs for CKAN and extensions As per https://github.com/pypa/pip/issues/13157. --- src/main.rs | 2 +- src/steps.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f304792..13fb10c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -228,7 +228,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions venv.pip_upgrade("pip")?; venv.pip_install( format!( - "git+https://github.com/ckan/ckan.git@ckan-{}#egg=ckan[requirements]", + "ckan[requirements]@git+https://github.com/ckan/ckan.git@ckan-{}", config.ckan_version ) .as_str(), diff --git a/src/steps.rs b/src/steps.rs index af19091..b0fcad9 100644 --- a/src/steps.rs +++ b/src/steps.rs @@ -205,7 +205,7 @@ pub fn step_install_ckanext_scheming_extension( ); cmd!( sh, - "pip install -e git+https://github.com/ckan/ckanext-scheming.git#egg=ckanext-scheming" + "pip install -e ckanext-scheming@git+https://github.com/ckan/ckanext-scheming.git" ) .run()?; let mut conf = ini::Ini::load_from_file("/etc/ckan/default/ckan.ini")?; @@ -245,7 +245,7 @@ pub fn step_install_datapusher_plus_extension( sh.change_dir("/usr/lib/ckan/default/src"); cmd!( sh, - "pip install -e git+https://github.com/dathere/datapusher-plus.git@main#egg=datapusher-plus" + "pip install -e datapusher-plus@git+https://github.com/dathere/datapusher-plus.git@main" ) .run()?; sh.change_dir("/usr/lib/ckan/default/src/datapusher-plus");