bcrypt 4.3.0__tar.gz → 5.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,179 @@
1
+ Changelog
2
+ =========
3
+
4
+ 5.1.0
5
+ -----
6
+
7
+ * Bumped MSRV to 1.85.
8
+ * Dropped support for Python 3.8.
9
+ * Dropped support for free-threaded Python 3.13 (free-threaded Python 3.14 is
10
+ still supported).
11
+ * Added support for free-threaded Python 3.15. We now publish ``abi3t``
12
+ (free-threaded stable ABI) wheels for it, which will also work on future
13
+ free-threaded Python versions.
14
+ * Added support for PyPy 3.12 and dropped support for PyPy 3.11. We now
15
+ publish PyPy 3.12 ``manylinux`` wheels instead of PyPy 3.11 ones.
16
+ * We no longer publish ``musllinux_1_1`` wheels; ``musllinux_1_2`` wheels
17
+ continue to be published.
18
+ * Dropped support for macOS on x86-64 (Intel). macOS wheels are now built for
19
+ arm64 only, with a minimum macOS version of 11.0.
20
+
21
+ 5.0.0
22
+ -----
23
+
24
+ * Bumped MSRV to 1.74.
25
+ * Added support for Python 3.14 and free-threaded Python 3.14.
26
+ * Added support for Windows on ARM.
27
+ * Passing ``hashpw`` a password longer than 72 bytes now raises a
28
+ ``ValueError``. Previously the password was silently truncated, following the
29
+ behavior of the original OpenBSD ``bcrypt`` implementation.
30
+
31
+ 4.3.0
32
+ -----
33
+
34
+ * Dropped support for Python 3.7.
35
+ * We now support free-threaded Python 3.13.
36
+ * We now support PyPy 3.11.
37
+ * We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
38
+ ``manylinux``, and for ARMv7l on ``manylinux``.
39
+
40
+ 4.2.1
41
+ -----
42
+
43
+ * Bump Rust dependency versions - this should resolve crashes on Python 3.13
44
+ free-threaded builds.
45
+ * We no longer build ``manylinux`` wheels for PyPy 3.9.
46
+
47
+ 4.2.0
48
+ -----
49
+
50
+ * Bump Rust dependency versions
51
+ * Removed the ``BCRYPT_ALLOW_RUST_163`` environment variable.
52
+
53
+ 4.1.3
54
+ -----
55
+
56
+ * Bump Rust dependency versions
57
+
58
+ 4.1.2
59
+ -----
60
+
61
+ * Publish both ``py37`` and ``py39`` wheels. This should resolve some errors
62
+ relating to initializing a module multiple times per process.
63
+
64
+ 4.1.1
65
+ -----
66
+
67
+ * Fixed the type signature on the ``kdf`` method.
68
+ * Fixed packaging bug on Windows.
69
+ * Fixed incompatibility with passlib package detection assumptions.
70
+
71
+ 4.1.0
72
+ -----
73
+
74
+ * Dropped support for Python 3.6.
75
+ * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the ``BCRYPT_ALLOW_RUST_163`` environment variable)
76
+
77
+ 4.0.1
78
+ -----
79
+
80
+ * We now build PyPy ``manylinux`` wheels.
81
+ * Fixed a bug where passing an invalid ``salt`` to ``checkpw`` could result in
82
+ a ``pyo3_runtime.PanicException``. It now correctly raises a ``ValueError``.
83
+
84
+ 4.0.0
85
+ -----
86
+
87
+ * ``bcrypt`` is now implemented in Rust. Users building from source will need
88
+ to have a Rust compiler available. Nothing will change for users downloading
89
+ wheels.
90
+ * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the latest
91
+ ``pip`` to ensure this doesn’t cause issues downloading wheels on their
92
+ platform. We now ship ``manylinux_2_28`` wheels for users on new enough platforms.
93
+ * ``NUL`` bytes are now allowed in inputs.
94
+
95
+
96
+ 3.2.2
97
+ -----
98
+
99
+ * Fixed packaging of ``py.typed`` files in wheels so that ``mypy`` works.
100
+
101
+ 3.2.1
102
+ -----
103
+
104
+ * Added support for compilation on z/OS
105
+ * The next release of ``bcrypt`` with be 4.0 and it will require Rust at
106
+ compile time, for users building from source. There will be no additional
107
+ requirement for users who are installing from wheels. Users on most
108
+ platforms will be able to obtain a wheel by making sure they have an up to
109
+ date ``pip``. The minimum supported Rust version will be 1.56.0.
110
+ * This will be the final release for which we ship ``manylinux2010`` wheels.
111
+ Going forward the minimum supported manylinux ABI for our wheels will be
112
+ ``manylinux2014``. The vast majority of users will continue to receive
113
+ ``manylinux`` wheels provided they have an up to date ``pip``.
114
+
115
+
116
+ 3.2.0
117
+ -----
118
+
119
+ * Added typehints for library functions.
120
+ * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
121
+ * Shipped ``abi3`` Windows wheels (requires pip >= 20).
122
+
123
+ 3.1.7
124
+ -----
125
+
126
+ * Set a ``setuptools`` lower bound for PEP517 wheel building.
127
+ * We no longer distribute 32-bit ``manylinux1`` wheels. Continuing to produce
128
+ them was a maintenance burden.
129
+
130
+ 3.1.6
131
+ -----
132
+
133
+ * Added support for compilation on Haiku.
134
+
135
+ 3.1.5
136
+ -----
137
+
138
+ * Added support for compilation on AIX.
139
+ * Dropped Python 2.6 and 3.3 support.
140
+ * Switched to using ``abi3`` wheels for Python 3. If you are not getting a
141
+ wheel on a compatible platform please upgrade your ``pip`` version.
142
+
143
+ 3.1.4
144
+ -----
145
+
146
+ * Fixed compilation with mingw and on illumos.
147
+
148
+ 3.1.3
149
+ -----
150
+ * Fixed a compilation issue on Solaris.
151
+ * Added a warning when using too few rounds with ``kdf``.
152
+
153
+ 3.1.2
154
+ -----
155
+ * Fixed a compile issue affecting big endian platforms.
156
+ * Fixed invalid escape sequence warnings on Python 3.6.
157
+ * Fixed building in non-UTF8 environments on Python 2.
158
+
159
+ 3.1.1
160
+ -----
161
+ * Resolved a ``UserWarning`` when used with ``cffi`` 1.8.3.
162
+
163
+ 3.1.0
164
+ -----
165
+ * Added support for ``checkpw``, a convenience method for verifying a password.
166
+ * Ensure that you get a ``$2y$`` hash when you input a ``$2y$`` salt.
167
+ * Fixed a regression where ``$2a`` hashes were vulnerable to a wraparound bug.
168
+ * Fixed compilation under Alpine Linux.
169
+
170
+ 3.0.0
171
+ -----
172
+ * Switched the C backend to code obtained from the OpenBSD project rather than
173
+ openwall.
174
+ * Added support for ``bcrypt_pbkdf`` via the ``kdf`` function.
175
+
176
+ 2.0.0
177
+ -----
178
+ * Added support for an adjustible prefix when calling ``gensalt``.
179
+ * Switched to CFFI 1.0+
@@ -1,4 +1,4 @@
1
- include LICENSE README.rst
1
+ include LICENSE README.rst CHANGELOG.rst
2
2
 
