tdivis 156394743a0 Fix #247 - Fix missing import of `template` in `__init__.pyi` stub. (#248) 24 Mar 2023 pre-commit-ci[bot] cc8632f4f31 [pre-commit.ci] pre-commit autoupdate (#238) updates:
- [github.com/pre-commit/mirrors-mypy: v0.971 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.981)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 04 Oct 2022 Oleg Höfling c4658f37c9d Correct codecov badge URL in readme 29 Sep 2022 pre-commit-ci[bot] e83a4576f0a [pre-commit.ci] pre-commit autoupdate (#233) updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 06 Sep 2022 Oleg Höfling 91592052b67 fix test run on appveyor (#231) Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 25 Aug 2022 Oleg Höfling c39eeff382e Add integration with pre-commit.ci (#230) * add pre-commit.ci badge
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
* fix pre-commit warnings
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 25 Aug 2022 Oleg Höfling 82408431163 adjust doc examples to #212 (#229) Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 21 Aug 2022 Oleg Höfling 00759a33f6c add proper param types in register_callbacks (#228) Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 21 Aug 2022 Oleg Höfling 21ce91648b8 allow building docs with python 3.8 (#227) Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 21 Aug 2022 Oleg Höfling b483b644b60 update gh actions badges (#226) Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 21 Aug 2022 Oleg Höfling 979be38b981 Add CI for Python 3.10, manylinux2, musllinux1 and OpenSUSE Tumbleweed (#225) * add CI for python 3.10
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
* skip 3.6 and 3.7 builds for tumbleweed since python versions not available in repo
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
* build for manylinux2_24 soabi
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
* try building for musllinux1_1 soabi
Signed-off-by: oleg.hoefling <o... 21 Aug 2022 oleg.hoefling 87fb5aa6aae use python 3.9 in rtd docs builds Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 21 Aug 2022 oleg.hoefling e2a369c9e73 fix libxml2/libxslt version parsing in setup script Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 4062036663b introduce pre-commit Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling e8ec653591a skip stub generation test on windows Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 20be5766fe8 add explicit export for constants module Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling ca566bbfb49 mark constants with no href with special type in stubs Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling d5f5306470e drop unused imports in stub generation test Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 7d139b39d1c fix unwanted replacement with sed Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling ceaea9c9ad2 regenerate stubs, amend according to flake8-pyi, ensure stub generation test is running in the CI Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 Stanislav Levin b04a7628518 xmlsec workaround for gh#mehcode/python-xmlsec#84 Fixes #96 28 Mar 2022 Chris MacNaughton bc30efd49da Resolve key loading issue on big-endian systems. Closes: #208 06 May 2022 oleg.hoefling 3ebbed8f0cc bump python 3.9 to latest patch in appveyor ci Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 8551a4f425b bump gcc-5 symlink in linuxbrew job Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 8393c7a967b workaround for https://github.com/actions/runner/issues/2033 Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 1858a467b5d bump github actions versions Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 811c5cca252 remove libxml2 pin in manylinux2010, sdist jobs Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 oleg.hoefling 5c6bbdb8633 renew sources for source dists Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 20 Aug 2022 AbdealiJK bf6984a555f setup.py: Fix typo in PYXMLSEC_LIBXSLT_VERSION 22 Mar 2022 Alexander Shadchin a65be810213 Switch on modern headers lxml 10 Feb 2022 Thomas Grainger 154c51df476 use build to build wheels 13 Dec 2021 Thomas Grainger 9acc1538e3e remove pkgconfig as it's only a build-system requirement 13 Dec 2021 Thomas Grainger cf38b52c81d exclude lxml 4.7 because the wheels are missing the lxml includes see https://bugs.launchpad.net/lxml/+bug/1954644 13 Dec 2021 Oleg Hoefling f18946b1c9f skip test failing on windows for now Signed-off-by: Oleg Hoefling <oleg.hoefling@gmail.com> 05 Sep 2021 Oleg Hoefling fc565ba2b82 coverage increase: test for graceful failing on read callback wrong return type Signed-off-by: Oleg Hoefling <oleg.hoefling@gmail.com> 05 Sep 2021 Paul Weaver 9798d6d99eb Test TypeError when setting non-callable callbacks 23 Aug 2021 Paul Weaver 7b41f2710e9 Remove unused import 23 Aug 2021 Paul Weaver f17f4b9c957 Use xpath to traverse signature structure in tests It seems to be way more robust across library versions. 20 Aug 2021 Paul Weaver ce90c06a325 Remove unused import 20 Aug 2021 Paul Weaver a2c2b7582ca Use unittest's exception assertion because pytest.raises leaves junk around! 16 Aug 2021 Paul Weaver 5f65a37285e Remove hypothesis from callback testing 02 Aug 2021 Paul Weaver 91730b25986 Test and fix IO callback bindings Turns out the `xmlSecAllIOCallbacks` pointer list yields the stored
callbacks in reverse, _and_ the default callbacks steal everything (
libxml2's `xmlFileMatch` is literally defined as `return(1)`! So we
- Simplify our linked list of sets of Python callbacks to cons, rather
than append
- Don't bother trying to track interleaving default callbacks and Python
callbacks, because `cur_cb_... 30 Jul 2021 Paul Weaver 12690e865c9 Add signatures for new functions to __init__.pyi 29 Jul 2021 Paul Weaver 09665dfa38e Improve memory cleanup 27 Jul 2021 Paul Weaver 73711a8c703 First cut of registering Python callbacks for xmlsec This implementation uses a global linked-list structure to hold onto the
Python callbacks and registers a single C wrapper callback with xmlsec to
dispatch xmlsec's calling back to the appropriate Python function. This was
the simplest way I could think to emulate dynamically wrapping the Python
calls in C code, because C doesn't have closures.
A potential downside is that the state is all ver... 26 Jul 2021 Thomas Grainger 8ed003c2887 add changelog to project_urls 26 Jul 2021 Tonye Jack 80c5fb3173d Added missing pkg-config dependency. This seems to be required when using python3-slim debian image.
Resolves
```#10 182.5 Building wheels for collected packages: xmlsec
#10 182.5 Building wheel for xmlsec (PEP 517): started
#10 182.9 Building wheel for xmlsec (PEP 517): finished with status 'error'
#10 182.9 ERROR: Command errored out with exit status 1:
#10 182.9 command: /venv/bin/python3.6 /venv/lib/python3.... 27 Jul 2021 Oleg Höfling aa2545e0ef0 M Merge pull request #185 from hoefling/no-md5-support Allow building with XMLSEC_NO_MD5 support 12 Jun 2021 oleg.hoefling 2460f50a51a add XMLSEC_NO_MD5 check Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> 12 Jun 2021 Oleg Höfling 239bf0d3529 M Merge pull request #184 from visuman/minor-fix fix warning related to use of dash separated values 10 Jun 2021