Commit Graph

34 Commits

Author SHA1 Message Date
Paul Kehrer
9c7196586e
drop py36, pypy-3.7, test py311, other housecleaning (#547)
* drop py36, pypy-3.7, test py311, other housecleaning

* wheel builder update

* also circle

* we can do more
2023-05-22 22:33:52 -05:00
Sviatoslav Sydorenko
5190d89afc
Replace the cryptography mention in setup.py (#399)
This typo was introduced in:
* https://github.com/pyca/bcrypt/pull/395/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R17
* https://github.com/pyca/bcrypt/commit/eceb9797#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R17

It seems to have been copied from
https://github.com/pyca/cryptography/commit/ab537a61#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R20
2022-08-26 10:27:58 -04:00
Paul Kehrer
eceb979753
better errors on compilation failure or rust setuptools import (#395)
* better errors on compilation failure or rust setuptools import

* pep8
2022-08-23 23:19:45 -04:00
Alex Gaynor
2d20a7e24b
Switch to a Rust implementation of cryptographic primitives (#294) 2022-05-01 10:59:05 -06:00
Alex Gaynor
742723a99e
Move most setup.py configuration into setup.cfg (#293) 2022-02-21 05:12:28 +08:00
Alex Gaynor
71d92347b0
Update our python versions to be consistent (#241) 2020-12-19 11:21:01 -06:00
Eugene
0b88cb2273
Drop six dependency (#225)
* Drop six dependency

* Resolve formatting error
2020-08-17 07:44:23 -04:00
Alex Gaynor
6c83004aff
Remove legacy setup.py stuff (#124)
* Remove legacy setup.py stuff

* flake8
2020-08-14 08:33:36 -05:00
Steve Dignam
f9066e2be5
add: type hints to top level functions (#218)
* WIP: add type hints to top level functions

TODO:
- see if mypy picks up types when installing in new project
- setup mypy in CI

fixes https://github.com/pyca/bcrypt/issues/215

* add mypy to ci & move py.typed to correct folder?

* try and get mypy to run in CI

* run mypy in travis?

* use mypy defaults for python_version and platform

https://mypy.readthedocs.io/en/stable/config_file.html#platform-configuration

* update change log with changes
2020-08-13 21:09:30 -05:00
Paul Kehrer
f3c255ca15
support only python 3.6+ (#217) 2020-08-11 21:35:26 -04:00
Alex Gaynor
09c5fd1a20
Paint it Black by the Rolling Stones (#208) 2020-07-23 19:38:00 -05:00
Alex Gaynor
b81400becc
Move Windows CI to Github Actions (#195) 2020-03-22 10:44:43 -05:00
Alex Gaynor
92fd05271f Fixes #187 -- test and build wheels on py38 (#188)
* Fixes #187 -- test and build wheels on py38

* Remove 3.8 for now

* Tell tox to use isolated builds
2019-10-20 11:20:40 +08:00
Jon Dufresne
c3dc912cae Pass python_requires argument to setuptools (#154)
Helps pip decide what version of the library to install.

https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-10-30 09:38:47 -04:00
Alex Gaynor
0aa5dea046 Added py37 (#149)
* Added py37 to jenkins

* Added py37 to tox

* Added py37 trove classifier

* Added py37 to travis

* Added py37 to wheel builder
2018-07-04 19:58:35 +05:30
Jon Dufresne
c725d3f143 Add useful trove classifiers (dev status & license) (#143)
The trove classifiers are displayed on PyPI and so helps inform library
users about the project. Document that the project is stable and ready
for use in production. Document the project is licensed under the Apache
software license.
2018-06-16 18:07:52 -07:00
Alex Gaynor
87dce3c311 blacklist pytest 3.3.0 because it's broken (#135)
* blacklist pytest 3.3.0 because it's broken

* here too
2017-12-04 10:18:26 +08:00
Hugo
1a4de7ad56 Drop Python 2.6 and 3.3 support (#133)
* Don't test on EOL Python 2.6

* Remove unnecessary positional formatters for Python 2.7+

* Remove branch restriction to test feature branches

* Leave PyPy compatibility at 2.6+

* Don't test on EOL Python 3.3

* Don't test feature branches
2017-10-19 11:08:50 +08:00
Alex Gaynor
c5b342f5da bump pytest version (#120) 2017-08-10 21:29:58 -05:00
Alex Gaynor
221b750434 Blacklist pytest version which breaks things (#118)
* Use setup.py to get dep info

* Blacklist pytest version which breaks things

* oops
2017-08-06 22:44:07 -05:00
Alex Gaynor
717fe63db6 We do the py36 (#102) 2017-01-01 21:08:49 -08:00
Paul Kehrer
f5dcc37457 Utf8 fix (#100)
* build with Python2 in non-utf8 environments

* pep8 fix
2016-12-17 13:27:47 -05:00
Paul Kehrer
9a5236cec4 raise a decent error if pypy <2.6 + update README 2016-02-13 21:19:33 -06:00
Alex Gaynor
1bdc51b6df drop python 3.2 2015-10-17 17:26:41 -04:00
Donald Stufft
51ebadb34d Migrate to using CFFI 1.0
* Move everything under src/ to ensure we test against the installed
  library.
* Create a build_bcrypt.py script which will build _bcrypt.so.
* Refactor to utilize the new _bcrypt.so instead of implicit compile.
2015-06-11 09:23:01 -04:00
Alex Gaynor
2801b7b816 Removed usage of mock which wasn't really doing anything 2014-12-06 10:33:12 -08:00
Alex Gaynor
c9cfefb0e3 scrapped attribute dict in setup.py, it wasn't doing much 2014-12-05 22:40:45 -08:00
Donald Stufft
d495b3617a Upgrade crypt_blowfish to 1.3 2014-12-05 23:31:10 -05:00
Donald Stufft
97a277d5a6 Port the setup.py from pyca/cryptography to bcrypt 2014-12-05 21:27:44 -05:00
Donald Stufft
7532ee4eb3 Enable flake8 style checks 2014-12-05 20:54:56 -05:00
Donald Stufft
410f0c998c Switch to using six 2014-12-05 20:25:15 -05:00
Donald Stufft
350fda07bb Use a more consistent name for the compiled module
CFFI generates a modulename based on the values passed to verify,
however this doesn't work very well when those values might change
because of installation version runtime. This forces a more consistent
name based on values we control instead of values that CFFI deems
useful.
2013-05-11 13:14:24 -04:00
Donald Stufft
a6f9d17a59 Add tests to ensure behavior 2013-05-10 23:44:58 -04:00
Donald Stufft
f260ee6a90 Package the bcrypt library 2013-05-10 23:10:18 -04:00