public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Frantisek Lachman <flachman@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-docker] epel10.2: [packit] 4.0.1 upstream release
Date: Tue, 13 Oct 2026 18:29:43 GMT [thread overview]
Message-ID: <179191618321.1.235613498334627917.rpms-python-docker-91c47d97cfba@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-docker
Branch : epel10.2
Commit : 91c47d97cfbac8b0922582604b306f90ed3e1f35
Author : Frantisek Lachman <flachman@redhat.com>
Date : 2019-05-27T18:21:54+02:00
Stats : +103/-8 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-docker/c/91c47d97cfbac8b0922582604b306f90ed3e1f35?branch=epel10.2
Log:
[packit] 4.0.1 upstream release
Upstream tag: 4.0.1
Upstream commit: 9e9ce8ff30b37acc0b2c51cfd92cba009a4a9c50
Signed-off-by: Frantisek Lachman <flachman@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index d15aa9a..4fe30c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@ tests/atomic.qcow2
/docker-3.4.1.tar.gz
/docker-3.5.0.tar.gz
/docker-3.7.0.tar.gz
+/docker-4.0.1.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..5cff14e
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,24 @@
+---
+specfile_path: redhat/python-docker.spec
+synced_files:
+ - src: redhat/python-docker.spec
+ dest: python-docker.spec
+ - src: redhat/tests
+ dest: tests
+ - .packit.yaml
+downstream_package_name: python-docker
+upstream_project_name: docker
+upstream_ref: 4.0.1
+
+create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."]
+current_version_command: ["python3", "setup.py", "--version"]
+
+jobs:
+- job: sync_from_downstream
+ trigger: commit
+- job: copr_build
+ trigger: pull_request
+ metadata:
+ targets:
+ - fedora-rawhide-x86_64
+ - fedora-30-x86_64
diff --git a/0001-374c5e9126bbc05567e1b632e81cb035fe2b3039.patch b/0001-374c5e9126bbc05567e1b632e81cb035fe2b3039.patch
new file mode 100644
index 0000000..f8dc553
--- /dev/null
+++ b/0001-374c5e9126bbc05567e1b632e81cb035fe2b3039.patch
@@ -0,0 +1,61 @@
+diff --git a/setup.py b/setup.py
+index c29787b..074b633 100644
+--- a/setup.py
++++ b/setup.py
+@@ -3,6 +3,7 @@ from __future__ import print_function
+
+ import codecs
+ import os
++import sys
+
+ from setuptools import find_packages
+ from setuptools import setup
+@@ -16,33 +17,13 @@ requirements = [
+ 'requests >= 2.14.2, != 2.18.0',
+ ]
+
+-extras_require = {
+- ':python_version < "3.5"': '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
+- ':python_version < "3.3"': 'ipaddress >= 1.0.16',
+-
+- # 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==223',
+-
+- # If using docker-py over TLS, highly recommend this option is
+- # pip-installed or pinned.
+-
+- # TODO: if pip installing both "requests" and "requests[security]", the
+- # extra package from the "security" option are not installed (see
+- # https://github.com/pypa/pip/issues/4391). Once that's fixed, instead of
+- # installing the extra dependencies, install the following instead:
+- # 'requests[security] >= 2.5.2, != 2.11.0, != 2.12.2'
+- 'tls': ['pyOpenSSL>=17.5.0', 'cryptography>=1.3.4', 'idna>=2.0.0'],
+-
+- # Only required when connecting using the ssh:// protocol
+- 'ssh': ['paramiko>=2.4.2'],
+-
+-}
++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
++if sys.version_info[:2] < (3, 3):
++ requirements.append('ipaddress >= 1.0.16')
+
+ version = None
+ exec(open('docker/version.py').read())
+@@ -71,7 +52,6 @@ setup(
+ packages=find_packages(exclude=["tests.*", "tests"]),
+ install_requires=requirements,
+ tests_require=test_requirements,
+- extras_require=extras_require,
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
+ zip_safe=False,
+ test_suite='tests',
diff --git a/python-docker.spec b/python-docker.spec
index 2ac2bdb..efc97d0 100644
--- a/python-docker.spec
+++ b/python-docker.spec
@@ -14,18 +14,21 @@
%global srcname docker
Name: python-%{srcname}
-Version: 3.7.0
-Release: 2%{?dist}
+Version: 4.0.1
+Release: 1%{?dist}
Summary: A Python library for the Docker Engine API
License: ASL 2.0
URL: https://pypi.org/project/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
-# Upstream uses environment markers to conditionally apply some dependencies.
-# 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.
-Patch1: remove-environment-markers.patch
+
+# PATCHES FROM SOURCE GIT:
+
+# remove environment markers
+# Author: Tomas Tomecek <ttomecek@redhat.com>
+Patch0001: 0001-374c5e9126bbc05567e1b632e81cb035fe2b3039.patch
+
+
%global num_patches %{lua: c=0; for i,p in ipairs(patches) do c=c+1; end; print(c);}
@@ -158,6 +161,12 @@ cp -avr tests/ %{buildroot}%{_libexecdir}/installed-tests/%{name}/
%endif # tests
%changelog
+* Mon May 27 2019 Frantisek Lachman <flachman@redhat.com> - 4.0.1-1
+- New upstream release 4.0.1
+
+* Fri May 24 2019 Frantisek Lachman <flachman@redhat.com> - 4.0.0-1
+- New upstream release 4.0.0
+
* Mon Feb 25 2019 Yatin Karel <ykarel@redhat.com> - 3.7.0-2
- Enable python2 build for el7
diff --git a/sources b/sources
index aca648b..4520f28 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (docker-3.7.0.tar.gz) = 5ab071ea92ccf143b9a80bb25dc23fadd8c808c05bdc70356e570c17294826fcc8894ae5786581c3c9171da5b7b365e95eb2c0c27a336f8617497e751ef34dcf
+SHA512 (docker-4.0.1.tar.gz) = 8afc6d89423f1a9f9b02400ba7e0582d52d5ebf6f2400b2d172586f8977b89061c9347940cd44b7fe34999578bfa0e632183bd2ab558178444dcccc9d08f61ba
reply other threads:[~2026-10-13 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179191618321.1.235613498334627917.rpms-python-docker-91c47d97cfba@fedoraproject.org \
--to=flachman@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox