14
0
forked from pool/python-pykka

- Follow the upstream and rename Pykka to pykka.

- Update to 3.0.2:
  - Add support for Python 3.10. Tests are now run on Python 3.10
    too. No other changes required.
  - Minor reorganization of docs.
  - Use SPDX identifier for license in project metadata.
  - Remove upper version boundary for importlib_metadata.
  - Remove support for Python 2.7. It reached end-of-life in
    January 2020.
  - Remove support for Python 3.5. It reached end-of-life in
    September 2020.
  - Remove support for running actors on top of eventlet. This
    was deprecated in Pykka 2.0.3.
  - Remove support for running actors on top of gevent. This was
    deprecated in Pykka 2.0.3
  - Remove support for automatically upgrading the internal
    message format used by Pykka < 2.0 to the message types used
    by Pykka >= 2.0.
  - Include complete type hint stubs for all public APIs in the
    PyPI distribution.
  - Remove PyPy from the test matrix. There are no known changes
    that should cause Pykka to stop working on PyPy, but we will
    no longer spend any effort to keep CI for PyPy running.
  - Mark eventlet and gevent support as deprecated. The support
    will be removed in Pykka 3.0.
  - These were somewhat interesting ways to implement concurrency
    in Python when Pykka was conceived in 2011. Today, it is
    unclear it these libraries still have any mindshare or if
    keeping the support for them just adds an unnecessary burden
    to Pykka's maintenance.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykka?expand=0&rev=3
This commit is contained in:
2022-05-27 12:32:35 +00:00
committed by Git OBS Bridge
parent 305d1187f0
commit e92fce0964
5 changed files with 92 additions and 47 deletions

View File

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

3
pykka-3.0.2.tar.gz Normal file
View File

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

View File

@@ -1,32 +0,0 @@
-------------------------------------------------------------------
Mon Dec 2 14:30:24 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 2.0.2:
- Make :class:`~pykka.ActorRef` hashable
- Fix test suite run with pytest-mocker >= 1.11.2.
-------------------------------------------------------------------
Tue May 21 10:49:22 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.0.0
- enable tests
-------------------------------------------------------------------
Wed Dec 19 00:32:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description. Avoid name repetition in summary.
-------------------------------------------------------------------
Tue Dec 4 12:52:22 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Jan 10 08:23:50 UTC 2018 - tbechtold@suse.com
- Convert to singlespec
-------------------------------------------------------------------
Wed Jan 10 08:19:52 UTC 2018 - tbechtold@suse.com
- Initial packaging (version 1.2.1)

70
python-pykka.changes Normal file
View File

@@ -0,0 +1,70 @@
-------------------------------------------------------------------
Fri May 27 12:11:57 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Follow the upstream and rename Pykka to pykka.
- Update to 3.0.2:
- Add support for Python 3.10. Tests are now run on Python 3.10
too. No other changes required.
- Minor reorganization of docs.
- Use SPDX identifier for license in project metadata.
- Remove upper version boundary for importlib_metadata.
- Remove support for Python 2.7. It reached end-of-life in
January 2020.
- Remove support for Python 3.5. It reached end-of-life in
September 2020.
- Remove support for running actors on top of eventlet. This
was deprecated in Pykka 2.0.3.
- Remove support for running actors on top of gevent. This was
deprecated in Pykka 2.0.3
- Remove support for automatically upgrading the internal
message format used by Pykka < 2.0 to the message types used
by Pykka >= 2.0.
- Include complete type hint stubs for all public APIs in the
PyPI distribution.
- Remove PyPy from the test matrix. There are no known changes
that should cause Pykka to stop working on PyPy, but we will
no longer spend any effort to keep CI for PyPy running.
- Mark eventlet and gevent support as deprecated. The support
will be removed in Pykka 3.0.
- These were somewhat interesting ways to implement concurrency
in Python when Pykka was conceived in 2011. Today, it is
unclear it these libraries still have any mindshare or if
keeping the support for them just adds an unnecessary burden
to Pykka's maintenance.
- Include Python 3.9 in the test matrix.
- Add missing None default value for the timeout keyword
argument to pykka.eventlet.EventletEvent.wait(), so that it
matches the threading.Event API.
-------------------------------------------------------------------
Mon Dec 2 14:30:24 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 2.0.2:
- Make :class:`~pykka.ActorRef` hashable
- Fix test suite run with pytest-mocker >= 1.11.2.
-------------------------------------------------------------------
Tue May 21 10:49:22 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.0.0
- enable tests
-------------------------------------------------------------------
Wed Dec 19 00:32:45 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description. Avoid name repetition in summary.
-------------------------------------------------------------------
Tue Dec 4 12:52:22 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Jan 10 08:23:50 UTC 2018 - tbechtold@suse.com
- Convert to singlespec
-------------------------------------------------------------------
Wed Jan 10 08:19:52 UTC 2018 - tbechtold@suse.com
- Initial packaging (version 1.2.1)

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Pykka
# spec file for package python-pykka
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pykka
Version: 2.0.2
%define modname pykka
Name: python-pykka
Version: 3.0.2
Release: 0
Summary: A Python implementation of the actor model
License: Apache-2.0
Group: Development/Languages/Python
URL: http://www.pykka.org/
Source: https://files.pythonhosted.org/packages/source/P/Pykka/Pykka-%{version}.tar.gz
Source: https://github.com/jodal/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Provides: python-Pykka < %{version}-%{release}
Obsoletes: python-Pykka = %{version}-%{release}
%python_subpackages
%description
@@ -40,14 +45,15 @@ rules to control the sharing of state and cooperation between execution
units, with which one can build concurrent applications.
%prep
%setup -q -n Pykka-%{version}
%autopatch -p1
%autosetup -p1 -n %{modname}-%{version}
rm -v docs/_build/.gitignore
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,7 +61,8 @@ units, with which one can build concurrent applications.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%doc README.md docs/
%{python_sitelib}/pykka
%{python_sitelib}/pykka-%{version}*-info
%changelog