File tree 4 files changed +19
-11
lines changed
4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 5
5
6
6
repos :
7
7
- repo : https://github.com/asottile/add-trailing-comma.git
8
- rev : v3.0 .0
8
+ rev : v3.1 .0
9
9
hooks :
10
10
- id : add-trailing-comma
11
11
@@ -17,12 +17,12 @@ repos:
17
17
- --honor-noqa
18
18
19
19
- repo : https://github.com/Lucas-C/pre-commit-hooks.git
20
- rev : v1.5.1
20
+ rev : v1.5.4
21
21
hooks :
22
22
- id : remove-tabs
23
23
24
24
- repo : https://github.com/python-jsonschema/check-jsonschema.git
25
- rev : 0.23.2
25
+ rev : 0.27.0
26
26
hooks :
27
27
- id : check-github-actions
28
28
- id : check-github-workflows
62
62
language_version : python3
63
63
64
64
- repo : https://github.com/codespell-project/codespell
65
- rev : v2.2.5
65
+ rev : v2.2.6
66
66
hooks :
67
67
- id : codespell
68
68
78
78
- --strict
79
79
80
80
- repo : https://github.com/PyCQA/flake8.git
81
- rev : 6.0 .0
81
+ rev : 6.1 .0
82
82
hooks :
83
83
- id : flake8
84
84
alias : flake8-no-wps
98
98
99
99
- repo : https://github.com/PyCQA/flake8.git
100
100
# NOTE: This is kept at v4 for until WPS starts supporting flake v5.
101
- rev : 4.0.1 # enforce-version: 4.0.1
101
+ rev : 6.1.0 # enforce-version: 4.0.1
102
102
hooks :
103
103
- id : flake8
104
104
alias : flake8-only-wps
@@ -130,7 +130,7 @@ repos:
130
130
- wemake-python-styleguide ~= 0.17.0
131
131
132
132
- repo : https://github.com/PyCQA/pylint.git
133
- rev : v3.0.0a6
133
+ rev : v3.0.0
134
134
hooks :
135
135
- id : pylint
136
136
args :
Original file line number Diff line number Diff line change 5
5
# pip-compile --allow-unsafe --output-file=requirements/runtime-prerequisites.txt --resolver=backtracking --strip-extras requirements/runtime-prerequisites.in
6
6
#
7
7
pip-with-requires-python==1.0.1
8
- # via -r requirements/ runtime-prerequisites.in
8
+ # via -r runtime-prerequisites.in
9
9
10
10
# The following packages are considered to be unsafe in a requirements file:
11
- pip==22.3.1
11
+ pip==23.3
12
12
# via pip-with-requires-python
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ cffi==1.15.1
14
14
# via cryptography
15
15
charset-normalizer==3.2.0
16
16
# via requests
17
- cryptography==41.0.3
17
+ cryptography==41.0.6
18
18
# via secretstorage
19
19
docutils==0.20.1
20
20
# via readme-renderer
@@ -76,7 +76,7 @@ typing-extensions==4.7.1
76
76
# via
77
77
# pydantic
78
78
# pydantic-core
79
- urllib3==2.0.6
79
+ urllib3==2.0.7
80
80
# via
81
81
# requests
82
82
# twine
Original file line number Diff line number Diff line change @@ -40,6 +40,13 @@ INPUT_VERIFY_METADATA="$(get-normalized-input 'verify-metadata')"
40
40
INPUT_SKIP_EXISTING=" $( get-normalized-input ' skip-existing' ) "
41
41
INPUT_PRINT_HASH=" $( get-normalized-input ' print-hash' ) "
42
42
43
+ PASSWORD_DEPRECATION_NUDGE=" ::error title=Password-based uploads deprecated::\
44
+ Starting in 2024, PyPI will require all users to enable Two-Factor \
45
+ Authentication. This will consequently require all users to switch \
46
+ to either Trusted Publishers (preferred) or API tokens for package \
47
+ uploads. Read more: \
48
+ https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/"
49
+
43
50
TRUSTED_PUBLISHING_NUDGE=" ::warning title=Upgrade to Trusted Publishing::\
44
51
Trusted Publishers allows publishing packages to PyPI from automated \
45
52
environments like GitHub Actions without needing to use username/password \
69
76
" against ${INPUT_REPOSITORY_URL} "
70
77
71
78
if [[ " ${INPUT_REPOSITORY_URL} " =~ pypi\. org ]]; then
79
+ echo " ${PASSWORD_DEPRECATION_NUDGE} "
72
80
echo " ${TRUSTED_PUBLISHING_NUDGE} "
73
81
fi
74
82
fi
You can’t perform that action at this time.
0 commit comments