diff --git a/0001-fix-test-code-nonetype.patch b/0001-fix-test-code-nonetype.patch deleted file mode 100644 index a6c49f8e33f31773071687a127cd9b582672ab50..0000000000000000000000000000000000000000 --- a/0001-fix-test-code-nonetype.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 3dee60c063f25c5c84f15a690ce09665659f27d0 Mon Sep 17 00:00:00 2001 -From: desert-sailor -Date: Mon, 19 May 2025 16:16:08 +0800 -Subject: [PATCH] fix test code nonetype - ---- - tests/conftest.py | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/tests/conftest.py b/tests/conftest.py -index 11747a4..97ed8d3 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -16,10 +16,11 @@ def get_project_dependencies(): - - def pytest_configure(config): - main_deps_specs = get_project_dependencies() -+ list_dists = filter(lambda dist:dist.metadata['Name'] is not None, distributions()) - all_dists = {canonicalize_name(dist.metadata['Name']): - (dist.metadata['Name'], dist.version) -- for dist in distributions()} -- -+ for dist in list_dists} -+ - # Main dependencies table - print(f"\n[{len(main_deps_specs)}] Main Dependencies:") - print("-" * 60) -@@ -48,4 +49,4 @@ def pytest_configure(config): - else: - line += pkg + ", " - if line: -- print(line.rstrip(", ")) -\ No newline at end of file -+ print(line.rstrip(", ")) --- -2.43.0 - diff --git a/python-safety.spec b/python-safety.spec index 6450a3db41403ef26b1a42f7329f47c4f99d717b..e6982513a446bafaaac02a51c907a3c05578fcc0 100644 --- a/python-safety.spec +++ b/python-safety.spec @@ -1,14 +1,13 @@ %global pypi_name safety Name: python-%{pypi_name} -Version: 3.5.1 +Version: 3.6.0 Release: 1 Summary: Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected. License: MIT URL: https://github.com/pyupio/safety Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz -Patch1: 0001-fix-test-code-nonetype.patch BuildArch: noarch @@ -81,6 +80,16 @@ k="${k-}${k+ and }not test_get_packages_licenses_without_api_key" %changelog +* Wed Jul 16 2025 Dongxing Wang - 3.6.0-1 +- Update package with version 3.6.0 + fix: issues with encoding in all the outputs + fix: restore missing codebase name prompt in scan command + fix: codebase init --link-to help text + feat: add Windows venv wrappers support + feat: add codebase init command + test: use tomllib in tests if available + fix: test isolation for firewall tests on unix-like systems + * Mon May 19 2025 Dongxing Wang - 3.5.1-1 - Update package with version 3.5.1 feat: add 'SAFETY_REQUEST_TIMEOUT_EVENTS' so users can use a custom timeout diff --git a/safety-3.5.1.tar.gz b/safety-3.5.1.tar.gz deleted file mode 100644 index bc17ae039efe7e2e0eaee99101f65c86c4684a94..0000000000000000000000000000000000000000 Binary files a/safety-3.5.1.tar.gz and /dev/null differ diff --git a/safety-3.6.0.tar.gz b/safety-3.6.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..029a2ee6b3f7e2fe5bacd1c511c23fc5cb995e7c Binary files /dev/null and b/safety-3.6.0.tar.gz differ