From a11b6be726007f2e6082d4799ba9ba56da94b1f10de4be4717f0e8e0d2c8736f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 8 Nov 2022 10:02:28 +0000 Subject: [PATCH 1/2] Accepting request 1034402 from home:yarunachalam:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 3.8 A project name containing hyphens is now automatically translated to use underscores for the import name (PR #566). New option flit install --only-deps to install the dependencies of the package, but not the package itself. Add support for recursive globbing (**) in sdist includes and excludes (PR #550). Python’s bytecode cache files (__pycache__ folders and .pyc files) are now always excluded from sdists (PR #581). Use tomllib in Python 3.11, rather than tomli (PR #573, PR #604). Fix crash when unable to get a password from keyring (PR #567). Fix including modified files in sdist when using Mercurial (PR #541). Fix for some cases of determining whether a package supports Python 2 or not (PR #593). Fix parsing version number from code using multiple assignments (PR #474). Document how to use a PyPI token with FLIT_PASSWORD (PR #602). Fix link to information about environment variables for pip (PR #576). Link to the docs for the latest stable version in package metadata (PR #589). Remove a mention of the toml package, which is no longer needed, from the Developing Flit page (PR #601). The bootstrap install script for flit_core accepts a new --install-root option. Ensure the license file is included in packages on PyPI (PR #603). OBS-URL: https://build.opensuse.org/request/show/1034402 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit?expand=0&rev=10 --- flit-3.7.1.tar.gz | 3 --- flit-3.8.0.tar.gz | 3 +++ python-flit.changes | 20 ++++++++++++++++++++ python-flit.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 flit-3.7.1.tar.gz create mode 100644 flit-3.8.0.tar.gz diff --git a/flit-3.7.1.tar.gz b/flit-3.7.1.tar.gz deleted file mode 100644 index 87c21f0..0000000 --- a/flit-3.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c9bd9c140515bfe62dd938c6610d10d6efb9e35cc647fc614fe5fb3a5036682 -size 136642 diff --git a/flit-3.8.0.tar.gz b/flit-3.8.0.tar.gz new file mode 100644 index 0000000..2148261 --- /dev/null +++ b/flit-3.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0f2a8f4bd45dc794befbf5839ecc0fd3830d65a57bd52b5997542fac5d5e937 +size 139496 diff --git a/python-flit.changes b/python-flit.changes index 2b214f2..9ab047f 100644 --- a/python-flit.changes +++ b/python-flit.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Nov 8 00:29:24 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 3.8 + A project name containing hyphens is now automatically translated to use underscores for the import name (PR #566). + New option flit install --only-deps to install the dependencies of the package, but not the package itself. + Add support for recursive globbing (**) in sdist includes and excludes (PR #550). + Python’s bytecode cache files (__pycache__ folders and .pyc files) are now always excluded from sdists (PR #581). + Use tomllib in Python 3.11, rather than tomli (PR #573, PR #604). + Fix crash when unable to get a password from keyring (PR #567). + Fix including modified files in sdist when using Mercurial (PR #541). + Fix for some cases of determining whether a package supports Python 2 or not (PR #593). + Fix parsing version number from code using multiple assignments (PR #474). + Document how to use a PyPI token with FLIT_PASSWORD (PR #602). + Fix link to information about environment variables for pip (PR #576). + Link to the docs for the latest stable version in package metadata (PR #589). + Remove a mention of the toml package, which is no longer needed, from the Developing Flit page (PR #601). + The bootstrap install script for flit_core accepts a new --install-root option. + Ensure the license file is included in packages on PyPI (PR #603). + ------------------------------------------------------------------- Fri Mar 25 12:11:30 UTC 2022 - Ben Greiner diff --git a/python-flit.spec b/python-flit.spec index e87d603..74a2f69 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-flit -Version: 3.7.1 +Version: 3.8.0 Release: 0 Summary: Simplified packaging of Python modules License: BSD-3-Clause From de8394dca557934df906da508c97e8080f0a188abfe5eeef6ad7c0364dcd54e5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Nov 2022 11:01:16 +0000 Subject: [PATCH 2/2] Accepting request 1034491 from home:bnavigator:branches:devel:languages:python - Fix dependencies OBS-URL: https://build.opensuse.org/request/show/1034491 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit?expand=0&rev=11 --- python-flit.changes | 5 +++++ python-flit.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-flit.changes b/python-flit.changes index 9ab047f..91122d6 100644 --- a/python-flit.changes +++ b/python-flit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 8 10:20:01 UTC 2022 - Ben Greiner + +- Fix dependencies + ------------------------------------------------------------------- Tue Nov 8 00:29:24 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-flit.spec b/python-flit.spec index 74a2f69..054038e 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-flit Version: 3.8.0 @@ -26,24 +25,23 @@ 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.6} BuildRequires: %{python_module docutils} -BuildRequires: %{python_module flit-core >= 3.7.1} +BuildRequires: %{python_module flit-core >= 3.8.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module requests} BuildRequires: %{python_module tomli-w} -BuildRequires: %{python_module tomli} # SECTION test requirements BuildRequires: %{python_module testpath} BuildRequires: %{python_module pytest >= 2.7.3} BuildRequires: %{python_module responses} +BuildRequires: %{python_module tomli} # /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils -Requires: python-flit-core +Requires: python-flit-core >= 3.8.0 Requires: python-requests -Requires: python-tomli Requires: python-tomli-w Requires(post): update-alternatives Requires(postun):update-alternatives