3
3
  include pyproject.toml
4
4
 
@@ -1,29 +1,32 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: bcrypt
3
- Version: 4.3.0
3
+ Version: 5.1.0
4
4
  Summary: Modern password hashing for your software and your servers
5
5
  Author-email: The Python Cryptographic Authority developers <cryptography-dev@python.org>
6
6
  License: Apache-2.0
7
7
  Project-URL: homepage, https://github.com/pyca/bcrypt/
8
+ Project-URL: changelog, https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst
8
9
  Classifier: Development Status :: 5 - Production/Stable
9
- Classifier: License :: OSI Approved :: Apache Software License
10
10
  Classifier: Programming Language :: Python :: Implementation :: CPython
11
11
  Classifier: Programming Language :: Python :: Implementation :: PyPy
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Programming Language :: Python :: 3 :: Only
14
- Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: Programming Language :: Python :: 3.13
20
- Requires-Python: >=3.8
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
21
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
22
+ Requires-Python: >=3.9
21
23
  Description-Content-Type: text/x-rst
22
24
  License-File: LICENSE
23
25
  Provides-Extra: tests
24
26
  Requires-Dist: pytest!=3.3.0,>=3.2.1; extra == "tests"
25
27
  Provides-Extra: typecheck
26
28
  Requires-Dist: mypy; extra == "typecheck"
29
+ Dynamic: license-file
27
30
 
