diff --git a/atpublic-3.1.1.tar.gz b/atpublic-3.1.1.tar.gz deleted file mode 100644 index 35e9999..0000000 --- a/atpublic-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3098ee12d0107cc5009d61f4e80e5edcfac4cda2bdaa04644af75827cb121b18 -size 14050 diff --git a/atpublic-4.0.tar.gz b/atpublic-4.0.tar.gz new file mode 100644 index 0000000..d371e9d --- /dev/null +++ b/atpublic-4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bb8b62ba9106569f475366b12f41d4f1d20575e3ae0daa530d474219f18e2ea +size 49629 diff --git a/python-atpublic.changes b/python-atpublic.changes index 4171176..4e38fd0 100644 --- a/python-atpublic.changes +++ b/python-atpublic.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Dec 7 20:11:21 UTC 2023 - Dirk Müller + +- 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 @@ -38,7 +55,7 @@ Sun Dec 4 20:31:51 UTC 2022 - Torsten Gruner Tue Jan 11 20:25:53 UTC 2022 - Ben Greiner - 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 diff --git a/python-atpublic.spec b/python-atpublic.spec index fc5fad3..29e89df 100644 --- a/python-atpublic.spec +++ b/python-atpublic.spec @@ -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