From d385de14a65ce1c124e9bdcae8ce9d34929ca7ef560970a90006ed6bf061aeaa Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 6 Jun 2025 03:46:53 +0000 Subject: [PATCH] - Update to 4.1.10: * Breaking changes: + Drop Python 3.8 support. Require 3.9 as minimum. + Add dependency on packaging. + Require setuptools >= 49.0.0. + Remove support for distribute, which was probably already broken. + Drop support for Python 2. Require Python 3.8 as minimum. * New features: + In the ls testing method, add keyword argument lowercase_and_sort_output. * Bug fixes: + Fix accidental changes to PYTHONPATH in os.environ when calling pip install. + Use the canonical name of a package when checking for a version constraint. + Get actual project name from dist. + Prevent getting package pages twice. + No longer recompile py files if we moved the dist. This code was never updated for Python 3. + Require at least packaging version 23.2. + Implement PEP 503: request normalized package url on PyPI servers. + Fix error adding minimum zc.buildout version as requirement. + Support Python 3.12 and 3.13. This only needed a few test fixes. - Switch to pyproject macros. - No more greedy globs in %files. - Run at least a portion of the testsuite. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=47 --- python-zc.buildout.changes | 30 ++++++++++++++++++++++++++++ python-zc.buildout.spec | 41 +++++++++++++++++++------------------- zc.buildout-3.3.tar.gz | 3 --- zc_buildout-4.1.10.tar.gz | 3 +++ 4 files changed, 54 insertions(+), 23 deletions(-) delete mode 100644 zc.buildout-3.3.tar.gz create mode 100644 zc_buildout-4.1.10.tar.gz diff --git a/python-zc.buildout.changes b/python-zc.buildout.changes index e58a780..65bb448 100644 --- a/python-zc.buildout.changes +++ b/python-zc.buildout.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Fri Jun 6 03:07:31 UTC 2025 - Steve Kowalik + +- Update to 4.1.10: + * Breaking changes: + + Drop Python 3.8 support. Require 3.9 as minimum. + + Add dependency on packaging. + + Require setuptools >= 49.0.0. + + Remove support for distribute, which was probably already broken. + + Drop support for Python 2. Require Python 3.8 as minimum. + * New features: + + In the ls testing method, add keyword argument + lowercase_and_sort_output. + * Bug fixes: + + Fix accidental changes to PYTHONPATH in os.environ when calling pip + install. + + Use the canonical name of a package when checking for a version + constraint. + + Get actual project name from dist. + + Prevent getting package pages twice. + + No longer recompile py files if we moved the dist. This code was never + updated for Python 3. + + Require at least packaging version 23.2. + + Implement PEP 503: request normalized package url on PyPI servers. + + Fix error adding minimum zc.buildout version as requirement. + + Support Python 3.12 and 3.13. This only needed a few test fixes. +- Switch to pyproject macros. +- No more greedy globs in %files. +- Run at least a portion of the testsuite. + ------------------------------------------------------------------- Wed Nov 20 18:27:41 UTC 2024 - Dirk Müller diff --git a/python-zc.buildout.spec b/python-zc.buildout.spec index 77db176..8ef70b6 100644 --- a/python-zc.buildout.spec +++ b/python-zc.buildout.spec @@ -1,7 +1,7 @@ # # spec file for package python-zc.buildout # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,30 +18,29 @@ %{?sle15_python_module_pythons} Name: python-zc.buildout -Version: 3.3 +Version: 4.1.10 Release: 0 Summary: System for managing development buildouts License: ZPL-2.1 -Group: Development/Languages/Python URL: https://pypi.python.org/pypi/zc.buildout -Source: https://files.pythonhosted.org/packages/source/z/zc.buildout/zc.buildout-%{version}.tar.gz +Source: https://github.com/buildout/buildout/archive/refs/tags/%{version}.tar.gz#/zc_buildout-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools +Requires: python-packaging >= 23.2 +Requires: python-pip +Requires: python-setuptools >= 49 +Requires: python-wheel Requires(post): update-alternatives Requires(postun): update-alternatives Provides: python-zc_buildout = %{version} Obsoletes: python-zc_buildout < %{version} BuildArch: noarch # SECTION test requirements -# disabled because of unprovideable requirements and not shipped test files -#BuildRequires: %%{python_module bobo} -#BuildRequires: %%{python_module manuel} -#BuildRequires: %%{python_module zc.recipe.deployment} -#BuildRequires: %%{python_module zc.zdaemonrecipe} -#BuildRequires: %%{python_module zdaemon} -#BuildRequires: %%{python_module zope.testing} +BuildRequires: %{python_module manuel} +BuildRequires: %{python_module zope.testing} # /SECTION %python_subpackages @@ -53,19 +52,18 @@ Buildout is a project designed to solve 2 problems: * Repeatable assembly of programs from Python software distributions %prep -%setup -q -n zc.buildout-%{version} +%setup -q -n buildout-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/buildout -%python_expand %fdupes %{buildroot}%{$python_sitelib}/zc/buildout -%python_expand %fdupes %{buildroot}%{$python_sitelib}/zc.buildout-2.9.5-py%{$python_version}.egg-info +%python_expand %fdupes %{buildroot}%{$python_sitelib} -#%%check -#%%python_exec setup.py test +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python src/zc/buildout/tests/test_all.py %post %python_install_alternative buildout @@ -76,7 +74,10 @@ Buildout is a project designed to solve 2 problems: %files %{python_files} %doc README.rst CHANGES.rst COPYRIGHT.txt %license LICENSE.txt -%{python_sitelib}/* +%dir %{python_sitelib}/zc +%{python_sitelib}/zc/buildout +%{python_sitelib}/zc.buildout-%{version}-py*-nspkg.pth +%{python_sitelib}/zc[._]buildout-%{version}.dist-info %python_alternative %{_bindir}/buildout %changelog diff --git a/zc.buildout-3.3.tar.gz b/zc.buildout-3.3.tar.gz deleted file mode 100644 index 4d61aa6..0000000 --- a/zc.buildout-3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b89ad69caafa9d87afe94d2d81263baddbf05436ade1138d7bd6437475cb2c7 -size 188971 diff --git a/zc_buildout-4.1.10.tar.gz b/zc_buildout-4.1.10.tar.gz new file mode 100644 index 0000000..3c667c8 --- /dev/null +++ b/zc_buildout-4.1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ff32bf469648215cab0652db8ba6b206145e7a3bf43aa2c7c08958da2338c2e +size 266147