28
31
  bcrypt
29
32
  ======
@@ -49,7 +52,7 @@ To install bcrypt, simply:
49
52
  $ pip install bcrypt
50
53
 
51
54
  Note that bcrypt should build very easily on Linux provided you have a C
52
- compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
55
+ compiler and a Rust compiler (the minimum supported Rust version is 1.85.0).
53
56
 
54
57
  For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
55
58
 
@@ -78,158 +81,10 @@ While bcrypt remains an acceptable choice for password storage, depending on you
78
81
  Changelog
79
82
  =========
80
83
 
81
- Unreleased
82
- ----------
83
-
84
- * Dropped support for Python 3.7.
85
- * We now support free-threaded Python 3.13.
86
- * We now support PyPy 3.11.
87
- * We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
88
- ``manylinux``, and for ARMv7l on ``manylinux``.
89
-
90
- 4.2.1
91
- -----
92
-
93
- * Bump Rust dependency versions - this should resolve crashes on Python 3.13
94
- free-threaded builds.
95
- * We no longer build ``manylinux`` wheels for PyPy 3.9.
96
-
97
- 4.2.0
98
- -----
99
-
100
- * Bump Rust dependency versions
101
- * Removed the ``BCRYPT_ALLOW_RUST_163`` environment variable.
102
-
103
- 4.1.3
104
- -----
105
-
106
- * Bump Rust dependency versions
107
-
108
- 4.1.2
109
- -----
110
-
111
- * Publish both ``py37`` and ``py39`` wheels. This should resolve some errors
112
- relating to initializing a module multiple times per process.
113
-
114
- 4.1.1
115
- -----
116
-
117
- * Fixed the type signature on the ``kdf`` method.
118
- * Fixed packaging bug on Windows.
119
- * Fixed incompatibility with passlib package detection assumptions.
120
-
121
- 4.1.0
122
- -----
123
-
124
- * Dropped support for Python 3.6.
125
- * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the ``BCRYPT_ALLOW_RUST_163`` environment variable)
126
-
127
- 4.0.1
128
- -----
129
-
130
- * We now build PyPy ``manylinux`` wheels.
131
- * Fixed a bug where passing an invalid ``salt`` to ``checkpw`` could result in
132
- a ``pyo3_runtime.PanicException``. It now correctly raises a ``ValueError``.
133
-
134
- 4.0.0
135
- -----
136
-
137
- * ``bcrypt`` is now implemented in Rust. Users building from source will need
138
- to have a Rust compiler available. Nothing will change for users downloading
139
- wheels.
140
- * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the latest
141
- ``pip`` to ensure this doesn’t cause issues downloading wheels on their
142
- platform. We now ship ``manylinux_2_28`` wheels for users on new enough platforms.
143
- * ``NUL`` bytes are now allowed in inputs.
144
-
145
-
146
- 3.2.2
147
- -----
148
-
149
- * Fixed packaging of ``py.typed`` files in wheels so that ``mypy`` works.
150
-
151
- 3.2.1
152
- -----
153
-
154
- * Added support for compilation on z/OS
155
- * The next release of ``bcrypt`` with be 4.0 and it will require Rust at
156
- compile time, for users building from source. There will be no additional
157
- requirement for users who are installing from wheels. Users on most
158
- platforms will be able to obtain a wheel by making sure they have an up to
159
- date ``pip``. The minimum supported Rust version will be 1.56.0.
160
- * This will be the final release for which we ship ``manylinux2010`` wheels.
161
- Going forward the minimum supported manylinux ABI for our wheels will be
162
- ``manylinux2014``. The vast majority of users will continue to receive
163
- ``manylinux`` wheels provided they have an up to date ``pip``.
164
-
165
-
166
- 3.2.0
167
- -----
168
-
169
- * Added typehints for library functions.
170
- * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
171
- * Shipped ``abi3`` Windows wheels (requires pip >= 20).
172
-
173
- 3.1.7
174
- -----
175
-
176
- * Set a ``setuptools`` lower bound for PEP517 wheel building.
177
- * We no longer distribute 32-bit ``manylinux1`` wheels. Continuing to produce
178
- them was a maintenance burden.
179
-
180
- 3.1.6
181
- -----
182
-
183
- * Added support for compilation on Haiku.
184
-
185
- 3.1.5
186
- -----
187
-
188
- * Added support for compilation on AIX.
189
- * Dropped Python 2.6 and 3.3 support.
190
- * Switched to using ``abi3`` wheels for Python 3. If you are not getting a
191
- wheel on a compatible platform please upgrade your ``pip`` version.
192
-
193
- 3.1.4
194
- -----
195
-
196
- * Fixed compilation with mingw and on illumos.
197
-
198
- 3.1.3
199
- -----
200
- * Fixed a compilation issue on Solaris.
201
- * Added a warning when using too few rounds with ``kdf``.
202
-
203
- 3.1.2
204
- -----
205
- * Fixed a compile issue affecting big endian platforms.
206
- * Fixed invalid escape sequence warnings on Python 3.6.
207
- * Fixed building in non-UTF8 environments on Python 2.
208
-
209
- 3.1.1
210
- -----
211
- * Resolved a ``UserWarning`` when used with ``cffi`` 1.8.3.
212
-
213
- 3.1.0
214
- -----
215
- * Added support for ``checkpw``, a convenience method for verifying a password.
216
- * Ensure that you get a ``$2y$`` hash when you input a ``$2y$`` salt.
217
- * Fixed a regression where ``$2a`` hashes were vulnerable to a wraparound bug.
218
- * Fixed compilation under Alpine Linux.
219
-
220
- 3.0.0
221
- -----
222
- * Switched the C backend to code obtained from the OpenBSD project rather than
223
- openwall.
224
- * Added support for ``bcrypt_pbkdf`` via the ``kdf`` function.
225
-
226
- 2.0.0
227
- -----
228
- * Added support for an adjustible prefix when calling ``gensalt``.
229
- * Switched to CFFI 1.0+
84
+ The changelog is maintained in `CHANGELOG.rst <https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst>`_
230
85
 
