Commit Graph

1162 Commits

Author SHA1 Message Date
James Morris
85e5364a45 Bump Sphinx version 2022-02-02 12:51:08 -05:00
James Morris
1594e41c09 Use HTML4 writer on Sphinx 2.0 and later 2021-12-24 13:10:48 -05:00
James Morris
852e830c37 Update deprecated autodoc_default_flags to autodoc_default_options 2021-12-21 16:56:36 -05:00
James Morris
946927f4c1 Update deprecated add_stylesheet to add_css_file 2021-12-21 16:24:41 -05:00
James Morris
955d166947 Add 3.10 tests 2021-12-21 11:41:29 -05:00
James Morris
c634d7a776 Merge pull request #380 from tzaffi/docs-vanilla-example
add example encrypting with a public key and decrypting with private key
2021-09-24 11:55:57 -04:00
James Morris
d009a6c5e5 Small rewording 2021-09-24 11:55:31 -04:00
James Morris
1bc474dff2 Fix comment 2021-09-24 10:52:28 -04:00
James Morris
6e6da41406 Error if we are running on GitHub CI without integration tests 2021-09-24 10:44:50 -04:00
Zeph Grunschlag
543b6ccd10 Update docs/source/examples/actions.rst 2021-09-24 07:36:18 -04:00
Zeph Grunschlag
0136213225 add example encrypting with a public key and decrypting with private key 2021-09-23 23:02:05 -04:00
James Morris
ff0c5cf9b9 Use a patched pytest-order
pytest-order contains a fix for parameterized tests in 1.0, but
that version dropped support for Python 3.5. This patched version
runs on Python 3.5 and has all the other updates in pytest-order 1.0.
2021-09-23 20:08:51 -04:00
James Morris
2536f36067 Fix mispelled tests messing with ordering 2021-09-23 18:59:41 -04:00
James Morris
5fe1cba13d Try running tests with Ubuntu's gpgme 2021-09-23 15:49:40 -04:00
James Morris
ab2bb90c1e Run Linux tests on ubuntu-18.04 2021-09-23 15:03:36 -04:00
James Morris
18796200c8 Merge pull request #378 from eli-schwartz/setup-cfg
remove unneeded setup_requires which are already in pyproject.toml
2021-09-23 12:30:04 -04:00
Eli Schwartz
d7e2c5c23f remove unneeded setup_requires which are already in pyproject.toml
A setup.cfg project metadata section is only ever parsed by setuptools,
and thusly does not need to specify that it depends on having setuptools
installed (it is already specified in the pyproject.toml)

Wheel is not required either, since it is only actually used by the
pyproject.toml specified build backend, and wheel is already specified
in the pyproject.toml

pyproject.toml build-requires is intended to specify the basic
requirements for acquiring a usable instance of the build backend. These
packages are dependencies of PEP 517.

setup_requires is intended only for additional project-specific packages
needed in addition to the build backend. These packages are dependencies
of setuptools.setup()

Example difference: wheel is required in order to create a wheel,
pyproject.toml specifies the creation of a wheel. wheel is NOT required
(and is not used at all) in order to run `python setup.py install`,
which does not read pyproject.toml at all.
2021-08-16 13:10:07 -04:00
Gabriel Cruz
50ef17a9b1 Feature:: Support for keys without usage flags (#371)
Co-authored-by: James Morris <jmorris@securityinnovation.com>
2021-07-08 15:52:09 -04:00
James Morris
5534d863b1 Merge pull request #373 from justinkb/pytest-order-port
Port tests/test_05_actions.py to pytest-order
2021-06-28 12:27:28 -04:00
James Morris
f0c7ce247d Use a compatible version of pytest-order 2021-06-25 15:32:23 -04:00
Paul Mulders
e2f427ea5c Port tests/test_05_actions.py to pytest-order 2021-06-23 17:58:34 +02:00
James Morris
f48cb604c3 Use SPDX license identifier 2021-06-07 09:41:20 -04:00
James Morris
4ae5cab830 Fix travis tests 2021-05-14 10:13:04 -04:00
James Morris
cc5d6aae47 Add some more classifiers 2021-05-03 13:35:30 -04:00
James Morris
7e37e30f4a Include tox.ini in sdist 2021-04-20 11:37:14 -04:00
James Morris
78c4588a7e Move the last of the metadata to setup.cfg 2021-04-20 11:33:20 -04:00
James Morris
b20a66fe54 Update setup.cfg 2021-04-20 11:28:17 -04:00
James Morris
c8ac970e33 Add date to changelog
(cherry picked from commit 345f4b8d74f4123b97198e10a383f485f80946d8)
2021-04-17 01:42:25 -04:00
James Morris
c53ee03559 Update changelog
(cherry picked from commit 3f74759bf76b82266b67d6ad5c3aaeec5c667b08)
2021-04-17 01:42:10 -04:00
James Morris
8600971ac0 Update copyright dates 2021-04-16 16:38:08 -04:00
James Morris
a69158412e Remove stacklevel=4 from logging.debug in decorators.KeyAction
Fixes #368
2021-04-09 14:06:24 -04:00
James Morris
e69cf01ee4 Remove obsolete upload_docs from setup.cfg 2021-04-09 11:53:24 -04:00
James Morris
d657ff8f48 Merge pull request #364 from sharuzzaman/patch-1
corrected parameter and added example
2021-02-01 11:58:20 -05:00
James Morris
d074b60a01 Fix coveralls upload 2021-01-28 10:27:32 -05:00
Sharuzzaman Ahmat Raslan
7f431ecf52 corrected parameter and added example
corrected key_expiration  parameter and added an example to export ASCII armored public key
2021-01-27 01:27:46 +08:00
James Morris
abcf2ae300 Fixed docstring for PGPKey.add_subkey() 2021-01-26 10:36:31 -05:00
James Morris
27996f80c3 Merge pull request #361 from SecurityInnovation/github-actions
Use GitHub Actions as primary CI
2021-01-11 15:46:55 -05:00
James Morris
af5c1b75ab Merge branch 'master' into github-actions 2021-01-11 15:05:02 -05:00
James Morris
151db00c6f Use brew bundle to install macOS dependencies 2021-01-11 13:13:50 -05:00
James Morris
048ec6f512 Work around an issue with GitHub macOS runners 2021-01-11 13:12:59 -05:00
James Morris
fb5168f2fa Add comments to tests.yml 2021-01-08 10:40:36 -05:00
James Morris
0176039174 Move coveralls calls from Travis to GitHub 2021-01-07 16:38:09 -05:00
James Morris
5c9a9bad39 Further refine tox envlist 2021-01-06 16:33:23 -05:00
James Morris
cf87d555de Merge pull request #357 from Gee19/master
Add alpine linux install instructions
2020-12-11 16:00:30 -05:00
Jordan Haine
d4408b4801 Add alpine linux install instructions 2020-12-11 14:52:35 -05:00
James Morris
998977ba06 Add a C locale test 2020-12-11 14:47:11 -05:00
James Morris
2cab7ea9bd Gave tests workflow a nicer name 2020-12-11 12:39:49 -05:00
James Morris
8609246480 Fix link to building cryptography on macOS 2020-12-11 10:51:58 -05:00
James Morris
314d012203 Install swig and quiet brew install 2020-12-10 17:33:31 -05:00
James Morris
f1bb2b864b Quiet brew update and fix formula name 2020-12-10 17:18:48 -05:00