Overview

Request 1139186 accepted

- Submit new python-podman code-o-o#leap/features#145

- update to 4.8.1:
* Effectively a brand new package

old: openSUSE:Backports:SLE-15-SP6/python-podman
new: devel:microos/python-podman rev 12
Index: python-podman.changes
===================================================================
--- python-podman.changes (revision 3)
+++ python-podman.changes (revision 12)
@@ -1,4 +1,264 @@
-------------------------------------------------------------------
+Tue Jan 16 13:43:33 UTC 2024 - Dan Čermák
+
+- Remove unneeded BuildRequires for test package
+
+-------------------------------------------------------------------
+Sun Jan 7 15:27:00 UTC 2024 - Johannes Kastl
+
+- update to 4.8.1:
+ * [release-4.8] Make progress_bar an extra feature by
+ @openshift-cherrypick-robot in
+ https://github.com/containers/podman-py/pull/362
+ * Bump version to 4.8.2 by @umohnani8 in
+ https://github.com/containers/podman-py/pull/363
+
+-------------------------------------------------------------------
+Thu Dec 21 17:12:27 UTC 2023 - Johannes Kastl
+
+- update to 4.8.1:
+ * [release-4.8] Add rich dep to setup.cfg by
+ @openshift-cherrypick-robot in #354
+ * [release-4.8] Fix lint issues by @openshift-cherrypick-robot in
+ #359
+ * Bump version to podman 4.8.1 by @umohnani8 in #357
+
+-------------------------------------------------------------------
+Tue Nov 28 11:27:47 UTC 2023 - Johannes Kastl
+
+- update to 4.8.0:
+ * Update version to 4.8.0-dev by @umohnani8 in #329
+ * Fix up docs and format issues by @umohnani8 in #338
+ * Fix readthedocs yaml by @umohnani8 in #339
+ * Add progress_bar option to image pull by @umohnani8 in #340
+ * Update dependency containers/automation_images to v20231004 by
+ @renovate in #335
+ * Update pull progress bar colour by @umohnani8 in #341
+ * Fix readthedocs build issues by @umohnani8 in #342
+ * Update dependency containers/automation_images to v20231116 by
+ @renovate in #344
+ * Bump version v4.8.0 by @umohnani8 in #345
+
+-------------------------------------------------------------------
+Thu Sep 28 04:38:02 UTC 2023 - Johannes Kastl
+
+- update to 4.6.0:
+ * Bump version to v4.6.0 by @umohnani8 in #303
+ * Packit: mention downstream_package_name: python-podman in
+ config by @lsm5 in #306
+ * Bump version on main to 4.7.0-dev by @umohnani8 in #304
+ * Add read_write_tmpfs by @msisj in #302
+ * Update dependency containers/automation_images to v20230807 by
+ @renovate in #308
+ * remove direct logging to sys.stderr by @chnrxn in #311
+ * packit: Build PRs into default packit COPRs by @martinpitt in
+ #310
+ * Update dependency ubuntu to v22 by @renovate in #313
+ * Update dependency containers/automation_images to v20230809 by
+ @renovate in #314
+ * [skip-ci] Update tim-actions/commit-message-checker-with-regex
+ action to v0.3.2 by @renovate in #317
+ * Fix assertation error in manifest.py by @umohnani8 in #320
+ * Update dependency containers/automation_images to v20230816 by
+ @renovate in #316
+ * Fixes the secrets parameter, adds the secret_env parameter by
+ @andryyy in #319
+ * Fix image SCP when not providing quiet by @hpvb in #321
+ * Change default value for tty in exec_run by @maxi0604 in #324
+
+-------------------------------------------------------------------
+Mon Jul 24 13:21:26 UTC 2023 - Johannes Kastl
+
+- use new Build macros
+- update constraints on BuildRequires
+ * drop constraint for urllib3 < 2
+ * add constraint on requests and pyxdg
+- follow upstream and use new tomli (for python < 3.11) instead of
+ pytoml
+
+-------------------------------------------------------------------
+Mon Jul 24 13:11:26 UTC 2023 - Johannes Kastl
+
+- update to 4.6.0:
+ * Bump version to 4.5.0 by @umohnani8 in #263
+ * chore(deps): update dependency containers/automation_images to
+ v20230426 by @renovate in #259
+ * chore(deps): update dependency urllib3 to v2 by @renovate in
+ #265
+ * [skip-ci] Update tim-actions/get-pr-commits action to v1.3.0 by
+ @renovate in #268
+ * chore(deps): update dependency containers/automation_images to
+ v20230517 by @renovate in #270
+ * Streaming support for PodsManager.stats API by @RazCrimson in
+ #266
+ * Minor text fixes in contributing.md by @umohnani8 in #278
+ * Swap renovate dep. update. PR assignments by @cevich in #279
+ * chore(deps): update dependency containers/automation_images to
+ v20230601 by @renovate in #280
+ * Update Makefile to emulate readthedocs automation by @umohnani8
+ in #282
+ * [CI:BUILD] Packit: initial enablement by @lsm5 in #242
+ * chore(deps): update dependency containers/automation_images to
+ v20230614 by @renovate in #286
+ * Packit: remove .packit.sh by @lsm5 in #288
+ * Fix catching errors in the response body of containers/prune by
+ @francisbergin in #290
+ * Fix pod prune error explanation string by @francisbergin in
+ #291
+ * Refactor Makefile to support tox / MacOS Ventura by @jwhonce in
+ #285
+ * Switch HTTPConnection from http.client to urllib3.connection by
+ @dcermak in #283
+ * Keep main branch version ahead of release branches by @lsm5 in
+ #289
+ * [CI:BUILD] RPM: Cleanup by @lsm5 in #296
+ * Includes the possibility to use the 'listTags' parameter in
+ image search endpoint by @apozsuse in #295
+ * Update dependency fixtures to ~=4.1.0 by @renovate in #297
+ * Update fixtures to not be tied to a version by @umohnani8 in
+ #300
+ * Fix passing filters to networks prune by @francisbergin in #298
+
+-------------------------------------------------------------------
+Sat Jun 3 15:58:00 UTC 2023 - Georg Pfuetzenreuter
+
+- Require pytoml
+
+-------------------------------------------------------------------
+Thu Jun 1 05:35:55 UTC 2023 - Johannes Kastl
+
+- update to 4.5.1:
+ * [v4.5-rhel] cherry-pick urlib3 fixes by @umohnani8 in
+ https://github.com/containers/podman-py/pull/274
+
+-------------------------------------------------------------------
+Fri Apr 28 05:09:34 UTC 2023 - Johannes Kastl
+
+- add necessary Requires, remove outdated Requires
+- add _service file
+ - change URL to make `osc service disabledrun download_files`
+ work
+- update to 4.5.0:
+ * Change docstring to point to podman docs
+ * [skip-ci] Update tim-actions/get-pr-commits action to v1.2.0
+ * Add renovate.json
+ * Fix new lint problems
+ * Improve exception when missing env var
+ * chg: Container.top to use stream_helper
+ * chg: Container.stats to use stream_helper
+ * add: stream_helper in api/parse_utils.py
+ * Cirrus: Update CI VM images
+ * Bump fixtures requirement
+ * Specify version verbatim in setup.cfg
+ * [spec] Switch license to SPDX
+ * podman.spec: run unit tests
+ * Fix version spec in setup.cfg
+ * Correct pyproject.toml [build-system] requires
+ * Fallback to pytoml on RHEL 8 and toml on 9
+ * Use modern tomllib/tomli modules for reading TOML files
+ * Revert "Use modern tomllib/tomli modules for reading TOML
+ files"
+ * chore: Container.stats - type hints
+ * fix: Container.stats - invalid response for non-stream mode
+ * fix: Container.stats - missing stream param to requests
+ * Lint fix
+ * Merge branch 'containers:main' into
+ feat/container-create-secret
+ * Correctly add secrets to container on creation
+
+-------------------------------------------------------------------
+Fri Feb 24 08:04:35 UTC 2023 - Dan Čermák
+
+- cleanup requires & suggests (fixes boo#1208627)
+- New upstream release 4.4.1:
+ This release contains necessary backports to revert the new tomli package
+ that was introduced but is not supported by RHEL currently.
+
+- New upstream release 4.4.0:
+ Bump version to 4.3.0 by @umohnani8 in #216
+ update urllib to 1.26.5 for a CVE found in previous versions by @cdoern in #210
+ Correct path for rtd conf.py by @baude in #219
+ Clean up pylint configuration by @jwhonce in #222
+ Use modern tomllib/tomli modules for reading TOML files by @mgorny in #214
+ Added port binding range by @msisj in #224
+ Update cirrus image by @rhatdan in #225
+ Cirrus: Update CI VM images to F37 by @cevich in #228
+ Fix the ability to run containers by @jonathanunderwood in #226
+ Update files to adhere to new lint requirements by @umohnani8 in #236
+
+-------------------------------------------------------------------
+Fri Oct 28 19:54:33 UTC 2022 - Yogalakshmi Arunachalam
+
+- Update to 4.3.0
+ * Add pass-through layers, output and outputformat to building images
+ * Support passing of interval and condition in podman wait calls
+ * Implement podman image scp
+ * Update supported python versions
+ * Add support of passing empty strings in second
+ * Add support for on failure actions in healthchecks
+ * Bug fixes
+
+-------------------------------------------------------------------
+Mon Aug 15 11:45:24 UTC 2022 - Michael Ströder
+
+- update to 4.2.0
+ * Added support for devices in container creation
+ * Implemented the login endpoint
+ * Added relabel option for mounts and other mount option support
+ * Implemented exec_run
+ * Bug Fixes
+
+-------------------------------------------------------------------
+Thu Jun 30 06:31:58 UTC 2022 - Johannes Kastl
+
+- update to 4.0.0
+ * Remove support for old (ApiConnection) API
+ * Update CI to use copr and release podman packages for testing
+ * Port code to support Podman 4.0.0 API changes
+ * Added support for Python 3.10
+ * lint scrub and correction of code
+ * Bug fixes
+ * Move to tox for development support
+ * Move to pytest from nose for test execution
+ * Support testing python 3.6,3.8-3.10
+ * Allow passing string values to memory limits
+
+- remove patch python310.patch
+
+-------------------------------------------------------------------
+Wed Jun 29 15:13:29 UTC 2022 - Johannes Kastl
+
+- disable building for python2
+
+-------------------------------------------------------------------
+Mon Feb 21 08:55:25 UTC 2022 - Dirk Müller
+
+- update to 3.2.1:
+ * Update packaging
+ * Update CI to support testing against released and main podman branches
+ * Cleanup CI configuration
+ * Bug fixes
+ * Bug fixes and updates to make API more complete
+ * Update dependency checking
+ * PodmanClient() now supports service addresses using ssh:// and tcp://
+ schemes. The keyword connection has been added, using its value as a key
+ into the connections that have been defined in
+ XDG_CONFIG_DIR/containers/containers.cfg. The podman system connection is
+ used to curate connections.
+ * docstrings were cleaned up to aid in future sphinx generated documentation.
+ * ssh:// service addresses are supported by the use of an external ssh client.
+ * tcp:// connections are not secure.
+ * PodmanClient() introduces docker-py functionality, while additionally
+ allowing access to Podman unique functionality such as Pods.
+ * Note: APIConnection() and it's support classes will be deprecated.
+- add python310.patch: support python 3.10
+
+-------------------------------------------------------------------
+Thu May 27 07:35:27 UTC 2021 - pgajdos@suse.com
+
+- %check: run test via %pyunittest rpm macro
+
+-------------------------------------------------------------------
Fri Feb 21 01:58:37 UTC 2020 - Steve Kowalik

- Update to 1.6.0:
Index: python-podman.spec
===================================================================
--- python-podman.spec (revision 3)
+++ python-podman.spec (revision 12)
@@ -1,7 +1,7 @@
#
# spec file for package python-podman
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,56 +16,77 @@
#


-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-podman
-Version: 1.6.0
+%define skip_python2 1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-podman%{psuffix}
+Version: 4.8.2
Release: 0
Summary: A library to interact with a Podman server
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://github.com/containers/python-podman
-Source: https://files.pythonhosted.org/packages/source/p/podman/podman-%{version}.tar.gz
+URL: https://github.com/containers/podman-py
+Source: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz#./podman-%{version}.tar.gz
BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module tomli >= 1.2.3 if python-base < 3.11}
+BuildRequires: %{python_module pyxdg >= 0.26}
+BuildRequires: %{python_module requests >= 2.24}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: (python-tomli >= 1.2.3 if python-base < 3.11)
+Requires: python-pyxdg
+Requires: python-requests
+Requires: python-urllib3
+BuildArch: noarch
+%if %{with test}
# SECTION test requirements
-BuildRequires: %{python_module flake8}
-BuildRequires: %{python_module psutil}
-BuildRequires: %{python_module python-dateutil}
+BuildRequires: %{python_module fixtures}
+BuildRequires: %{python_module podman >= %{version}}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools >= 39}
-BuildRequires: %{python_module varlink}
-BuildRequires: %{python_module wheel}
+%if %{defined sle_version}
+BuildRequires: %{python_module dataclasses}
+%endif
# /SECTION
-BuildRequires: fdupes
-Requires: python-psutil
-Requires: python-python-dateutil
-Requires: python-setuptools >= 39
-Requires: python-varlink
-Suggests: python-fixtures
-Suggests: python-pbr
-BuildArch: noarch
-
+%endif
%python_subpackages