231
86
  Usage
232
- -----
87
+ =====
233
88
 
234
89
  Password Hashing
235
90
  ~~~~~~~~~~~~~~~~
@@ -298,8 +153,9 @@ As of 3.0.0 the ``$2y$`` prefix is still supported in ``hashpw`` but deprecated.
298
153
  Maximum Password Length
299
154
  ~~~~~~~~~~~~~~~~~~~~~~~
300
155
 
301
- The bcrypt algorithm only handles passwords up to 72 characters, any characters
302
- beyond that are ignored. To work around this, a common approach is to hash a
156
+ Passing ``hashpw`` a password longer than 72 bytes now raises a ``ValueError``.
157
+ Previously the password was silently truncated, following the behavior of the
158
+ original OpenBSD ``bcrypt`` implementation. To work around this, a common approach is to hash a
303
159
  password with a cryptographic hash (such as ``sha256``) and then base64
304
160
  encode it to prevent NULL byte problems before hashing the result with
305
161
  ``bcrypt``:
@@ -316,7 +172,7 @@ Compatibility
316
172
  -------------
317
173
 
318
174
  This library should be compatible with py-bcrypt and it will run on Python
319
- 3.8+ (including free-threaded builds), and PyPy 3.
175
+ 3.9+ (including free-threaded builds), and PyPy 3.
320
176
 
321
177
  Security
322
178
  --------
@@ -22,7 +22,7 @@ To install bcrypt, simply:
22
22
  $ pip install bcrypt
23
23
 
24
24
  Note that bcrypt should build very easily on Linux provided you have a C
25
- compiler and a Rust compiler (the minimum supported Rust version is 1.56.0).
25
+ compiler and a Rust compiler (the minimum supported Rust version is 1.85.0).
26
26
 
27
27
  For Debian and Ubuntu, the following command will ensure that the required dependencies are installed:
28
28
 
@@ -51,158 +51,10 @@ While bcrypt remains an acceptable choice for password storage, depending on you
51
51
  Changelog
52
52
  =========
53
53
 
