summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert unpadding code to Rust (#5668)Alex Gaynor2021-02-211-22/+14
|
* Strict is deprecated (#5846)Paul Kehrer2021-02-181-1/+1
| | | | | * Strict is deprecated * bump pytest dep
* Bump pyo3 and lower MSRV (#5823)Alex Gaynor2021-02-131-1/+1
|
* Specify an MSRV in setup.py (#5789)Alex Gaynor2021-02-081-0/+1
|
* More aggressively point people at Rust version docs (#5782)Alex Gaynor2021-02-081-1/+4
|
* Remove setuptools_rust from install requirement (#5779)Christian Heimes2021-02-081-3/+9
| | | | | | | | | | | | * Remove setuptools_rust from install requirement setuptools_rust is only required for building cryptography. Fixes: https://github.com/pyca/cryptography/issues/5778 Signed-off-by: Christian Heimes <cheimes@redhat.com> * sdist needs setuptools_rust Signed-off-by: Christian Heimes <cheimes@redhat.com>
* Try to assist folks having issues with older pips (#5757)Alex Gaynor2021-02-071-1/+15
| | | | | | | * Try to assist folks having issues with older pips * Update setup.py * Update setup.py
* Integrate Rust into the build process properly (#5410)Alex Gaynor2020-12-221-1/+23
|
* put pytest configuration somewhere that goes in the sdist (#5648)Alex Gaynor2020-12-151-1/+1
| | | fixes #5646
* xdist experiment (#5621)Paul Kehrer2020-12-101-0/+2
| | | | | | | | | | * switch to xdist in tox for faster runs * not using auto to avoid too many processes on local laptops * we need to use pytest-cov to generate coverage properly now * these env vars aren't present on no coverage builds * tox changes
* remove check from setup.py that's not needed anymore (#5626)Alex Gaynor2020-12-091-9/+0
| | | pypy 7.2 is the oldest pypy that supports py3.6
* Complete removal of py2 (#5533)Alex Gaynor2020-12-091-1/+1
| | | | | * Drop Python 2 * Black everything
* Remove __future__ import from our code (#5610)Alex Gaynor2020-12-091-2/+0
|
* Write a bunch of primitives tests as subtests for performance (#5246)Alex Gaynor2020-12-091-1/+2
|
* Switch black to py36 as the minimum version (#5608)Alex Gaynor2020-12-081-1/+1
|
* Remove Python2 from CI and code that branched on it (#5607)Alex Gaynor2020-12-081-6/+2
| | | | | | | | | | | | | * Remove Python2 from CI and code that branched on it * Update setup.py Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * remove * review feedback Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* bump cffi minimum version to help out pyopenssl (#5598)Alex Gaynor2020-12-011-1/+1
| | | fixes https://github.com/pyca/pyopenssl/issues/971
* remove legacy debugging code from setup.py (#5597)Alex Gaynor2020-12-011-11/+0
|
* print some stuff in setup.py to try to educate people (#5539)Paul Kehrer2020-10-311-69/+102
| | | | This is likely futile, but maybe it will slightly help out people who run into compilation errors and actually choose to look at the output.
* Drop python 3.5 (#5527)Alex Gaynor2020-10-281-2/+2
|
* remove keywords with side effects hack in setup.py (#5426)Paul Kehrer2020-08-251-142/+5
|
* remove idna support finally (#5351)Paul Kehrer2020-07-261-4/+0
| | | | | * remove idna support finally * remove unused import
* Paint it Black by the Rolling Stones (#5324)Alex Gaynor2020-07-201-75/+63
|
* Disable parallel docs builds to fix spellcheck (#5287)Alex Gaynor2020-06-261-1/+1
|
* ban a sphinxcontrib-spelling version that breaks things (#5284)Alex Gaynor2020-06-241-1/+1
| | | | | * ban a sphinxcontrib-spelling version that breaks things * try bumping the pypy3 version
* Support OpenSSH private key serialization format (#5146)Marko Kreen2020-06-201-0/+3
| | | | | | | | | * ssh.py contains load/serialize code. * Add PrivateFormat.OpenSSH to .private_bytes() format. * Add load_ssh_private_key(). * Use new code for PublicFormat.OpenSSH too. * load_ssh_public_key() now supports reading signed public keys. * Supported algorithms: rsa, dsa, ec, ed25519. * Optional dependency on 'bcrypt' package via [ssh] extra
* block another broken sphinx version (#5277)Paul Kehrer2020-06-141-1/+1
|
* Block a sphinx version that's broken (#5272)Alex Gaynor2020-06-121-1/+1
|
* Remove dead constant time code (#5239)Alex Gaynor2020-04-261-1/+0
|
* drop python 3.4 support (#5087)Paul Kehrer2019-12-081-2/+1
| | | | | | | | | | | | * drop python 3.4 support Our dependencies have started dropping support so it is becoming difficult to test. Additionally, Python 3.4 represents <2% of our downloads, so taking on a large maintenance burden to maintain support isn't a good use of limited time. Accordingly, we're dropping testing infrastructure and migrating our abi3 wheels to py35+. * use removed instead of dropped
* Fixes #5010 -- test and build 3.8 wheels (#5013)Alex Gaynor2019-10-171-0/+1
| | | | | | * Fixes #5010 -- test and build 3.8 wheels * try using isolated_build = True to work around a failure
* Remove asn1crypto dependency (#4941)David Benjamin2019-07-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove non-test dependencies on asn1crypto. cryptography.io actually contains two OpenSSL bindings right now, the expected cffi one, and an optional one hidden in asn1crypto. asn1crypto contains a lot of things that cryptography.io doesn't use, including a BER parser and a hand-rolled and not constant-time EC implementation. Instead, check in a much small DER-only parser in cryptography/hazmat. A quick benchmark suggests this parser is also faster than asn1crypto: from __future__ import absolute_import, division, print_function import timeit print(timeit.timeit( "decode_dss_signature(sig)", setup=r""" from cryptography.hazmat.primitives.asymmetric.utils import decode_dss_signature sig=b"\x30\x2d\x02\x15\x00\xb5\xaf\x30\x78\x67\xfb\x8b\x54\x39\x00\x13\xcc\x67\x02\x0d\xdf\x1f\x2c\x0b\x81\x02\x14\x62\x0d\x3b\x22\xab\x50\x31\x44\x0c\x3e\x35\xea\xb6\xf4\x81\x29\x8f\x9e\x9f\x08" """, number=10000)) Python 2.7: asn1crypto: 0.25 _der.py: 0.098 Python 3.5: asn1crypto: 0.17 _der.py: 0.10 * Remove test dependencies on asn1crypto. The remaining use of asn1crypto was some sanity-checking of Certificates. Add a minimal X.509 parser to extract the relevant fields. * Add a read_single_element helper function. The outermost read is a little tedious. * Address flake8 warnings * Fix test for long-form vs short-form lengths. Testing a zero length trips both this check and the non-minimal long form check. Use a one-byte length to cover the missing branch. * Remove support for negative integers. These never come up in valid signatures. Note, however, this does change public API. * Update src/cryptography/hazmat/primitives/asymmetric/utils.py Co-Authored-By: Alex Gaynor <alex.gaynor@gmail.com> * Review comments * Avoid hardcoding the serialization of NULL in decode_asn1.py too.
* Drop setup.py test support. (#4879)Alex Gaynor2019-05-071-57/+7
| | | | | | | | | | | | | | * Drop setup.py test support. It's fragile and relies on eggs. While our downstream redistributors don't love this (sorry!), it seems like the right tradeoff. * Remove unused * Added a changelog entry * typo * line length
* Added an explicit content type for long_description (#4826)Alex Gaynor2019-04-011-0/+1
| | | It already defaults to x-rst, but this silences a warning
* allow bytes-like for key/iv/data for symmetric encryption (#4621)Paul Kehrer2018-12-091-3/+3
| | | | | | | | | | | | | | | | | | * allow bytearrays for key/iv for symmetric encryption * bump pypy/cffi requirements * update docs, fix some tests * old openssl is naught but pain * revert a typo * use trusty for old pypy * better error msg again * restore match
* remove idna as a primary dependency (#4624)Paul Kehrer2018-12-061-1/+6
| | | | | | | | | | * remove idna as a primary dependency * empty commit * dynamodb test fix (thanks to Matt Bullock) * review feedback
* switch to twine check for verifying our readme renders on pypi (#4623)Paul Kehrer2018-12-021-1/+1
|
* blacklist latest hypothesis and pytest (#4510)Paul Kehrer2018-10-231-2/+2
| | | | | | | | * ci is suffering again, is it the new pytest or hypothesis? * now try 3.79.2 hypothesis * it's a blacklist party
* blacklist some pytests (#4502)Paul Kehrer2018-10-191-1/+1
|
* block sphinx 1.8.0 since it fails our docs job (#4469)Paul Kehrer2018-09-141-1/+1
|
* update pytest config (#4463)Paul Kehrer2018-09-061-1/+1
| | | | | | | | | | | | | | * update pytest config pytest 3.8.0 was just released and officially deprecates some of the way we do pytest marks. They introduced a new way to do this in 3.6 so this PR switches to that mechanism and updates our minimum pytest requirement * update the stubs * also update wycheproof test config to remove deprecated paths * don't need this any more
* Fixes #3548 - add a pyproject.toml (#4363)Alex Gaynor2018-07-231-0/+1
|
* Add py37 (#4298)Paul Kehrer2018-06-271-0/+1
| | | | | | | | | | | | | | * test against python 3.7 for windows * update docs to say we test on 3.7 * more succinct * maybe make this actually work. * link properly * moar changes
* Document project as stable and ready for use in production (#4284)Jon Dufresne2018-06-161-0/+1
|
* Remove cffi branch for pypy that's not needed (#4209)Alex Gaynor2018-04-281-2/+1
| | | | | | * Remove cffi branch for pypy that's not needed * simplify further
* Remove setup.py branch (#4203)Alex Gaynor2018-04-221-3/+1
|
* Remove version number from an error message so that it makes sense (#4188)Alex Gaynor2018-04-091-2/+2
|
* install only the minimum required to build our docs for rtd (#4133)Paul Kehrer2018-03-051-2/+4
| | | | | | | | * install only the minimum required to build our docs for rtd We don't need to install sphinxcontrib-spelling or doc8 in rtd. * move another package
* temporarily pin cffi to avoid bug related to virtualenv (#4083)Paul Kehrer2018-01-121-1/+1
| | | | | | * temporarily pin cffi to avoid bug related to virtualenv * right, don't duplicate the name
* Fixed #4039 -- added a python_requires to setup.py (#4064)Alex Gaynor2017-12-261-0/+2
|