17
0

Compare commits

11 Commits

Author SHA256 Message Date
9325d73644 Accepting request 1297180 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1297180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zc.buildout?expand=0&rev=25
2025-08-03 11:38:14 +00:00
0b161f3f23 - update to version 4.1.11:
- Bug fixes:
 - Fix development installs to still work when using setuptools 80.0.0.
   From then on, setuptools internally calls ``pip install --editable``.
   Note that "distutils scripts" can no longer be detected with setuptools 80.
   This seems an ancient technology, and probably hardly used.
 - Use a copy of ``package_index.py`` from ``setuptools`` 80.2.0.
   This fixes compatibility with ``setuptools`` 80.3.0 where this module was removed.
   Merged some of our patches into this copy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=51
2025-07-26 20:53:16 +00:00
5c5f647bb9 Accepting request 1286310 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zc.buildout?expand=0&rev=24
2025-06-17 16:23:30 +00:00
864aca5e0a - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=49
2025-06-17 09:17:52 +00:00
869e5d4f68 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
2025-06-06 20:42:52 +00:00
d385de14a6 - 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
2025-06-06 03:46:53 +00:00
9fe848cd0e Accepting request 1225395 from devel:languages:python
- update to 3.3:
  * Allow the -I option in the Python interpreter wrapper
    installed by buildout when using the zc.recipe.egg recipe's
    interpreter = directive. This solves the issue when VSCode
    calls the designated Python interpreter for a workspace with
    this option to determine the Python version etc. (#627)
  * Allow the -I option in the Python interpreter wrapper
    installed by buildout when using the zc.recipe.egg recipe's
    interpreter = directive. This solves the issue when VSCode
    calls the designated Python interpreter for a workspace with
    this option to determine the Python version etc.
  * Add config option: optional-extends. This is the same as the
    extends option, but then for optional files. The names must
    be file paths, not URLs.  If the path does not exist,  it is
    silently ignored. This is useful for optionally loading a
    local.cfg or custom.cfg with options specific for the
    developer or the server. [maurits]
  * Fix: a variable defined with initial += was undefined and
    would lead to a corrupted .installed.cfg. Fixes issue 641.
    [distributist]
  * Fix: extends with increments could result in missing values.
    Buildout processes them in the correct order now and combines
    them correctly. Fixes issue 176 and issue 629. [distributist]
  * Fix: Multiple += or /-= in one file would lose assignment in
    a previous file. Fixes issue 656. [distributist]

  * Patch pkg_resources.Distribution to make install of unpinned versions quicker. Most obvious with setuptools.
- Update to version 2.13.8
- update to version 2.13.7:
 - Fix confusion when using multiple Python versions and

OBS-URL: https://build.opensuse.org/request/show/1225395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zc.buildout?expand=0&rev=22
2024-11-21 14:14:43 +00:00
5725cebeb1 * Allow the -I option in the Python interpreter wrapper
* Patch pkg_resources.Distribution to make install of unpinned versions quicker. Most obvious with setuptools.
- Update to version 2.13.8
- update to version 2.13.7:
 - Fix confusion when using multiple Python versions and
    unintendional use of zc.recipe.egg-2.0.0a3.
  * If buildout is bootstrapped with a non-final release, it won't downgrade

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=45
2024-11-20 18:29:13 +00:00
86eff837cf - update to 3.3:
*  Allow the -I option in the Python interpreter wrapper
    installed by buildout when using the zc.recipe.egg recipe's
    interpreter = directive. This solves the issue when VSCode
    calls the designated Python interpreter for a workspace with
    this option to determine the Python version etc. (#627)
  * Allow the -I option in the Python interpreter wrapper
    installed by buildout when using the zc.recipe.egg recipe's
    interpreter = directive. This solves the issue when VSCode
    calls the designated Python interpreter for a workspace with
    this option to determine the Python version etc.
  * Add config option: optional-extends. This is the same as the
    extends option, but then for optional files. The names must
    be file paths, not URLs.  If the path does not exist,  it is
    silently ignored. This is useful for optionally loading a
    local.cfg or custom.cfg with options specific for the
    developer or the server. [maurits]
  * Fix: a variable defined with initial += was undefined and
    would lead to a corrupted .installed.cfg. Fixes issue 641.
    [distributist]
  * Fix: extends with increments could result in missing values.
    Buildout processes them in the correct order now and combines
    them correctly. Fixes issue 176 and issue 629. [distributist]
  * Fix: Multiple += or /-= in one file would lose assignment in
    a previous file. Fixes issue 656. [distributist]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=44
2024-11-20 18:27:45 +00:00
88cff70a6c Accepting request 1199496 from devel:languages:python
- update to 3.1.0:
  * Drop support for Python 3.5.  It is unsupported, and testing
    it is too hard. [maurits]
  * Normalize package names when gathering packages. This should
    help find all distributions for package name.space, whether
    they are called name.space-1.0.tar.gz with a dot or
    name_space-1.0.tar.gz with an underscore (created with
    setuptools 69.3 or higher). [maurits]
  * Fix ImportError: cannot import name packaging from
    pkg_resources with setuptools 70. Done by adding a
    compatibility module that tries to import packaging from
    several places. Fixes issue 648. [maurits]

OBS-URL: https://build.opensuse.org/request/show/1199496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zc.buildout?expand=0&rev=21
2024-09-09 12:44:44 +00:00
8dda6376f3 - update to 3.1.0:
* Drop support for Python 3.5.  It is unsupported, and testing
    it is too hard. [maurits]
  * Normalize package names when gathering packages. This should
    help find all distributions for package name.space, whether
    they are called name.space-1.0.tar.gz with a dot or
    name_space-1.0.tar.gz with an underscore (created with
    setuptools 69.3 or higher). [maurits]
  * Fix ImportError: cannot import name packaging from
    pkg_resources with setuptools 70. Done by adding a
    compatibility module that tries to import packaging from
    several places. Fixes issue 648. [maurits]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zc.buildout?expand=0&rev=42
2024-09-08 16:37:04 +00:00
4 changed files with 129 additions and 37 deletions

View File

@@ -1,3 +1,96 @@
-------------------------------------------------------------------
Sat Jul 26 20:30:01 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
- update to version 4.1.11:
- Bug fixes:
- Fix development installs to still work when using setuptools 80.0.0.
From then on, setuptools internally calls ``pip install --editable``.
Note that "distutils scripts" can no longer be detected with setuptools 80.
This seems an ancient technology, and probably hardly used.
- Use a copy of ``package_index.py`` from ``setuptools`` 80.2.0.
This fixes compatibility with ``setuptools`` 80.3.0 where this module was removed.
Merged some of our patches into this copy.
-------------------------------------------------------------------
Tue Jun 17 09:17:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
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>
- update to 3.3:
* Allow the -I option in the Python interpreter wrapper
installed by buildout when using the zc.recipe.egg recipe's
interpreter = directive. This solves the issue when VSCode
calls the designated Python interpreter for a workspace with
this option to determine the Python version etc. (#627)
* Allow the -I option in the Python interpreter wrapper
installed by buildout when using the zc.recipe.egg recipe's
interpreter = directive. This solves the issue when VSCode
calls the designated Python interpreter for a workspace with
this option to determine the Python version etc.
* Add config option: optional-extends. This is the same as the
extends option, but then for optional files. The names must
be file paths, not URLs. If the path does not exist, it is
silently ignored. This is useful for optionally loading a
local.cfg or custom.cfg with options specific for the
developer or the server. [maurits]
* Fix: a variable defined with initial += was undefined and
would lead to a corrupted .installed.cfg. Fixes issue 641.
[distributist]
* Fix: extends with increments could result in missing values.
Buildout processes them in the correct order now and combines
them correctly. Fixes issue 176 and issue 629. [distributist]
* Fix: Multiple += or /-= in one file would lose assignment in
a previous file. Fixes issue 656. [distributist]
-------------------------------------------------------------------
Sun Sep 8 16:36:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* Drop support for Python 3.5. It is unsupported, and testing
it is too hard. [maurits]
* Normalize package names when gathering packages. This should
help find all distributions for package name.space, whether
they are called name.space-1.0.tar.gz with a dot or
name_space-1.0.tar.gz with an underscore (created with
setuptools 69.3 or higher). [maurits]
* Fix ImportError: cannot import name packaging from
pkg_resources with setuptools 70. Done by adding a
compatibility module that tries to import packaging from
several places. Fixes issue 648. [maurits]
-------------------------------------------------------------------
Sat Dec 3 03:00:44 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zc.buildout
#
# Copyright (c) 2022 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
@@ -16,32 +16,32 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-zc.buildout
Version: 3.0.1
Version: 4.1.11
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: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires: alts
Requires: python-packaging >= 23.2
Requires: python-pip
Requires: python-setuptools >= 49
Requires: python-wheel
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,30 +53,29 @@ 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
%postun
%python_uninstall_alternative buildout
%pre
%python_libalternatives_reset_alternative buildout
%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:0c8c6eae36de8ed8227d528dc4cfddb0545978348c9eef0890739486fe954b2b
size 180565

View File

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