diff --git a/atpublic-4.0.tar.gz b/atpublic-4.0.tar.gz deleted file mode 100644 index 8cb4bbd482707f84ae2749dda01f78f8dcffba9e..0000000000000000000000000000000000000000 Binary files a/atpublic-4.0.tar.gz and /dev/null differ diff --git a/atpublic-5.0.tar.gz b/atpublic-5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..501154f1950bcca45909cdd98ab147a38c8e101b Binary files /dev/null and b/atpublic-5.0.tar.gz differ diff --git a/python-atpublic.spec b/python-atpublic.spec index f6d6b6ad9c5821d34fa70be5279ecdd5bd5a906a..3d9d1cc8f59901853eaf16b2785097452a8a451f 100644 --- a/python-atpublic.spec +++ b/python-atpublic.spec @@ -1,17 +1,18 @@ %global _empty_manifest_terminate_build 0 Name: python-atpublic -Version: 4.0 +Version: 5.0 Release: 1 Summary: public -- @public for populating __all__ -License: Apache 2.0 +License: Apache-2.0 URL: http://public.readthedocs.io/ -Source0: https://files.pythonhosted.org/packages/4f/c8/22e1e6e2fe2cbe7a789a30d6288db3c1dbdbbe06af0d61277a97e4960b9e/atpublic-4.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/a/atpublic/atpublic-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pdm-pep517 BuildRequires: python3-pdm-backend +BuildRequires: python3-hatchling %description This is a very simple decorator and function which populates a module's @@ -43,7 +44,7 @@ This provides both a pure-Python implementation and a C implementation. It is proposed that the C implementation be added to builtins_ for Python 3.6. %prep -%autosetup -n atpublic-%{version} +%autosetup -n atpublic-%{version} -p1 %build %pyproject_build @@ -62,6 +63,16 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi %{_docdir}/* %changelog +* Fri Aug 30 2024 yaoxin - 5.0-1 +- Update to 5.0: + * @public is now properly type annotated. + * Adopt hatch test and hatch fmt commands. + * @public and @private now raise TypeError instead of ValueError if __all__ is not a concrete list object. + * Other minor coding improvements identified by ruff. + * Switch to Trusted Publishing for publishing new versions to PyPI. + * Add support for Python 3.12. + * Switch to hatch, replacing pdm and tox. + * Thu Dec 07 2023 jiangxinyu - 4.0-1 - Update package to version 4.0