15
0

- update to 4.0:

* Drop Python 3.7 support (GL#16)
  * Remove ``public.install()`` which was used to inject the
    ``public`` and ``private`` functions into the ``builtins``
    namespace.  This isn't very helpful and could be actively
    harmful.  Explicit is better than implicit. (GL#14)
  * The functional form of ``public()`` now returns the argument
    *values* in the order they are given.  This allows you to
    explicitly bind those values to names in the global namespace.
  * Switch from ``flake8`` and ``isort`` to ``ruff`` for code
    quality. (GL#32)
  * Switch to ``pdm-backend`` (GL#15)
  * More GitLab CI integration improvements.
  * https://gitlab.com/warsaw/public/-/merge_requests/16

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atpublic?expand=0&rev=14
This commit is contained in:
2023-12-07 20:12:00 +00:00
committed by Git OBS Bridge
parent 0a8d5bf9f0
commit 20829ca87f
4 changed files with 25 additions and 7 deletions

View File

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

3
atpublic-4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Dec 7 20:11:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.0:
* Drop Python 3.7 support (GL#16)
* Remove ``public.install()`` which was used to inject the
``public`` and ``private`` functions into the ``builtins``
namespace. This isn't very helpful and could be actively
harmful. Explicit is better than implicit. (GL#14)
* The functional form of ``public()`` now returns the argument
*values* in the order they are given. This allows you to
explicitly bind those values to names in the global namespace.
* Switch from ``flake8`` and ``isort`` to ``ruff`` for code
quality. (GL#32)
* Switch to ``pdm-backend`` (GL#15)
* More GitLab CI integration improvements.
-------------------------------------------------------------------
Tue Jun 13 11:22:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -38,7 +55,7 @@ Sun Dec 4 20:31:51 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
Tue Jan 11 20:25:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Fix sybil usage in conftest based on sybil version.
* https://gitlab.com/warsaw/public/-/merge_requests/16
* https://gitlab.com/warsaw/public/-/merge_requests/16
-------------------------------------------------------------------
Fri May 21 08:42:52 UTC 2021 - pgajdos@suse.com
@@ -47,7 +64,7 @@ Fri May 21 08:42:52 UTC 2021 - pgajdos@suse.com
2.3 (2021-04-13)
================
* Do type hinting the right way. (GL#10)
2.2 (2021-04-13)
================
* ``public()`` and ``private()`` can't be correctly type annotated, so the

View File

@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-atpublic
Version: 3.1.1
Version: 4.0
Release: 0
Summary: @public decorator for populating __all__
License: Apache-2.0
@@ -34,6 +34,7 @@ Group: Development/Languages/Python
URL: http://public.readthedocs.io/
Source: https://gitlab.com/warsaw/public/-/archive/%{version}/public-%{version}.tar.gz#/atpublic-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pdm-pep517 >= 1.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -55,7 +56,7 @@ BuildRequires: %{python_module sybil}
public -- @public for populating __all__.
%prep
%setup -q -n atpublic-%{version}
%setup -q -n public-%{version}
%build
%pyproject_wheel