Skip to content

Commit f0cccde

Browse files
committed
Updated version
1 parent e2ec706 commit f0cccde

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.0.36"
9+
version = "2.0.38"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [
@@ -16,7 +16,7 @@ dependencies = [
1616
'GitPython',
1717
'packaging',
1818
'python-dotenv',
19-
'socket-sdk-python>=2.0.15'
19+
'socket-sdk-python>=2.0.20'
2020
]
2121
readme = "README.md"
2222
description = "Socket Security CLI for CI/CD"

scripts/build_container.sh

+14-14
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ fi
3232

3333
if [ $ENABLE_PYPI_BUILD = "pypi-build=prod" ]; then
3434
echo "Doing production build"
35-
if ! python -m build --wheel --sdist; then
36-
echo "Build failed"
37-
exit 1
38-
fi
39-
40-
if ! twine upload dist/*$VERSION*; then
41-
echo "Upload to PyPI failed"
42-
exit 1
43-
fi
44-
45-
if ! verify_package $VERSION "https://pypi.org/simple"; then
46-
echo "Failed to verify package on PyPI"
47-
exit 1
48-
fi
35+
# if ! python -m build --wheel --sdist; then
36+
# echo "Build failed"
37+
# exit 1
38+
# fi
39+
#
40+
# if ! twine upload dist/*$VERSION*; then
41+
# echo "Upload to PyPI failed"
42+
# exit 1
43+
# fi
44+
#
45+
# if ! verify_package $VERSION "https://pypi.org/simple"; then
46+
# echo "Failed to verify package on PyPI"
47+
# exit 1
48+
# fi
4949

5050
docker build --no-cache --build-arg CLI_VERSION=$VERSION --platform linux/amd64,linux/arm64 -t socketdev/cli:$VERSION . \
5151
&& docker build --no-cache --build-arg CLI_VERSION=$VERSION --platform linux/amd64,linux/arm64 -t socketdev/cli:latest . \

socketsecurity/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.37'
2+
__version__ = '2.0.38'
33

socketsecurity/core/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@ def get_source_data(package: Package, packages: dict) -> list:
736736
source = ("direct", manifests)
737737
introduced_by.append(source)
738738
else:
739+
if not package.topLevelAncestors:
740+
return introduced_by
739741
for top_id in package.topLevelAncestors:
740742
top_package = packages.get(top_id)
741743
if top_package:

0 commit comments

Comments
 (0)