Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-envs for openSUSE:Factory 
checked in at 2026-02-13 12:48:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-envs (Old)
 and      /work/SRC/openSUSE:Factory/.python-envs.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-envs"

Fri Feb 13 12:48:27 2026 rev:2 rq:1332790 version:1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-envs/python-envs.changes  2024-10-04 
17:13:33.204379294 +0200
+++ /work/SRC/openSUSE:Factory/.python-envs.new.1977/python-envs.changes        
2026-02-13 12:48:32.006796536 +0100
@@ -1,0 +2,7 @@
+Fri Feb 13 04:15:54 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch use-terminaltables3.patch:
+  * Use terminaltables3, rather than terminaltables.
+- Add missing Requires on update-alternatives.
+
+-------------------------------------------------------------------

New:
----
  use-terminaltables3.patch

----------(New B)----------
  New:
- Add patch use-terminaltables3.patch:
  * Use terminaltables3, rather than terminaltables.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-envs.spec ++++++
--- /var/tmp/diff_new_pack.B9wVhT/_old  2026-02-13 12:48:33.974878962 +0100
+++ /var/tmp/diff_new_pack.B9wVhT/_new  2026-02-13 12:48:33.978879129 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-envs
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,21 +22,23 @@
 Release:        0
 Summary:        Easy access of environment variables from Python
 License:        Apache-2.0
-Group:          Development/Languages/Python
 URL:            https://github.com/capless/envs
 Source:         
https://files.pythonhosted.org/packages/source/e/envs/envs-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+# PATCH-FIX-OPENSUSE Use terminaltables3, rather than terminaltables
+Patch0:         use-terminaltables3.patch
+BuildRequires:  %{python_module Jinja2 >= 3.0.3}
 BuildRequires:  %{python_module base >= 3.6}
-BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module poetry-core >= 1.0.0}
 BuildRequires:  %{python_module click >= 8.0.3}
-BuildRequires:  %{python_module Jinja2 >= 3.0.3}
-BuildRequires:  %{python_module terminaltables >= 3.1.10}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module poetry-core >= 1.0.0}
-Requires:  python-click >= 8.0.3
+BuildRequires:  %{python_module terminaltables3}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:  python-Jinja2 >= 3.0.3
-Requires:  python-terminaltables >= 3.1.10
+Requires:       python-click >= 8.0.3
+Requires:       python-terminaltables3
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -53,11 +55,6 @@
 
 %install
 %pyproject_install
-# Fix python-bytecode-inconsistent-mtime
-pushd %{buildroot}%{python_sitelib}
-find . -name '*.pyc' -exec rm -f '{}' ';'
-python%python_bin_suffix -m compileall *.py ';'
-popd
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/envs
 

++++++ use-terminaltables3.patch ++++++
Index: envs-1.4/envs/cli.py
===================================================================
--- envs-1.4.orig/envs/cli.py
+++ envs-1.4/envs/cli.py
@@ -2,7 +2,7 @@ import os
 
 import click
 import jinja2
-from terminaltables import AsciiTable
+from terminaltables3 import AsciiTable
 
 from envs.exceptions import EnvsValueException
 from . import env
Index: envs-1.4/pyproject.toml
===================================================================
--- envs-1.4.orig/pyproject.toml
+++ envs-1.4/pyproject.toml
@@ -9,7 +9,7 @@ license = "Apache-2.0"
 python = "^3.6"
 click = {version = "^8.0.3", extras = ["cli"]}
 Jinja2 = {version = "^3.0.3", extras = ["cli"]}
-terminaltables = {version = "^3.1.10", extras = ["cli"]}
+terminaltables3 = {version = "^3.1.10", extras = ["cli"]}
 
 [tool.poetry.extras]
 cli = ["click", "Jinja2", "terminaltables"]
Index: envs-1.4/setup.py
===================================================================
--- envs-1.4.orig/setup.py
+++ envs-1.4/setup.py
@@ -10,7 +10,7 @@ package_data = \
 extras_require = \
 {':extra == "cli"': ['click[cli]>=8.0.3,<9.0.0',
                      'Jinja2[cli]>=3.0.3,<4.0.0',
-                     'terminaltables[cli]>=3.1.10,<4.0.0']}
+                     'terminaltables3[cli]>=3.1.10,<4.0.0']}
 
 entry_points = \
 {'console_scripts': ['envs = envs.cli:envs']}

Reply via email to