Skip to content

Commit

Permalink
fix: minor fixes to make security scans work
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Sep 25, 2024
1 parent 58d3cec commit c3049f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,5 @@ yamllint==1.35.1
zipp==3.20.2
zope.deprecation==5.0
zope.interface==7.0.3
python-apt @ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/2.4.0ubuntu1/python-apt_2.4.0ubuntu1.tar.xz; sys.platform == "linux"
python-apt @ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/2.4.0ubuntu1/python-apt_2.4.0ubuntu1.tar.xz ; sys.platform == "linux"
pyinstaller==5.13.2; sys.platform == "win32"
2 changes: 1 addition & 1 deletion tools/freeze-requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requirements_fixups() {

# Python apt library pinned to source.
sed -i '/python-apt=*/d' "$req_file"
echo 'python-apt @ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/2.4.0ubuntu1/python-apt_2.4.0ubuntu1.tar.xz; sys.platform == "linux"' >> "$req_file"
echo 'python-apt @ https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/python-apt/2.4.0ubuntu1/python-apt_2.4.0ubuntu1.tar.xz ; sys.platform == "linux"' >> "$req_file"

# https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463
sed -i '/pkg[-_]resources==0.0.0/d' "$req_file"
Expand Down

0 comments on commit c3049f1

Please sign in to comment.