public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-docker] epel10.2: 3.0.1
@ 2026-10-13 18:26 Tomas Tomecek
  0 siblings, 0 replies; only message in thread
From: Tomas Tomecek @ 2026-10-13 18:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-docker
            Branch : epel10.2
            Commit : 4d73ff1259eeb1c178dcf05b246d96916d48044c
            Author : Tomas Tomecek <ttomecek@redhat.com>
            Date   : 2018-02-07T12:26:52+01:00
            Stats  : +41/-20 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-docker/c/4d73ff1259eeb1c178dcf05b246d96916d48044c?branch=epel10.2

            Log:
            3.0.1

used python%d for all the fedora dependencies

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

---
diff --git a/.gitignore b/.gitignore
index f00c3b8..e304619 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ tests/artifacts/
 tests/tests.retry
 tests/atomic.qcow2
 /docker-2.7.0.tar.gz
+/docker-3.0.1.tar.gz

diff --git a/python-docker.spec b/python-docker.spec
index 7f35ab7..b78b9cf 100644
--- a/python-docker.spec
+++ b/python-docker.spec
@@ -10,7 +10,7 @@
 %global srcname docker
 
 Name:           python-%{srcname}
-Version:        2.7.0
+Version:        3.0.1
 Release:        1%{?dist}
 Summary:        A Python library for the Docker Engine API
 License:        ASL 2.0
@@ -21,7 +21,7 @@ Source0:        https://files.pythonhosted.org/packages/source/d/%{srcname}/%{sr
 # Environment markers were first added in setuptools 20.6.8, so that doesn't
 # work in RHEL.  This patch converts those environment markers into simple if
 # statements.
-Patch2:         remove-environment-markers.patch
+Patch2: remove-environment-markers.patch
 
 # Upstream uses pip to check if the older docker-py module is installed.  We
 # handle that with an obsolete.
@@ -45,17 +45,20 @@ BuildRequires:  python2-mock >= 1.0.1
 BuildRequires:  %{?fedora:python2-}pytest >= 2.9.1
 BuildRequires:  python%{?fedora:2}-requests >= 2.14.2
 BuildRequires:  python%{?fedora:2}-six >= 1.4.0
-BuildRequires:  python-websocket-client >= 0.32.0
+BuildRequires:  python%{?fedora:2}-websocket-client >= 0.32.0
 BuildRequires:  python%{?fedora:2}-docker-pycreds >= 0.2.1
 BuildRequires:  python%{?fedora:2}-backports-ssl_match_hostname >= 3.5
-BuildRequires:  python-ipaddress >= 1.0.16
+BuildRequires:  python%{?fedora:2}-ipaddress >= 1.0.16
 %endif  # tests
 Requires:       python%{?fedora:2}-requests >= 2.14.2
 Requires:       python%{?fedora:2}-six >= 1.4.0
-Requires:       python-websocket-client >= 0.32.0
+Requires:       python%{?fedora:2}-websocket-client >= 0.32.0
 Requires:       python%{?fedora:2}-docker-pycreds >= 0.2.1
 Requires:       python%{?fedora:2}-backports-ssl_match_hostname >= 3.5
-Requires:       python-ipaddress >= 1.0.16
+Requires:       python%{?fedora:2}-ipaddress >= 1.0.16
+Requires:       python%{?fedora:2}-pyOpenSSL
+Requires:       python%{?fedora:2}-idna
+Requires:       python%{?fedora:2}-cryptography
 
 %if 0%{?fedora} >= 26
 Obsoletes:      python-docker-py < 1:2
@@ -74,10 +77,13 @@ Requires:       python2-mock >= 1.0.1
 Requires:       %{?fedora:python2-}pytest >= 2.9.1
 Requires:       python%{?fedora:2}-requests >= 2.14.2
 Requires:       python%{?fedora:2}-six >= 1.4.0
-Requires:       python-websocket-client >= 0.32.0
+Requires:       python%{?fedora:2}-websocket-client >= 0.32.0
 Requires:       python%{?fedora:2}-docker-pycreds >= 0.2.1
 Requires:       python%{?fedora:2}-backports-ssl_match_hostname >= 3.5
-Requires:       python-ipaddress >= 1.0.16
+Requires:       python%{?fedora:2}-ipaddress >= 1.0.16
+Requires:       python%{?fedora:2}-pyOpenSSL
+Requires:       python%{?fedora:2}-idna
+Requires:       python%{?fedora:2}-cryptography
 %description tests
 Upstream test-suite (unit, integration) packaged as RPM.
 
@@ -100,6 +106,9 @@ Requires:       python3-requests >= 2.14.2
 Requires:       python3-six >= 1.4.0
 Requires:       python3-websocket-client >= 0.32.0
 Requires:       python3-docker-pycreds >= 0.2.1
