Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python-future to version 1.0.0 for python3.12 and package test fixes #12185

Open
wants to merge 3 commits into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions SPECS/future/future-fix-test_ftp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From cde06d8bbed44cd46f21802aff4b165e4c6eebe9 Mon Sep 17 00:00:00 2001
From: Sam Meluch <[email protected]>
Date: Fri, 31 Jan 2025 15:34:18 -0800
Subject: [PATCH] fix mimetype guess in test_ftp

---
tests/test_future/test_urllib2.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_future/test_urllib2.py b/tests/test_future/test_urllib2.py
index bd8e75c..99b1dd1 100644
--- a/tests/test_future/test_urllib2.py
+++ b/tests/test_future/test_urllib2.py
@@ -709,7 +709,7 @@ class HandlerTests(unittest.TestCase):
["foo", "bar"], "", None),
("ftp://localhost/baz.gif;type=a",
"localhost", ftplib.FTP_PORT, "", "", "A",
- [], "baz.gif", None),
+ [], "baz.gif", "image/gif"),
("ftp://localhost/baz.gif",
"localhost", ftplib.FTP_PORT, "", "", "I",
[], "baz.gif", "image/gif"),
--
2.34.1

192 changes: 0 additions & 192 deletions SPECS/future/future-fix_tests.patch

This file was deleted.

31 changes: 0 additions & 31 deletions SPECS/future/future-python311.patch

This file was deleted.

70 changes: 0 additions & 70 deletions SPECS/future/future-python312.patch

This file was deleted.

41 changes: 0 additions & 41 deletions SPECS/future/future-skip_tests_with_connection_errors.patch

This file was deleted.

2 changes: 1 addition & 1 deletion SPECS/future/future.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"future-0.18.3.tar.gz": "a112143596b549a3fe4824ce5140fa5b5873fc6ab8782cfa8c6cdb332dcc29d4"
"future-1.0.0.tar.gz": "a1c78af957e53190e6ad726560824af5dec9435a5f2a357caa602975c61f7d62"
}
}
Loading
Loading