public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yarl/files/
Date: Sat, 12 Sep 2020 09:55:12 +0000 (UTC)	[thread overview]
Message-ID: <1599904493.54eaee0c68a9130e15d8e361afa67ac67f4c3a83.soap@gentoo> (raw)

commit:     54eaee0c68a9130e15d8e361afa67ac67f4c3a83
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Aug 28 17:03:37 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 09:54:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54eaee0c

dev-python/yarl: remove unused patch

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/yarl/files/yarl-1.5.0-typing_ext.patch | 52 -----------------------
 1 file changed, 52 deletions(-)

diff --git a/dev-python/yarl/files/yarl-1.5.0-typing_ext.patch b/dev-python/yarl/files/yarl-1.5.0-typing_ext.patch
deleted file mode 100644
index 737135b0ff0..00000000000
--- a/dev-python/yarl/files/yarl-1.5.0-typing_ext.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 47478e942992aaaa26c2defc3294cac45ede2cfe Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 27 Jul 2020 07:13:19 +0200
-Subject: [PATCH] Require typing_extensions for py<3.8 only
-
-All the names imported from typing_extensions are available already
-in Python 3.8, so there is no need to use the additional dependency
-there.  Furthermore, typing_extensions currently do not support
-Python 3.9, effectively blocking yarl from doing so.  To solve this,
-use external typing_extensions only for py<3.8, and just use builtin
-typing in 3.8+.
----
- requirements/test.txt | 2 +-
- setup.py              | 3 ++-
- yarl/__init__.pyi     | 7 ++++++-
- 3 files changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 41d684d..1ed5bfe 100644
---- a/setup.py
-+++ b/setup.py
-@@ -30,7 +30,8 @@ with fname.open(encoding="utf8") as fp:
-     except IndexError:
-         raise RuntimeError("Unable to determine version.")
- 
--install_requires = ["multidict>=4.0", "idna>=2.0", "typing_extensions>=3.7.4"]
-+install_requires = ["multidict>=4.0", "idna>=2.0",
-+                    "typing_extensions>=3.7.4;python_version<\"3.8\""]
- 
- 
- def read(name):
-diff --git a/yarl/__init__.pyi b/yarl/__init__.pyi
-index b3b58ec..eb4a12f 100644
---- a/yarl/__init__.pyi
-+++ b/yarl/__init__.pyi
-@@ -1,7 +1,12 @@
- from typing import overload, Any, Tuple, Optional, Mapping, Union, Sequence, Type
--from typing_extensions import TypedDict, Final, final
- import multidict
- from functools import _CacheInfo
-+import sys
-+
-+if sys.hexversion >= 0x03080000:
-+    from typing import TypedDict, Final, final
-+else:
-+    from typing_extensions import TypedDict, Final, final
- 
- _QueryVariable = Union[str, int]
- _Query = Union[
--- 
-2.27.0
-


                 reply	other threads:[~2020-09-12  9:55 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=1599904493.54eaee0c68a9130e15d8e361afa67ac67f4c3a83.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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