54
- Unreleased
55
- ----------
56
-
57
- * Dropped support for Python 3.7.
58
- * We now support free-threaded Python 3.13.
59
- * We now support PyPy 3.11.
60
- * We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
61
- ``manylinux``, and for ARMv7l on ``manylinux``.
62
-
63
- 4.2.1
64
- -----
65
-
66
- * Bump Rust dependency versions - this should resolve crashes on Python 3.13
67
- free-threaded builds.
68
- * We no longer build ``manylinux`` wheels for PyPy 3.9.
69
-
70
- 4.2.0
71
- -----
72
-
73
- * Bump Rust dependency versions
74
- * Removed the ``BCRYPT_ALLOW_RUST_163`` environment variable.
75
-
76
- 4.1.3
77
- -----
78
-
79
- * Bump Rust dependency versions
80
-
81
- 4.1.2
82
- -----
83
-
84
- * Publish both ``py37`` and ``py39`` wheels. This should resolve some errors
85
- relating to initializing a module multiple times per process.
86
-
87
- 4.1.1
88
- -----
89
-
90
- * Fixed the type signature on the ``kdf`` method.
91
- * Fixed packaging bug on Windows.
92
- * Fixed incompatibility with passlib package detection assumptions.
93
-
94
- 4.1.0
95
- -----
96
-
97
- * Dropped support for Python 3.6.
98
- * Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the ``BCRYPT_ALLOW_RUST_163`` environment variable)
99
-
100
- 4.0.1
101
- -----
102
-
103
- * We now build PyPy ``manylinux`` wheels.
104
- * Fixed a bug where passing an invalid ``salt`` to ``checkpw`` could result in
105
- a ``pyo3_runtime.PanicException``. It now correctly raises a ``ValueError``.
106
-
107
- 4.0.0
108
- -----
109
-
110
- * ``bcrypt`` is now implemented in Rust. Users building from source will need
111
- to have a Rust compiler available. Nothing will change for users downloading
112
- wheels.
113
- * We no longer ship ``manylinux2010`` wheels. Users should upgrade to the latest
114
- ``pip`` to ensure this doesn’t cause issues downloading wheels on their
115
- platform. We now ship ``manylinux_2_28`` wheels for users on new enough platforms.
116
- * ``NUL`` bytes are now allowed in inputs.
117
-
118
-
119
- 3.2.2
120
- -----
121
-
122
- * Fixed packaging of ``py.typed`` files in wheels so that ``mypy`` works.
123
-
124
- 3.2.1
125
- -----
126
-
127
- * Added support for compilation on z/OS
128
- * The next release of ``bcrypt`` with be 4.0 and it will require Rust at
129
- compile time, for users building from source. There will be no additional
130
- requirement for users who are installing from wheels. Users on most
131
- platforms will be able to obtain a wheel by making sure they have an up to
132
- date ``pip``. The minimum supported Rust version will be 1.56.0.
133
- * This will be the final release for which we ship ``manylinux2010`` wheels.
134
- Going forward the minimum supported manylinux ABI for our wheels will be
135
- ``manylinux2014``. The vast majority of users will continue to receive
136
- ``manylinux`` wheels provided they have an up to date ``pip``.
137
-
138
-
139
- 3.2.0
140
- -----
141
-
142
- * Added typehints for library functions.
143
- * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
144
- * Shipped ``abi3`` Windows wheels (requires pip >= 20).
145
-
146
- 3.1.7
147
- -----
148
-
149
- * Set a ``setuptools`` lower bound for PEP517 wheel building.
150
- * We no longer distribute 32-bit ``manylinux1`` wheels. Continuing to produce
151
- them was a maintenance burden.
152
-
153
- 3.1.6
154
- -----
155
-
156
- * Added support for compilation on Haiku.
157
-
158
- 3.1.5
159
- -----
160
-
161
- * Added support for compilation on AIX.
162
- * Dropped Python 2.6 and 3.3 support.
163
- * Switched to using ``abi3`` wheels for Python 3. If you are not getting a
164
- wheel on a compatible platform please upgrade your ``pip`` version.
165
-
166
- 3.1.4
167
- -----
168
-
169
- * Fixed compilation with mingw and on illumos.
170
-
171
- 3.1.3
172
- -----
173
- * Fixed a compilation issue on Solaris.
174
- * Added a warning when using too few rounds with ``kdf``.
175
-
176
- 3.1.2
177
- -----
178
- * Fixed a compile issue affecting big endian platforms.
179
- * Fixed invalid escape sequence warnings on Python 3.6.
180
- * Fixed building in non-UTF8 environments on Python 2.
181
-
182
- 3.1.1
183
- -----
184
- * Resolved a ``UserWarning`` when used with ``cffi`` 1.8.3.
185
-
186
- 3.1.0
187
- -----
188
- * Added support for ``checkpw``, a convenience method for verifying a password.
189
- * Ensure that you get a ``$2y$`` hash when you input a ``$2y$`` salt.
190
- * Fixed a regression where ``$2a`` hashes were vulnerable to a wraparound bug.
191
- * Fixed compilation under Alpine Linux.
192
-
193
- 3.0.0
194
- -----
195
- * Switched the C backend to code obtained from the OpenBSD project rather than
196
- openwall.
197
- * Added support for ``bcrypt_pbkdf`` via the ``kdf`` function.
198
-
199
- 2.0.0
200
- -----
201
- * Added support for an adjustible prefix when calling ``gensalt``.
202
- * Switched to CFFI 1.0+
54
+ The changelog is maintained in `CHANGELOG.rst <https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst>`_
203
55
 