%description
A library to interact with a Podman server

%prep
-%setup -q -n podman-%{version}
+%autosetup -n podman-py-%{version}

%build
-%python_build
+%pyproject_wheel

+%if !%{with test}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif

+%if %{with test}
%check
-%python_exec setup.py test
+%{python_expand $python -m pytest podman/tests/unit}
+%endif

+%if !%{with test}
%files %{python_files}
-%doc AUTHORS CHANGES.txt ChangeLog README.md
+%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/podman/
+%{python_sitelib}/podman-%{version}.dist-info/
+%endif

%changelog
Index: _multibuild
===================================================================
--- _multibuild (added)
+++ _multibuild (revision 12)
@@ -0,0 +1,3 @@
+
+ test
+
Index: _service
===================================================================
--- _service (added)
+++ _service (revision 12)
@@ -0,0 +1,4 @@
+
+
+
+
Index: podman-4.8.2.tar.gz
===================================================================
Binary file podman-4.8.2.tar.gz (revision 12) added
Index: podman-1.6.0.tar.gz
===================================================================
Binary file podman-1.6.0.tar.gz (revision 3) deleted



Lubos Kocman's avatar

We should have RN entry for this

Request History
Lubos Kocman's avatar

lkocman created request

- Submit new python-podman code-o-o#leap/features#145

- update to 4.8.1:
* Effectively a brand new package

old: openSUSE:Backports:SLE-15-SP6/python-podman
new: devel:microos/python-podman rev 12
Index: python-podman.changes
===================================================================
--- python-podman.changes (revision 3)
+++ python-podman.changes (revision 12)
@@ -1,4 +1,264 @@
-------------------------------------------------------------------
+Tue Jan 16 13:43:33 UTC 2024 - Dan Čermák
+
+- Remove unneeded BuildRequires for test package
+
+-------------------------------------------------------------------
+Sun Jan 7 15:27:00 UTC 2024 - Johannes Kastl
+
+- update to 4.8.1:
+ * [release-4.8] Make progress_bar an extra feature by
+ @openshift-cherrypick-robot in
+ https://github.com/containers/podman-py/pull/362
+ * Bump version to 4.8.2 by @umohnani8 in
+ https://github.com/containers/podman-py/pull/363
+
+-------------------------------------------------------------------
+Thu Dec 21 17:12:27 UTC 2023 - Johannes Kastl
+
+- update to 4.8.1:
+ * [release-4.8] Add rich dep to setup.cfg by
+ @openshift-cherrypick-robot in #354
+ * [release-4.8] Fix lint issues by @openshift-cherrypick-robot in
+ #359
+ * Bump version to podman 4.8.1 by @umohnani8 in #357
+
+-------------------------------------------------------------------
+Tue Nov 28 11:27:47 UTC 2023 - Johannes Kastl
+
+- update to 4.8.0:
+ * Update version to 4.8.0-dev by @umohnani8 in #329
+ * Fix up docs and format issues by @umohnani8 in #338
+ * Fix readthedocs yaml by @umohnani8 in #339
+ * Add progress_bar option to image pull by @umohnani8 in #340
+ * Update dependency containers/automation_images to v20231004 by
+ @renovate in #335
+ * Update pull progress bar colour by @umohnani8 in #341
+ * Fix readthedocs build issues by @umohnani8 in #342
+ * Update dependency containers/automation_images to v20231116 by
+ @renovate in #344
+ * Bump version v4.8.0 by @umohnani8 in #345
+
+-------------------------------------------------------------------
+Thu Sep 28 04:38:02 UTC 2023 - Johannes Kastl
+
+- update to 4.6.0:
+ * Bump version to v4.6.0 by @umohnani8 in #303
+ * Packit: mention downstream_package_name: python-podman in
+ config by @lsm5 in #306
+ * Bump version on main to 4.7.0-dev by @umohnani8 in #304
+ * Add read_write_tmpfs by @msisj in #302
+ * Update dependency containers/automation_images to v20230807 by
+ @renovate in #308
+ * remove direct logging to sys.stderr by @chnrxn in #311
+ * packit: Build PRs into default packit COPRs by @martinpitt in
+ #310
+ * Update dependency ubuntu to v22 by @renovate in #313
+ * Update dependency containers/automation_images to v20230809 by
+ @renovate in #314
+ * [skip-ci] Update tim-actions/commit-message-checker-with-regex
+ action to v0.3.2 by @renovate in #317
+ * Fix assertation error in manifest.py by @umohnani8 in #320
+ * Update dependency containers/automation_images to v20230816 by
+ @renovate in #316
+ * Fixes the secrets parameter, adds the secret_env parameter by
+ @andryyy in #319
+ * Fix image SCP when not providing quiet by @hpvb in #321
+ * Change default value for tty in exec_run by @maxi0604 in #324
+
+-------------------------------------------------------------------
+Mon Jul 24 13:21:26 UTC 2023 - Johannes Kastl
+
+- use new Build macros
+- update constraints on BuildRequires
+ * drop constraint for urllib3 < 2
+ * add constraint on requests and pyxdg
+- follow upstream and use new tomli (for python < 3.11) instead of
+ pytoml
+
+-------------------------------------------------------------------
+Mon Jul 24 13:11:26 UTC 2023 - Johannes Kastl
+
+- update to 4.6.0:
+ * Bump version to 4.5.0 by @umohnani8 in #263
+ * chore(deps): update dependency containers/automation_images to
+ v20230426 by @renovate in #259
+ * chore(deps): update dependency urllib3 to v2 by @renovate in
+ #265
+ * [skip-ci] Update tim-actions/get-pr-commits action to v1.3.0 by
+ @renovate in #268
+ * chore(deps): update dependency containers/automation_images to
+ v20230517 by @renovate in #270
+ * Streaming support for PodsManager.stats API by @RazCrimson in
+ #266
+ * Minor text fixes in contributing.md by @umohnani8 in #278
+ * Swap renovate dep. update. PR assignments by @cevich in #279
+ * chore(deps): update dependency containers/automation_images to
+ v20230601 by @renovate in #280
+ * Update Makefile to emulate readthedocs automation by @umohnani8
+ in #282
+ * [CI:BUILD] Packit: initial enablement by @lsm5 in #242
+ * chore(deps): update dependency containers/automation_images to
+ v20230614 by @renovate in #286
+ * Packit: remove .packit.sh by @lsm5 in #288
+ * Fix catching errors in the response body of containers/prune by
+ @francisbergin in #290
+ * Fix pod prune error explanation string by @francisbergin in
+ #291
+ * Refactor Makefile to support tox / MacOS Ventura by @jwhonce in
+ #285
+ * Switch HTTPConnection from http.client to urllib3.connection by
+ @dcermak in #283
+ * Keep main branch version ahead of release branches by @lsm5 in
+ #289
+ * [CI:BUILD] RPM: Cleanup by @lsm5 in #296
+ * Includes the possibility to use the 'listTags' parameter in
+ image search endpoint by @apozsuse in #295
+ * Update dependency fixtures to ~=4.1.0 by @renovate in #297
+ * Update fixtures to not be tied to a version by @umohnani8 in
+ #300
+ * Fix passing filters to networks prune by @francisbergin in #298
+
+-------------------------------------------------------------------
+Sat Jun 3 15:58:00 UTC 2023 - Georg Pfuetzenreuter
+
+- Require pytoml
+
+-------------------------------------------------------------------
+Thu Jun 1 05:35:55 UTC 2023 - Johannes Kastl
+
+- update to 4.5.1:
+ * [v4.5-rhel] cherry-pick urlib3 fixes by @umohnani8 in
+ https://github.com/containers/podman-py/pull/274
+
+-------------------------------------------------------------------
+Fri Apr 28 05:09:34 UTC 2023 - Johannes Kastl
+
+- add necessary Requires, remove outdated Requires
+- add _service file
+ - change URL to make `osc service disabledrun download_files`
+ work
+- update to 4.5.0:
+ * Change docstring to point to podman docs
+ * [skip-ci] Update tim-actions/get-pr-commits action to v1.2.0
+ * Add renovate.json
+ * Fix new lint problems
+ * Improve exception when missing env var
+ * chg: Container.top to use stream_helper
+ * chg: Container.stats to use stream_helper
+ * add: stream_helper in api/parse_utils.py
+ * Cirrus: Update CI VM images
+ * Bump fixtures requirement
+ * Specify version verbatim in setup.cfg
+ * [spec] Switch license to SPDX
+ * podman.spec: run unit tests
+ * Fix version spec in setup.cfg
+ * Correct pyproject.toml [build-system] requires
+ * Fallback to pytoml on RHEL 8 and toml on 9
+ * Use modern tomllib/tomli modules for reading TOML files
+ * Revert "Use modern tomllib/tomli modules for reading TOML
+ files"
+ * chore: Container.stats - type hints
+ * fix: Container.stats - invalid response for non-stream mode
+ * fix: Container.stats - missing stream param to requests
+ * Lint fix
+ * Merge branch 'containers:main' into
+ feat/container-create-secret
+ * Correctly add secrets to container on creation
+
+-------------------------------------------------------------------
+Fri Feb 24 08:04:35 UTC 2023 - Dan Čermák
+
+- cleanup requires & suggests (fixes boo#1208627)
+- New upstream release 4.4.1:
+ This release contains necessary backports to revert the new tomli package
+ that was introduced but is not supported by RHEL currently.
+
+- New upstream release 4.4.0:
+ Bump version to 4.3.0 by @umohnani8 in #216
+ update urllib to 1.26.5 for a CVE found in previous versions by @cdoern in #210
+ Correct path for rtd conf.py by @baude in #219
+ Clean up pylint configuration by @jwhonce in #222
+ Use modern tomllib/tomli modules for reading TOML files by @mgorny in #214
+ Added port binding range by @msisj in #224
+ Update cirrus image by @rhatdan in #225
+ Cirrus: Update CI VM images to F37 by @cevich in #228
+ Fix the ability to run containers by @jonathanunderwood in #226
+ Update files to adhere to new lint requirements by @umohnani8 in #236
+
+-------------------------------------------------------------------
+Fri Oct 28 19:54:33 UTC 2022 - Yogalakshmi Arunachalam
+
+- Update to 4.3.0
+ * Add pass-through layers, output and outputformat to building images
+ * Support passing of interval and condition in podman wait calls
+ * Implement podman image scp
+ * Update supported python versions
+ * Add support of passing empty strings in second
+ * Add support for on failure actions in healthchecks
+ * Bug fixes
+
+-------------------------------------------------------------------
+Mon Aug 15 11:45:24 UTC 2022 - Michael Ströder
+
+- update to 4.2.0
+ * Added support for devices in container creation
+ * Implemented the login endpoint
+ * Added relabel option for mounts and other mount option support
+ * Implemented exec_run
+ * Bug Fixes
+
+-------------------------------------------------------------------
+Thu Jun 30 06:31:58 UTC 2022 - Johannes Kastl
+
+- update to 4.0.0
+ * Remove support for old (ApiConnection) API
+ * Update CI to use copr and release podman packages for testing
+ * Port code to support Podman 4.0.0 API changes
+ * Added support for Python 3.10
+ * lint scrub and correction of code
+ * Bug fixes
+ * Move to tox for development support
+ * Move to pytest from nose for test execution
+ * Support testing python 3.6,3.8-3.10
+ * Allow passing string values to memory limits
+
+- remove patch python310.patch
+
+-------------------------------------------------------------------
+Wed Jun 29 15:13:29 UTC 2022 - Johannes Kastl
+
+- disable building for python2
+
+-------------------------------------------------------------------
+Mon Feb 21 08:55:25 UTC 2022 - Dirk Müller
+
+- update to 3.2.1:
+ * Update packaging
+ * Update CI to support testing against released and main podman branches
+ * Cleanup CI configuration
+ * Bug fixes
+ * Bug fixes and updates to make API more complete
+ * Update dependency checking
+ * PodmanClient() now supports service addresses using ssh:// and tcp://
+ schemes. The keyword connection has been added, using its value as a key
+ into the connections that have been defined in
+ XDG_CONFIG_DIR/containers/containers.cfg. The podman system connection is
+ used to curate connections.
+ * docstrings were cleaned up to aid in future sphinx generated documentation.
+ * ssh:// service addresses are supported by the use of an external ssh client.
+ * tcp:// connections are not secure.
+ * PodmanClient() introduces docker-py functionality, while additionally
+ allowing access to Podman unique functionality such as Pods.
+ * Note: APIConnection() and it's support classes will be deprecated.
+- add python310.patch: support python 3.10
+
+-------------------------------------------------------------------
+Thu May 27 07:35:27 UTC 2021 - pgajdos@suse.com
+
+- %check: run test via %pyunittest rpm macro
+
+-------------------------------------------------------------------
Fri Feb 21 01:58:37 UTC 2020 - Steve Kowalik

- Update to 1.6.0:
Index: python-podman.spec
===================================================================
--- python-podman.spec (revision 3)
+++ python-podman.spec (revision 12)
@@ -1,7 +1,7 @@
#
# spec file for package python-podman
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,56 +16,77 @@
#


-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-podman
-Version: 1.6.0
+%define skip_python2 1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-podman%{psuffix}
+Version: 4.8.2
Release: 0
Summary: A library to interact with a Podman server
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://github.com/containers/python-podman
-Source: https://files.pythonhosted.org/packages/source/p/podman/podman-%{version}.tar.gz
+URL: https://github.com/containers/podman-py
+Source: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz#./podman-%{version}.tar.gz
BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module tomli >= 1.2.3 if python-base < 3.11}
+BuildRequires: %{python_module pyxdg >= 0.26}
+BuildRequires: %{python_module requests >= 2.24}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: (python-tomli >= 1.2.3 if python-base < 3.11)
+Requires: python-pyxdg
+Requires: python-requests
+Requires: python-urllib3
+BuildArch: noarch
+%if %{with test}
# SECTION test requirements
-BuildRequires: %{python_module flake8}
-BuildRequires: %{python_module psutil}
-BuildRequires: %{python_module python-dateutil}
+BuildRequires: %{python_module fixtures}
+BuildRequires: %{python_module podman >= %{version}}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools >= 39}
-BuildRequires: %{python_module varlink}
-BuildRequires: %{python_module wheel}
+%if %{defined sle_version}
+BuildRequires: %{python_module dataclasses}
+%endif
# /SECTION
-BuildRequires: fdupes
-Requires: python-psutil
-Requires: python-python-dateutil
-Requires: python-setuptools >= 39
-Requires: python-varlink
-Suggests: python-fixtures
-Suggests: python-pbr
-BuildArch: noarch
-
+%endif
%python_subpackages

%description
A library to interact with a Podman server

%prep
-%setup -q -n podman-%{version}
+%autosetup -n podman-py-%{version}

%build
-%python_build
+%pyproject_wheel

+%if !%{with test}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif

+%if %{with test}
%check
-%python_exec setup.py test
+%{python_expand $python -m pytest podman/tests/unit}
+%endif

+%if !%{with test}
%files %{python_files}
-%doc AUTHORS CHANGES.txt ChangeLog README.md
+%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/podman/
+%{python_sitelib}/podman-%{version}.dist-info/
+%endif

%changelog
Index: _multibuild
===================================================================
--- _multibuild (added)
+++ _multibuild (revision 12)
@@ -0,0 +1,3 @@
+
+ test
+
Index: _service
===================================================================
--- _service (added)
+++ _service (revision 12)
@@ -0,0 +1,4 @@
+
+
+
+
Index: podman-4.8.2.tar.gz
===================================================================
Binary file podman-4.8.2.tar.gz (revision 12) added
Index: podman-1.6.0.tar.gz
===================================================================
Binary file podman-1.6.0.tar.gz (revision 3) deleted


Factory Auto's avatar

factory-auto added origin-reviewers as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Lubos Kocman's avatar

lkocman-factory added as a reviewer

Being evaluated by staging project "openSUSE:Backports:SLE-15-SP6:Staging:adi:2"


Lubos Kocman's avatar

lkocman-factory accepted review

Picked "openSUSE:Backports:SLE-15-SP6:Staging:adi:2"


Johannes Kastl's avatar

ojkastl_buildservice accepted review

Looks good to me...


Max Lin's avatar

mlin7442 accepted review


Yuchen Lin's avatar

maxlin_factory accepted review

Staging Project openSUSE:Backports:SLE-15-SP6:Staging:adi:2 got accepted.


Yuchen Lin's avatar

maxlin_factory approved review

Staging Project openSUSE:Backports:SLE-15-SP6:Staging:adi:2 got accepted.


Yuchen Lin's avatar

maxlin_factory accepted request

Staging Project openSUSE:Backports:SLE-15-SP6:Staging:adi:2 got accepted.

openSUSE Build Service is sponsored by