From 7fd1f8577e2e2be44801bd63a51a38c3cfa6049d23d6a54dd0864983190e7ea2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 14 Jan 2025 02:40:37 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=203.10.1:=20=20=20*=20flit=20pu?= =?UTF-8?q?blish=20can=20now=20use=20PyPI=20tokens=20stored=20in=20keyring?= =?UTF-8?q?=20(PR=20#649),=20either=20=20=20=20=20project=20tokens=20with?= =?UTF-8?q?=20a=20=E2=80=98username=E2=80=99=20like=20pypi=5Ftoken:project?= =?UTF-8?q?:project=5Fname=20=20=20=20=20(use=20the=20normalised=20form=20?= =?UTF-8?q?of=20the=20name)=20or=20user=20tokens=20=20=20=20=20(pypi=5Ftok?= =?UTF-8?q?en:user:username).=20=20=20*=20The=20--python=20option=20can=20?= =?UTF-8?q?now=20take=20the=20path=20of=20a=20virtualenv=20folder,=20as=20?= =?UTF-8?q?an=20=20=20=20=20alternative=20to=20a=20Python=20executable=20(?= =?UTF-8?q?PR=20#667).=20=20=20*=20Flit=20will=20work=20with=20current=20d?= =?UTF-8?q?evelopment=20versions=20of=20Pythona=20again=20=20=20=20=20(PR?= =?UTF-8?q?=20#684).=20=20=20*=20The=20flit=20command=20line=20package=20n?= =?UTF-8?q?ow=20requires=20Python=203.8=20or=20above=20(PR=20#660).=20=20?= =?UTF-8?q?=20=20=20flit=5Fcore=20still=20works=20with=20Python=203.6=20or?= =?UTF-8?q?=20above.=20=20=20*=20The=20metadata=20in=20packages=20now=20ha?= =?UTF-8?q?s=20the=20names=20of=20optional=20dependency=20=20=20=20=20grou?= =?UTF-8?q?ps=20(=E2=80=9Cextras=E2=80=9D)=20normalised,=20complying=20wit?= =?UTF-8?q?h=20version=202.3=20of=20the=20metadata=20=20=20=20=20standard?= =?UTF-8?q?=20(PR=20#676,=20PR=20#697).=20=20=20*=20The=20flit=20command?= =?UTF-8?q?=20line=20package=20now=20depends=20on=20pip=20(PR=20#647).=20?= =?UTF-8?q?=20=20*=20Fix=20potential=20substitution=20of=20environment=20v?= =?UTF-8?q?ariables=20into=20passwords=20read=20=20=20=20=20from=20.pypirc?= =?UTF-8?q?=20files=20(PR=20#652).=20=20=20*=20A=20warning=20is=20now=20sh?= =?UTF-8?q?own=20when=20building=20packages=20which=20specify=20the=20old?= =?UTF-8?q?=20=20=20=20=20flit.buildapi=20backend,=20which=20should=20be?= =?UTF-8?q?=20replaced=20by=20flit=5Fcore.buildapi=20=20=20=20=20(PR=20#67?= =?UTF-8?q?4).=20It=E2=80=99s=20a=20good=20idea=20to=20always=20set=20a=20?= =?UTF-8?q?maximum=20version=20for=20the=20=20=20=20=20build=20requirement?= =?UTF-8?q?,=20to=20protect=20against=20changes=20in=20future=20major=20ve?= =?UTF-8?q?rsions=20=20=20=20=20of=20Flit.=20=20=20*=20Avoid=20using=20the?= =?UTF-8?q?=20deprecated=20datetime.utcfromtimestamp()=20(PR=20#682).=20?= =?UTF-8?q?=20=20*=20Flit=20now=20has=20a=20SECURITY.md=20file=20in=20the?= =?UTF-8?q?=20Github=20repository=20(PR=20#665).=20=20=20*=20The=20tests?= =?UTF-8?q?=20for=20flit=5Fcore=20are=20no=20longer=20part=20of=20the=20in?= =?UTF-8?q?stalled=20package,=20=20=20=20=20reducing=20the=20size=20of=20t?= =?UTF-8?q?he=20wheels=20(PR=20#691).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit?expand=0&rev=25 --- flit-3.10.1.tar.gz | 3 +++ flit-3.9.0.tar.gz | 3 --- python-flit.changes | 30 ++++++++++++++++++++++++++++++ python-flit.spec | 13 ++++++------- 4 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 flit-3.10.1.tar.gz delete mode 100644 flit-3.9.0.tar.gz diff --git a/flit-3.10.1.tar.gz b/flit-3.10.1.tar.gz new file mode 100644 index 0000000..e39b8c2 --- /dev/null +++ b/flit-3.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c6258ae76d218ce60f9e39a43ca42006a3abcc5c44ea6bb2a1daa13857a8f1a +size 143162 diff --git a/flit-3.9.0.tar.gz b/flit-3.9.0.tar.gz deleted file mode 100644 index f1f6f2f..0000000 --- a/flit-3.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d75edf5eb324da20d53570a6a6f87f51e606eee8384925cd66a90611140844c7 -size 141104 diff --git a/python-flit.changes b/python-flit.changes index bfd10e5..7f6acfa 100644 --- a/python-flit.changes +++ b/python-flit.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Tue Jan 14 02:39:56 UTC 2025 - Steve Kowalik + +- Update to 3.10.1: + * flit publish can now use PyPI tokens stored in keyring (PR #649), either + project tokens with a ‘username’ like pypi_token:project:project_name + (use the normalised form of the name) or user tokens + (pypi_token:user:username). + * The --python option can now take the path of a virtualenv folder, as an + alternative to a Python executable (PR #667). + * Flit will work with current development versions of Pythona again + (PR #684). + * The flit command line package now requires Python 3.8 or above (PR #660). + flit_core still works with Python 3.6 or above. + * The metadata in packages now has the names of optional dependency + groups (“extras”) normalised, complying with version 2.3 of the metadata + standard (PR #676, PR #697). + * The flit command line package now depends on pip (PR #647). + * Fix potential substitution of environment variables into passwords read + from .pypirc files (PR #652). + * A warning is now shown when building packages which specify the old + flit.buildapi backend, which should be replaced by flit_core.buildapi + (PR #674). It’s a good idea to always set a maximum version for the + build requirement, to protect against changes in future major versions + of Flit. + * Avoid using the deprecated datetime.utcfromtimestamp() (PR #682). + * Flit now has a SECURITY.md file in the Github repository (PR #665). + * The tests for flit_core are no longer part of the installed package, + reducing the size of the wheels (PR #691). + ------------------------------------------------------------------- Thu Sep 7 10:50:43 UTC 2023 - Dirk Müller diff --git a/python-flit.spec b/python-flit.spec index dc590e2..9e8e720 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -1,7 +1,7 @@ # # spec file for package python-flit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,15 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-flit -Version: 3.9.0 +Version: 3.10.1 Release: 0 Summary: Simplified packaging of Python modules License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/pypa/flit Source: https://files.pythonhosted.org/packages/source/f/flit/flit-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module docutils} BuildRequires: %{python_module flit-core >= %{version}} BuildRequires: %{python_module pip} @@ -36,10 +34,11 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils Requires: python-flit-core >= %{version} +Requires: python-pip Requires: python-requests Requires: python-tomli-w Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest >= 2.7.3} @@ -85,6 +84,6 @@ export PATH=$PWD/build/testbin/:$PATH %license LICENSE %python_alternative %{_bindir}/flit %{python_sitelib}/flit -%{python_sitelib}/flit-%{version}*-info +%{python_sitelib}/flit-%{version}.dist-info %changelog