File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -102,34 +102,11 @@ if command -v pnpm &> /dev/null; then
102
102
fi
103
103
104
104
if command -v pip & > /dev/null; then
105
- echo " Updating PIP and all installed Python packages..."
106
-
107
- # Upgrade PIP itself first
105
+ echo " Updating PIP..."
108
106
python3 -m pip install --upgrade pip
109
-
110
- # Install system dependencies to prevent errors
111
- if command -v apt & > /dev/null; then
112
- sudo apt install -y cmake pkg-config libvirt-dev libpq-dev gobject-introspection
113
- elif command -v dnf & > /dev/null; then
114
- sudo dnf install -y cmake pkgconf-pkg-config libvirt-devel postgresql-devel gobject-introspection
115
- elif command -v pacman & > /dev/null; then
116
- sudo pacman -S --needed --noconfirm cmake pkg-config libvirt postgresql-libs gobject-introspection
117
- fi
118
-
119
- # Get a list of outdated packages and upgrade them
120
- outdated_packages=$( pip list --outdated --format=columns | awk ' NR>2 {print $1}' )
121
-
122
- if [ -n " $outdated_packages " ]; then
123
- echo " Upgrading: $outdated_packages "
124
- echo " $outdated_packages " | xargs -n1 python3 -m pip install --upgrade
125
- else
126
- echo " All PIP packages are up to date."
127
- fi
128
107
fi
129
108
130
109
131
-
132
-
133
110
if command -v poetry & > /dev/null; then
134
111
echo " Updating Poetry packages..."
135
112
poetry self update
You can’t perform that action at this time.
0 commit comments