2016-01-28 12:51:18 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-remoto
|
|
|
|
#
|
2024-05-15 02:46:52 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-01-28 12:51:18 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-28 12:51:18 +00:00
|
|
|
#
|
|
|
|
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
|
2016-01-28 12:51:18 +00:00
|
|
|
Name: python-remoto
|
2022-04-08 20:45:39 +00:00
|
|
|
Version: 1.2.1
|
2016-01-28 12:51:18 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Remote command executor using ssh and Python in the remote end
|
|
|
|
License: MIT
|
2020-03-18 08:43:07 +00:00
|
|
|
URL: https://github.com/alfredodeza/remoto
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/r/remoto/remoto-%{version}.tar.gz
|
2022-04-08 20:45:39 +00:00
|
|
|
# https://github.com/alfredodeza/remoto/commit/aa74f65bb59dc46998e72e4bdcd070287e4e2af6
|
|
|
|
Patch0: python-remoto-no-mock.patch
|
2024-05-15 02:46:52 +00:00
|
|
|
# PATCH-FIX-UPSTREAM gh#alfredodeza/remoto#69
|
|
|
|
Patch1: support-pytest-8.patch
|
2019-02-08 14:48:57 +00:00
|
|
|
BuildRequires: %{python_module execnet}
|
2024-05-15 02:46:52 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-02-08 14:48:57 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module virtualenv}
|
2024-05-15 02:46:52 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-02-08 14:48:57 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2016-02-22 15:01:05 +00:00
|
|
|
Requires: python-execnet
|
|
|
|
BuildArch: noarch
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
# SECTION build requirements
|
2020-08-03 15:44:07 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
# /SECTION
|
2019-02-08 14:48:57 +00:00
|
|
|
%python_subpackages
|
2016-01-28 12:51:18 +00:00
|
|
|
|
|
|
|
%description
|
2016-02-22 15:01:05 +00:00
|
|
|
Remote command executor using ssh and Python in the remote end. This
|
2016-01-28 12:51:18 +00:00
|
|
|
package is primarily built to support the ceph-deploy project.
|
2016-02-22 15:01:05 +00:00
|
|
|
python-remoto is built upon python-execnet which manages the
|
2016-01-28 12:51:18 +00:00
|
|
|
connections and processes.
|
|
|
|
|
|
|
|
%prep
|
2022-04-08 20:45:39 +00:00
|
|
|
%autosetup -p1 -n remoto-%{version}
|
2016-01-28 12:51:18 +00:00
|
|
|
|
|
|
|
%build
|
2019-02-08 14:48:57 +00:00
|
|
|
export REMOTO_NO_VENDOR=no
|
2024-05-15 02:46:52 +00:00
|
|
|
%pyproject_wheel
|
2016-01-28 12:51:18 +00:00
|
|
|
|
|
|
|
%install
|
2019-02-08 14:48:57 +00:00
|
|
|
export REMOTO_NO_VENDOR=no
|
2024-05-15 02:46:52 +00:00
|
|
|
%pyproject_install
|
2019-02-08 14:48:57 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2016-01-28 12:51:18 +00:00
|
|
|
|
|
|
|
%check
|
Accepting request 697802 from home:pgajdos
- version update to 1.1.2
* Try a few different executables (not only python) to check for
a working one, in order of preference, starting with python3 and
ultimately falling back to the connection interpreter
* Fix an issue with remote Python interpreters that might not be
python, like in distros that use python3 or similar.
* Allow to specify --context to kubernetes connections
* When a remote exception happens using the JsonModuleExecute,
include both stderr and stdout.
* Create other connection backends aside from ssh and local:
kubernetes, podman, docker, and openshift.
* Adds new remote function/module execution model for non-native
(for execnet) backends, so that modules will work in backends
like kubernetes.
* Create a helper (remoto.connection.get()) for retrieving connection
backends based on strings
* Increase the test coverage.
* Allow using localhost, 127.0.0.1, and 127.0.1.1 to detect local
connections (before the full hostname was required, as returned by
socket.gethostname())
* No longer require creating logging loggers to pass in to connection
classes, it will create a basic one when undefined.
- turn the test suite on
OBS-URL: https://build.opensuse.org/request/show/697802
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-remoto?expand=0&rev=7
2019-04-25 09:35:10 +00:00
|
|
|
%pytest
|
2016-01-28 12:51:18 +00:00
|
|
|
|
2019-02-08 14:48:57 +00:00
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
2024-05-15 02:46:52 +00:00
|
|
|
%{python_sitelib}/remoto
|
|
|
|
%{python_sitelib}/remoto-%{version}.dist-info
|
2016-01-28 12:51:18 +00:00
|
|
|
|
|
|
|
%changelog
|