+Requires:       python3-pyOpenSSL
+Requires:       python3-idna
+Requires:       python3-cryptography
 
 %if 0%{?fedora} >= 26
 Obsoletes:      python3-docker-py < 1:2
@@ -162,6 +171,9 @@ cp -avr tests/ %{buildroot}%{_libexecdir}/installed-tests/%{name}/
 %{_libexecdir}/installed-tests
 
 %changelog
+* Wed Feb 07 2018 Tomas Tomecek <ttomecek@redhat.com> - 3.0.1-1
+- New upstream release 3.0.1
+
 * Wed Dec 27 2017 Carl George <carl@george.computer> - 2.7.0-1
 - Latest upstream rhbz#1527712
 - Drop patch1, requirements.txt does not affect final installation

diff --git a/remove-environment-markers.patch b/remove-environment-markers.patch
index 90db013..888fd83 100644
--- a/remove-environment-markers.patch
+++ b/remove-environment-markers.patch
@@ -1,12 +1,13 @@
 Generate requirements list dynamically instead of using environment markers.
 This allows using versions of setuptools older than 20.6.8.
 
-diff -Nurp docker-2.5.1.orig/setup.py docker-2.5.1/setup.py
---- docker-2.5.1.orig/setup.py	2017-08-22 18:44:35.000000000 -0500
-+++ docker-2.5.1/setup.py	2017-09-05 12:06:03.280017598 -0500
-@@ -29,23 +29,14 @@ requirements = [
- if sys.platform == 'win32':
-     requirements.append('pypiwin32 >= 219')
+diff --git a/setup.py b/setup.py
+index b628f4a..aaf23a0 100644
+--- a/setup.py
++++ b/setup.py
+@@ -26,29 +26,17 @@ requirements = [
+     'docker-pycreds >= 0.2.1'
+ ]
  
 -extras_require = {
 -    ':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
@@ -14,7 +15,17 @@ diff -Nurp docker-2.5.1.orig/setup.py docker-2.5.1/setup.py
 -    # ssl_match_hostname to verify hosts match with certificates via
 -    # ServerAltname: https://pypi.python.org/pypi/backports.ssl_match_hostname
 -    ':python_version < "3.3"': 'ipaddress >= 1.0.16',
--
++if sys.platform == 'win32':
++    requirements.append('pypiwin32 >= 219')
+ 
+-    # win32 APIs if on Windows (required for npipe support)
+-    # Python 3.6 is only compatible with v220 ; Python < 3.5 is not supported
+-    # on v220 ; ALL versions are broken for v222 (as of 2018-01-26)
+-    ':sys_platform == "win32" and python_version < "3.6"': 'pypiwin32==219',
+-    ':sys_platform == "win32" and python_version >= "3.6"': 'pypiwin32==220',
++if sys.version_info[:2] < (3, 5):
++    requirements.append('backports.ssl_match_hostname >= 3.5')
+ 
 -    # If using docker-py over TLS, highly recommend this option is
 -    # pip-installed or pinned.
 -
@@ -25,9 +36,6 @@ diff -Nurp docker-2.5.1.orig/setup.py docker-2.5.1/setup.py
 -    # 'requests[security] >= 2.5.2, != 2.11.0, != 2.12.2'
 -    'tls': ['pyOpenSSL>=0.14', 'cryptography>=1.3.4', 'idna>=2.0.0'],
 -}
-+if sys.version_info[:2] < (3, 5):
-+    requirements.append('backports.ssl_match_hostname >= 3.5')
-+
 +# While not imported explicitly, the ipaddress module is required for
 +# ssl_match_hostname to verify hosts match with certificates via
 +# ServerAltname: https://pypi.python.org/pypi/backports.ssl_match_hostname
@@ -36,7 +44,7 @@ diff -Nurp docker-2.5.1.orig/setup.py docker-2.5.1/setup.py
  
  version = None
  exec(open('docker/version.py').read())
-@@ -72,7 +63,6 @@ setup(
+@@ -75,7 +63,6 @@ setup(
      packages=find_packages(exclude=["tests.*", "tests"]),
      install_requires=requirements,
      tests_require=test_requirements,

diff --git a/sources b/sources
index 1794abf..bad87f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (docker-2.7.0.tar.gz) = e6623631cafa886f780ab1c7835bdbc5cbdeb747d14c2ea6b0694977683f2e97e4a3a484f0f80b10c23d67696af2c505db21e53d4f929b223af71fc49225a9c3
+SHA512 (docker-3.0.1.tar.gz) = 1ffc3010b8f1090a5fb042c8f457823c609f45ecbf9fc7f15216f12b8674d8f0bde78ed7ae50ea50f0e1c8ba5034ce4d529bb3d67096c29531e7bf106f62bd5c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 18:26 [rpms/python-docker] epel10.2: 3.0.1 Tomas Tomecek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox