14
0

Accepting request 1283477 from devel:languages:python

- 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/request/show/1283477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zc.buildout?expand=0&rev=23
This commit is contained in:
2025-06-06 20:42:52 +00:00
committed by Git OBS Bridge
4 changed files with 54 additions and 23 deletions

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Fri Jun 6 03:07:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b89ad69caafa9d87afe94d2d81263baddbf05436ade1138d7bd6437475cb2c7
size 188971

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ff32bf469648215cab0652db8ba6b206145e7a3bf43aa2c7c08958da2338c2e
size 266147