14
0

Accepting request 1057654 from devel:languages:python

- Update to 22.10.0
  * Fix _test_visualize.py twisted import errors
  * Fix #17: Allow enter to have a default
  * Use CodeType.replace() in copycode for Python > 3.8

OBS-URL: https://build.opensuse.org/request/show/1057654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Automat?expand=0&rev=6
This commit is contained in:
2023-01-11 16:14:15 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 9 deletions

View File

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

BIN
Automat-22.10.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 10 11:21:35 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 22.10.0
* Fix _test_visualize.py twisted import errors
* Fix #17: Allow enter to have a default
* Use CodeType.replace() in copycode for Python > 3.8
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 9 17:40:44 UTC 2021 - Ben Greiner <code@bnavigator.de> Thu Dec 9 17:40:44 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,9 @@
%bcond_with test %bcond_with test
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2 %bcond_without python2
Name: python-Automat%{psuffix} Name: python-Automat%{psuffix}
Version: 20.2.0 Version: 22.10.0
Release: 0 Release: 0
Summary: Self-service finite-state machines for the programmer on the go Summary: Self-service finite-state machines for the programmer on the go
License: MIT License: MIT
@@ -36,10 +35,10 @@ URL: https://github.com/glyph/automat
Source: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-attrs >= 16.1.0 Requires: python-attrs >= 19.2.0
Requires: python-six
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun):update-alternatives Requires(preun):update-alternatives
Suggests: python-Twisted >= 16.1.1 Suggests: python-Twisted >= 16.1.1
@@ -47,7 +46,7 @@ Suggests: python-graphviz > 0.5.1
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module Twisted >= 16.1.1} BuildRequires: %{python_module Twisted >= 16.1.1}
BuildRequires: %{python_module attrs >= 16.1.0} BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module graphviz >= 0.5.1} BuildRequires: %{python_module graphviz >= 0.5.1}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%if %{with python2} %if %{with python2}