同步操作将从 src-openEuler/python-safety 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global pypi_name safetyName: python-%{pypi_name}Version: 3.6.0Release: 2Summary: Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.License: MITURL: https://github.com/pyupio/safetySource0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gzBuildArch: noarchBuildRequires: python3-develBuildRequires: python3-setuptoolsBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-editablesBuildRequires: python3-hatch-vcsBuildRequires: python3-hatchling# for testBuildRequires: python3-coverageBuildRequires: python3-pytestBuildRequires: python3-pyinstallerBuildRequires: python3-tomliBuildRequires: python3-clickBuildRequires: python3-dparseBuildRequires: python3-richBuildRequires: python3-typerBuildRequires: python3-tomlkitBuildRequires: python3-safety-schemasBuildRequires: python3-AuthlibBuildRequires: python3-jinja2BuildRequires: python3-httpxBuildRequires: python3-filelockBuildRequires: python3-psutilBuildRequires: python3-tenacityBuildRequires: python3-nltk%descriptionSafety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected. Safety can be run on developer machines, in CI/CD pipelines and on production systems.%package -n python3-%{pypi_name}Summary: %{summary}%{?python_provide:%python_provide python3-%{pypi_name}}%description -n python3-%{pypi_name}Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected. Safety can be run on developer machines, in CI/CD pipelines and on production systems.%prep%autosetup -n %{pypi_name}-%{version} -p1sed -i 's/~=/>=/g' pyproject.tomlsed -i 's#<2.10.0#<2.12#g' pyproject.toml%build%pyproject_build%install%pyproject_install%check# skip test_announcements_if_is_not_tty for ci nowebk="${k-}${k+ and }not test_announcements_if_is_not_tty"# skip test_check_live_cached for ci nowebk="${k-}${k+ and }not test_check_live_cached"# skip test_check_live for ci nowebk="${k-}${k+ and }not test_check_live"# skip test_get_packages_licenses_without_api_key for ci nowebk="${k-}${k+ and }not test_get_packages_licenses_without_api_key"%pytest -- -k "${k-}" -vv%files -n python3-%{pypi_name}%doc README.md%license LICENSES%{python3_sitelib}/%{pypi_name}%{python3_sitelib}/%{pypi_name}-*.dist-info%{_bindir}/safety%changelog* Thu Aug 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 3.6.0-2- Add pytest -vv and check testcase duration* Wed Jul 16 2025 Dongxing Wang <dxwangk@isoftstone.com> - 3.6.0-1- Update package with version 3.6.0fix: issues with encoding in all the outputsfix: restore missing codebase name prompt in scan commandfix: codebase init --link-to help textfeat: add Windows venv wrappers supportfeat: add codebase init commandtest: use tomllib in tests if availablefix: test isolation for firewall tests on unix-like systems* Mon May 19 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 3.5.1-1- Update package with version 3.5.1feat: add 'SAFETY_REQUEST_TIMEOUT_EVENTS' so users can use a custom timeoutfeat: improved rendering of the warning messagesfeat: added resolution of installed packagesfeat: add meta client headers to all requestsfeat: include other category in the init scanfeat: add new onboarding eventsfeat: displaying package installation warningsfeat: integrate full support for poetryfeat: configuring the repository URL using project idfeat: add security events for firewall users* Wed Sep 20 2023 luluo12 <luluoc@isoftstone.com> - 2.3.5-2- add self-check.* Mon Jun 26 2023 luolu12 <luluoc@isoftstone.com> - 2.3.5-1- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。