204
56
  Usage
205
- -----
57
+ =====
206
58
 
207
59
  Password Hashing
208
60
  ~~~~~~~~~~~~~~~~
@@ -271,8 +123,9 @@ As of 3.0.0 the ``$2y$`` prefix is still supported in ``hashpw`` but deprecated.
271
123
  Maximum Password Length
272
124
  ~~~~~~~~~~~~~~~~~~~~~~~
273
125
 
274
- The bcrypt algorithm only handles passwords up to 72 characters, any characters
275
- beyond that are ignored. To work around this, a common approach is to hash a
126
+ Passing ``hashpw`` a password longer than 72 bytes now raises a ``ValueError``.
127
+ Previously the password was silently truncated, following the behavior of the
128
+ original OpenBSD ``bcrypt`` implementation. To work around this, a common approach is to hash a
276
129
  password with a cryptographic hash (such as ``sha256``) and then base64
277
130
  encode it to prevent NULL byte problems before hashing the result with
278
131
  ``bcrypt``:
@@ -289,7 +142,7 @@ Compatibility
289
142
  -------------
290
143
 
291
144
  This library should be compatible with py-bcrypt and it will run on Python
292
- 3.8+ (including free-threaded builds), and PyPy 3.
145
+ 3.9+ (including free-threaded builds), and PyPy 3.
293
146
 
294
147
  Security
295
148
  --------
@@ -1,7 +1,6 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools>=42.0.0",
4
- "wheel",
3
+ "setuptools>=70.1.0",
5
4
  "setuptools-rust>=1.7.0",
6
5
  ]
7
6
  # Point to the setuptools' PEP517 build backend explicitly to
@@ -11,7 +10,7 @@ build-backend = "setuptools.build_meta"
11
10
  [project]
12
11
  name = "bcrypt"
13
12
  # When updating this, also update lib.rs
14
- version = "4.3.0"
13
+ version = "5.1.0"
15
14
  authors = [
16
15
  {name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
17
16
  ]
@@ -19,23 +18,25 @@ description = "Modern password hashing for your software and your servers"
19
18
  license = {text = "Apache-2.0"}
20
19
  classifiers = [
21
20
  "Development Status :: 5 - Production/Stable",
22
- "License :: OSI Approved :: Apache Software License",
23
21
  "Programming Language :: Python :: Implementation :: CPython",
24
22
  "Programming Language :: Python :: Implementation :: PyPy",
25
23
  "Programming Language :: Python :: 3",
26
24
  "Programming Language :: Python :: 3 :: Only",
27
- "Programming Language :: Python :: 3.8",
28
25
  "Programming Language :: Python :: 3.9",
29
26
  "Programming Language :: Python :: 3.10",
30
27
  "Programming Language :: Python :: 3.11",
31
28
  "Programming Language :: Python :: 3.12",
32
29
  "Programming Language :: Python :: 3.13",
30
+ "Programming Language :: Python :: 3.14",
31
+ "Programming Language :: Python :: 3.15",
32
+ "Programming Language :: Python :: Free Threading :: 3 - Stable",
33
33
  ]
34
- requires-python = ">= 3.8"
34
+ requires-python = ">= 3.9"
35
35
  dynamic = ["readme"]
36
36
 
37
37
  [project.urls]
38
38
  homepage = "https://github.com/pyca/bcrypt/"
39
+ changelog = "https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst"
39
40
 
40
41
  [tool.setuptools]
41
42
  zip-safe = false
@@ -53,7 +54,7 @@ typecheck = ["mypy"]
53
54
  target = "bcrypt._bcrypt"
54
55
  path = "src/_bcrypt/Cargo.toml"
55
56
  py-limited-api = "auto"
56
- rust-version = ">=1.64.0"
57
+ rust-version = ">=1.85.0"
57
58
 
58
59
  [tool.ruff]
59
60
  line-length = 79