- Update to 6.0.3:
* Fix #919: Retry 3 times and wait a moment on PermissionError during file removal to fix race condition after running tox. * Restore ability to build docs if project uses separate build and source directories for documentation. * Fix for changes in pypitoken 6.x. - 6.0.2 (2022-09-28) * Better error message when trying to use ``devpi index`` which requires authentication (devpi-lockdown). - 6.0.1 (2022-08-16) * fix #913: ``main.Hub.workdir`` cleanup (exit) can now handle read-only files (like those created by git). * Print info when ``DEVPI_INDEX`` environment variable is in use and allow relative index specification for it. - 6.0.0 (2022-07-19) * Removed support for ``--detox`` option. * When uploading we no longer "register" the package first. That requirement was removed from PyPI and devpi-server for some time. * Use ``sphinx-build`` command instead of ``setup.py build_sphinx`` when building documentation. * Removed tox dependency, instead ``devpi test`` looks for the ``tox`` binary in the path. * The ``--venv`` option will abort when no virtualenv exists at the location, it will not create a virtualenv anymore. * Fix #218: use new pip.conf location by default and warn if the legacy location exists. * Fix #38: add ``--user``/``-u`` option to ``use`` command to limit index listing to a specific user. * Fix #437: when the ``DEVPI_INDEX`` environment variable is set, it temporarily overwrites the current index. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:362eb26e95136a792491861cc2728d14a6309a9d4c4f13a7b9c3e6fd39de58ec
|
||||
size 76127
|
||||
3
devpi-client-6.0.3.tar.gz
Normal file
3
devpi-client-6.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:72c7505319e8a47fa462da2a76fc9728d5b77c6910352444258c637acf43822f
|
||||
size 89208
|
||||
@@ -1,3 +1,80 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 09:35:55 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 6.0.3:
|
||||
* Fix #919: Retry 3 times and wait a moment on PermissionError
|
||||
during file removal to fix race condition after running tox.
|
||||
* Restore ability to build docs if project uses separate build and
|
||||
source directories for documentation.
|
||||
* Fix for changes in pypitoken 6.x.
|
||||
- 6.0.2 (2022-09-28)
|
||||
* Better error message when trying to use ``devpi index`` which
|
||||
requires authentication (devpi-lockdown).
|
||||
- 6.0.1 (2022-08-16)
|
||||
* fix #913: ``main.Hub.workdir`` cleanup (exit) can now handle
|
||||
read-only files (like those created by git).
|
||||
* Print info when ``DEVPI_INDEX`` environment variable is in use and
|
||||
allow relative index specification for it.
|
||||
- 6.0.0 (2022-07-19)
|
||||
* Removed support for ``--detox`` option.
|
||||
* When uploading we no longer "register" the package first. That
|
||||
requirement was removed from PyPI and devpi-server for some time.
|
||||
* Use ``sphinx-build`` command instead of ``setup.py build_sphinx``
|
||||
when building documentation.
|
||||
* Removed tox dependency, instead ``devpi test`` looks for the
|
||||
``tox`` binary in the path.
|
||||
* The ``--venv`` option will abort when no virtualenv exists at the
|
||||
location, it will not create a virtualenv anymore.
|
||||
* Fix #218: use new pip.conf location by default and warn if the
|
||||
legacy location exists.
|
||||
* Fix #38: add ``--user``/``-u`` option to ``use`` command to limit
|
||||
index listing to a specific user.
|
||||
* Fix #437: when the ``DEVPI_INDEX`` environment variable is set, it
|
||||
temporarily overwrites the current index.
|
||||
* Fix #691: allow anonymous uploads if the server has
|
||||
``acl_upload=:ANONYMOUS:`` set on index.
|
||||
* Fix #863: allow ``--only-docs`` upload for files containing
|
||||
``.docs.`` instead of ``.doc.`` and support gzipped tar files.
|
||||
* The ``--user/-u`` option for ``devpi use`` can be used to switch
|
||||
the current user and the authentication data of previous logins is
|
||||
preserved.
|
||||
* Use `build <https://pypi.org/project/build/>`_ package when
|
||||
possible and fall back to ``setup.py`` only for deprecated release
|
||||
types.
|
||||
* When the ``DEVPI_USER`` environment variable is set, it
|
||||
temporarily overwrites the current user name.
|
||||
* Support query strings on ``path`` for ``getjson`` command. This
|
||||
enables using ``?no_projects=``.
|
||||
* The ``devpi index -l [username]`` command now actually lists
|
||||
indexes of other users and works without login.
|
||||
* Fix #443 and #444: pass authentication info to pip via environment
|
||||
variable for ``devpi install`` and ``devpi test``.
|
||||
* When pushing to an external index with ``pypi:...``, a PyPI token
|
||||
is detected and ``pypitoken`` is installed a new unique time
|
||||
limited token is derived for the upload.
|
||||
* With ``devpi use --local`` a local configuration is created in the
|
||||
currently active virtualenv and automatically used as long as the
|
||||
virtualenv is activated.
|
||||
* Warn if the server changes the scheme, host or port during ``devpi
|
||||
use``.
|
||||
* Using ``--list`` or ``--urls`` with ``use`` command and a URL
|
||||
won't change the current index anymore.
|
||||
* Existing authentication data is validated on ``devpi use`` and
|
||||
removed if expired.
|
||||
* Fix #562: encode username and url in devpiclient_get_password with
|
||||
sys.stdout.encoding.
|
||||
* Fix #627: support ``--index`` option when no index is currently
|
||||
selected.
|
||||
* Fix #808: Use mkdtemp from Python tempfile module to prevent
|
||||
permission and locking errors during ``devpi test`` and ``devpi
|
||||
upload``.
|
||||
* Fix #831: only download matching wheels if ``--select`` is in use.
|
||||
* Give helpful error message when specified/configured virtualenv is
|
||||
missing.
|
||||
* When there is no json error message only the HTML error code and
|
||||
reason is printed now, to get the full HTML output use the
|
||||
``--debug`` flag.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 05:59:02 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-devpi-client
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-devpi-client
|
||||
Version: 5.2.3
|
||||
Version: 6.0.3
|
||||
Release: 0
|
||||
Summary: Client for devpi
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/devpi/devpi
|
||||
Source: https://files.pythonhosted.org/packages/source/d/devpi-client/devpi-client-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-build
|
||||
Requires: python-check-manifest >= 0.28
|
||||
Requires: python-devpi-common >= 3.4.0
|
||||
Requires: python-devpi-common >= 3.6.0
|
||||
Requires: python-pep517
|
||||
Requires: python-pkginfo >= 1.4.2
|
||||
Requires: python-pluggy >= 0.6.0
|
||||
Requires: python-py >= 1.4.31
|
||||
@@ -42,9 +45,11 @@ Recommends: python-Sphinx
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module check-manifest >= 0.28}
|
||||
BuildRequires: %{python_module devpi-common >= 3.4.0}
|
||||
BuildRequires: %{python_module devpi-common >= 3.6.0}
|
||||
BuildRequires: %{python_module devpi-server}
|
||||
BuildRequires: %{python_module pep517}
|
||||
BuildRequires: %{python_module pkginfo >= 1.4.2}
|
||||
BuildRequires: %{python_module pluggy >= 0.6.0}
|
||||
BuildRequires: %{python_module py >= 1.4.31}
|
||||
@@ -69,10 +74,10 @@ sed -i 's/"python \(setup.py[^"]*\)"/(sys.executable + " \1")/' testing/test_upl
|
||||
sed -i 's/"python", "setup.py"/sys.executable, "setup.py"/' testing/test_test.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/devpi
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -82,8 +87,15 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
export PATH=$PATH:%{buildroot}/%{_bindir}
|
||||
# Unknown failures gh#devpi/devpi#706
|
||||
# test_help: devpi binary is not available (update-alternatives)
|
||||
# gh#devpi/devpi#896 to skip test_delete_*_with_inheritance
|
||||
%pytest -k 'not (test_simple_install_new_venv_workflow or test_simple_install_activated_venv_workflow or test_help or test_delete_version_with_inheritance or test_delete_project_with_inheritance)'
|
||||
donttest="test_simple_install_new_venv_workflow or test_simple_install_activated_venv_workflow or test_help"
|
||||
# test_upload: requires network to work
|
||||
donttest+=" or test_upload"
|
||||
donttest+=" or test_main_example_with_basic_auth"
|
||||
# No module named 'pypitoken'
|
||||
donttest+=" or test_derive_devpi_token or test_derive_legacy_token or test_derive_token"
|
||||
# error deleting VIRTUAL_ENV
|
||||
donttest+=" or test_simple_install_missing_venvdir"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%post
|
||||
%python_install_alternative devpi
|
||||
@@ -95,6 +107,7 @@ export PATH=$PATH:%{buildroot}/%{_bindir}
|
||||
%doc AUTHORS CHANGELOG README.rst
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/devpi
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/devpi
|
||||
%{python_sitelib}/devpi_client-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user