File tree 5 files changed +25
-9
lines changed
5 files changed +25
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,6 +12,21 @@ schemes recommended by the Python Packaging Authority.
12
12
13
13
.. towncrier release notes start
14
14
15
+ Twine 5.1.1 (2024-06-26)
16
+ ------------------------
17
+
18
+ Bugfixes
19
+ ^^^^^^^^
20
+
21
+ - Resolve DeprecationWarnings when extracting ``twine `` metadata. (`#1115 <https://github.com/pypa/twine/issues/1115 >`_)
22
+
23
+ - Fix bug for Repository URLs with auth where the port was lost. When attempting
24
+ to prevent printing authentication credentials in URLs provided with username
25
+ and password, we did not properly handle the case where the URL also contains
26
+ a port (when reconstructing the URL). This is now handled and tested to
27
+ ensure no regressions. (`#fix-repo-urls-with-auth-and-port <https://github.com/pypa/twine/issues/fix-repo-urls-with-auth-and-port >`_)
28
+
29
+
15
30
Twine 5.1.0 (2024-05-15)
16
31
------------------------
17
32
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ dependencies = [
39
39
" keyring >= 15.1" ,
40
40
" rfc3986 >= 1.4.0" ,
41
41
" rich >= 12.0.0" ,
42
+
43
+ # workaround for #1116
44
+ " pkginfo < 1.11" ,
42
45
]
43
46
dynamic = [" version" ]
44
47
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ commands =
95
95
96
96
[testenv:changelog]
97
97
basepython = python3
98
- skip_install = True
99
98
deps =
100
99
towncrier
101
100
commands =
Original file line number Diff line number Diff line change 30
30
31
31
__copyright__ = "Copyright 2019 Donald Stufft and individual contributors"
32
32
33
+ import email
33
34
import sys
34
35
35
36
if sys .version_info >= (3 , 10 ):
42
43
43
44
__title__ = metadata ["name" ]
44
45
__summary__ = metadata ["summary" ]
45
- __uri__ = metadata ["home-page" ]
46
+ __uri__ = next (
47
+ entry .split (", " )[1 ]
48
+ for entry in metadata .get_all ("Project-URL" , ())
49
+ if entry .startswith ("Homepage" )
50
+ )
46
51
__version__ = metadata ["version" ]
47
- __author__ = metadata ["author" ]
48
- __email__ = metadata ["author-email" ]
52
+ __author__ , __email__ = email .utils .parseaddr (metadata ["author-email" ])
49
53
__license__ = None
You can’t perform that action at this time.
0 commit comments