]> git.k1024.org Git - pylibacl.git/log
pylibacl.git
10 months agoUpdate .gitignore file main
Iustin Pop [Fri, 9 Feb 2024 23:06:54 +0000 (00:06 +0100)]
Update .gitignore file

Trying to reduce cruft a bit…

10 months agoSwitch to codecov v4 action
Iustin Pop [Thu, 8 Feb 2024 23:58:33 +0000 (23:58 +0000)]
Switch to codecov v4 action

Token is in the repository secrets, so this should be all good.

10 months agoUpgrade trivial github actions versions
Iustin Pop [Thu, 8 Feb 2024 23:54:38 +0000 (23:54 +0000)]
Upgrade trivial github actions versions

These don't need any changes, so can be simply bumped.

10 months agoEnable python 3.12 and pypy 3.10 testing
Iustin Pop [Thu, 8 Feb 2024 23:53:36 +0000 (23:53 +0000)]
Enable python 3.12 and pypy 3.10 testing

10 months agoGitHub CI: ensure setuptools is installed
Iustin Pop [Fri, 9 Feb 2024 00:02:08 +0000 (00:02 +0000)]
GitHub CI: ensure setuptools is installed

Looks like setuptools is no longer installed by default on recent
Python versions - 3.12 more precisely, so let's explicitly install it
for CI runs.

10 months agoAllow manual CI runs
Iustin Pop [Thu, 8 Feb 2024 23:53:10 +0000 (23:53 +0000)]
Allow manual CI runs

10 months agoSwitch from recommonmark to myst-parser
Iustin Pop [Thu, 8 Feb 2024 23:47:42 +0000 (23:47 +0000)]
Switch from recommonmark to myst-parser

11 months agoAdd ko-fi button to README as well.
Iustin Pop [Sun, 7 Jan 2024 16:42:10 +0000 (17:42 +0100)]
Add ko-fi button to README as well.

11 months agoAdd a funding file for GitHub
Iustin Pop [Sun, 7 Jan 2024 16:32:34 +0000 (17:32 +0100)]
Add a funding file for GitHub

11 months agoreadthedocs: install the needed devel libraries
Iustin Pop [Sat, 6 Jan 2024 21:49:48 +0000 (22:49 +0100)]
readthedocs: install the needed devel libraries

Thankfully the build env is Ubuntu hence Debian…

11 months agoAdd readthedocs config file to restore doc builds
Iustin Pop [Sat, 6 Jan 2024 21:46:58 +0000 (22:46 +0100)]
Add readthedocs config file to restore doc builds

19 months agoFix acl_copy_int test naming and unhide a test
Iustin Pop [Mon, 24 Apr 2023 20:04:50 +0000 (22:04 +0200)]
Fix acl_copy_int test naming and unhide a test

All the tests were actually exercising `acl_copy_int()`, only the
feature flag is called ACL_COPY_EXT. Additionally, two separate tests
had sane function name, which was hiding the first of them.

19 months agoFix yet another acl_copy_int test that is causing segfaults
Iustin Pop [Mon, 24 Apr 2023 20:00:13 +0000 (22:00 +0200)]
Fix yet another acl_copy_int test that is causing segfaults

Version 0.7.0 broken in Debian on the s390x architecture, but not due
to the recently introduced tests, but a much older one. This didn't
break before because tests were broken on Debian (sigh again), which
hid the problem.

In order to make this in general more consistent, abstract the
"generate an invalid but safe(ish) external representation" and reuse
that in all the tests that cause, directly or indirectly, a call to
acl_copy_int().

19 months agoFix MANIFEST.in inclusion of some .md files
Iustin Pop [Mon, 24 Apr 2023 19:59:39 +0000 (21:59 +0200)]
Fix MANIFEST.in inclusion of some .md files

Sigh…

20 months agoAdd a CONTRIBUTING.md file v0.7.0
Iustin Pop [Sun, 23 Apr 2023 20:15:21 +0000 (22:15 +0200)]
Add a CONTRIBUTING.md file

Almost forgot this from the 0.7.0 release…

20 months agoBump version for 0.7.0 release
Iustin Pop [Sun, 23 Apr 2023 20:07:59 +0000 (22:07 +0200)]
Bump version for 0.7.0 release

20 months agoBump minimum Python version to 3.7
Iustin Pop [Sat, 22 Apr 2023 21:20:33 +0000 (23:20 +0200)]
Bump minimum Python version to 3.7

It's no longer easy to test with older Python versions, so bump the
minimum to 3.7.

20 months agoRename/convert NEWS to NEWS.md
Iustin Pop [Sat, 22 Apr 2023 21:13:10 +0000 (23:13 +0200)]
Rename/convert NEWS to NEWS.md

No meaning in keeping RST (and, even more, half-RST/half-MD) around
when for this Markdown is enough.

Also ship SECURITY.MD in the sdist.

20 months agoModernise the tp_dealloc functions
Iustin Pop [Sat, 22 Apr 2023 20:56:34 +0000 (22:56 +0200)]
Modernise the tp_dealloc functions

While in Python 2.7, it was recommended to explicitly check for
errors, and only do the save exception/restore exception dance, modern
Python documentation says to always do this, unconditionally. For
example, in
https://docs.python.org/3.11/extending/newtypes.html#finalization-and-de-allocation.

So let's switch to this, and to the more proper deallocation using the
tp_free member - not because these are subclassable types, but because
the initialisation is also done using tp_alloc, so consistency++.

20 months agoConvert module and type initialisation to C99 style
Iustin Pop [Sat, 22 Apr 2023 00:22:08 +0000 (02:22 +0200)]
Convert module and type initialisation to C99 style

Pfew, this is much cleaner, although I don't like the indenting 😅…

20 months agoRework how acl __setstate__ handles some errors
Iustin Pop [Sat, 22 Apr 2023 00:20:16 +0000 (02:20 +0200)]
Rework how acl __setstate__ handles some errors

This resolves the very old comment 'Should we ignore errors'. Upon
more thinking, yes, ignoring errors is better, and the way the code
was, it contained a memory leak (on a very unlikely path).

So rework it to ignore errors in freeing the old ACL, since we don't
care about the old ACL, and the new one is successfully allocated.

20 months agoAdd another (risky) tests for __setstate__ behaviour
Iustin Pop [Sat, 22 Apr 2023 00:16:22 +0000 (02:16 +0200)]
Add another (risky) tests for __setstate__ behaviour

20 months agoTry to make the acl_copy_ext_failure test better behaved
Iustin Pop [Sat, 22 Apr 2023 00:12:17 +0000 (02:12 +0200)]
Try to make the acl_copy_ext_failure test better behaved

Sigh, this is really not a good test, but it does show the
deficiencies in the C library - I learned that users can trivially
shoot themselves in the foot and cause segfaults.

20 months agoSwitch Makefile-based tests to newer versions
Iustin Pop [Fri, 21 Apr 2023 23:55:20 +0000 (01:55 +0200)]
Switch Makefile-based tests to newer versions

Move from 3.4-3.9 to 3.7-3.12. This also triggers a segfault with
3.11, fun!

20 months agoUpdate actions to v3
Iustin Pop [Fri, 21 Apr 2023 00:05:31 +0000 (02:05 +0200)]
Update actions to v3

The CI runner actually shows which ones are obsolete, nice.

20 months agoAdd a test for restoring state from invalid string
Iustin Pop [Thu, 20 Apr 2023 23:54:44 +0000 (01:54 +0200)]
Add a test for restoring state from invalid string

This might be flaky, but I assume that the empty string will never be
a valid ACL representation. If it changes, will have to fix the test.

20 months agoAdd gcov exclusion patterns for hard-to-test error paths
Iustin Pop [Sun, 16 Apr 2023 23:31:41 +0000 (01:31 +0200)]
Add gcov exclusion patterns for hard-to-test error paths

I don't know how to force failures, and in most normal code, these
error paths should not happen, since the rest of the code is well
behaved. As such, I'm adding exclusion markers, for C function
failures.

20 months agoRestore the CI environment
Iustin Pop [Sun, 16 Apr 2023 19:30:05 +0000 (21:30 +0200)]
Restore the CI environment

This is a bulk change that tries to bring up the CI environment back
to health. It does:

- switch to newer Python versions (3.7+ only)
- switch to current codecov action
- drops no-longer-supported codecov-results-as-artifact storage
- install dependencies for, and build documentation (as validation
  step during the build, not to use the result)

Hopefully this will allow again CI to run correctly.

20 months agoUpdate naming after master->main branch rename
Iustin Pop [Sun, 16 Apr 2023 19:24:43 +0000 (21:24 +0200)]
Update naming after master->main branch rename

20 months agoAdd a simple security policy
Iustin Pop [Sun, 16 Apr 2023 19:21:32 +0000 (21:21 +0200)]
Add a simple security policy

20 months agoUpdate sphinx config for newer recommonmark versions
Iustin Pop [Sun, 16 Apr 2023 19:21:53 +0000 (21:21 +0200)]
Update sphinx config for newer recommonmark versions

Old things are old, let's drop them.

20 months agoFix build status for badge shields issue 8671
Iustin Pop [Sun, 16 Apr 2023 14:14:31 +0000 (16:14 +0200)]
Fix build status for badge shields issue 8671

3 years agoUpdate CI schedule to include periodic runs
Iustin Pop [Sun, 6 Jun 2021 19:02:49 +0000 (21:02 +0200)]
Update CI schedule to include periodic runs

… and also trigger on pull requests.

3 years agoReplace travis badge with github actions one in README
Iustin Pop [Sat, 5 Jun 2021 17:55:52 +0000 (19:55 +0200)]
Replace travis badge with github actions one in README

3 years agoRemove travis config
Iustin Pop [Sat, 5 Jun 2021 17:55:05 +0000 (19:55 +0200)]
Remove travis config

3 years agoAdd GitHub Actions workflow
Iustin Pop [Sat, 5 Jun 2021 17:49:16 +0000 (19:49 +0200)]
Add GitHub Actions workflow

3 years agoFix download link http→https
Iustin Pop [Sat, 5 Jun 2021 17:40:02 +0000 (19:40 +0200)]
Fix download link http→https

3 years agoMinor tweak in README syntax
Iustin Pop [Sat, 5 Jun 2021 17:39:11 +0000 (19:39 +0200)]
Minor tweak in README syntax

4 years agoStore doc/readme and doc/news in git
Iustin Pop [Sun, 6 Dec 2020 14:04:25 +0000 (15:04 +0100)]
Store doc/readme and doc/news in git

… instead of always re-creating them. This is in an attempt to make
readthedocs work, since it can't run builds, I think.

4 years agoTest 'filedef' arguments for all supported types
Iustin Pop [Sun, 6 Dec 2020 13:56:45 +0000 (14:56 +0100)]
Test 'filedef' arguments for all supported types

Support for unicode/bytes/path objects for filedef was introduced way
back in 707c0d4a, but was not tested across all of these. Let's test
all of these.

Found while investigating #16.

4 years agoBump version number for new release v0.6.0
Iustin Pop [Sun, 29 Nov 2020 01:42:39 +0000 (02:42 +0100)]
Bump version number for new release

This was left as unreleased for a year now, way past time to release.

4 years agoRun local tests with Py3.9 too
Iustin Pop [Sun, 29 Nov 2020 01:36:04 +0000 (02:36 +0100)]
Run local tests with Py3.9 too

4 years agoTravis: add python-3.9-dev build
Iustin Pop [Fri, 19 Jun 2020 22:58:06 +0000 (00:58 +0200)]
Travis: add python-3.9-dev build

4 years agoMerge remote-tracking branch 'github/master'
Iustin Pop [Fri, 19 Jun 2020 22:49:21 +0000 (00:49 +0200)]
Merge remote-tracking branch 'github/master'

4 years agoRemove the PyType_Type assignments to _Type objects
Iustin Pop [Fri, 19 Jun 2020 22:47:09 +0000 (00:47 +0200)]
Remove the PyType_Type assignments to _Type objects

Newer docs (since 3.5, which is what Travis tests) don't have this
anymore, only tp_new setting. tp_new is set directly in the type
objects, so it looks like this is not needed anymore. And it should
fix nightly testing, hopefully.

4 years agoFix typo: HAVEL_LEVEL2
Enji Cooper [Thu, 9 Apr 2020 04:21:19 +0000 (21:21 -0700)]
Fix typo: HAVEL_LEVEL2

This change initializes the `entry_id` to `ACL_FIRST_ENTRY` when `ACL`
objects are created.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
5 years agoACL init: only define the extra variables when needed
Iustin Pop [Tue, 17 Dec 2019 00:13:54 +0000 (01:13 +0100)]
ACL init: only define the extra variables when needed

This should show fewer (well, none hopefully) compiler warnings on
non-Linux platforms.

5 years agoFix bug in ACL(filedef=...) constructor
Iustin Pop [Mon, 16 Dec 2019 23:52:42 +0000 (00:52 +0100)]
Fix bug in ACL(filedef=...) constructor

Only found by python3.7-dgb, the 3.8 one ignored this. 'path' is a
'char*', we can't decref it, the proper one to decref is the actual
filedef PyBytes object.

Sigh :(

5 years agoFix one more unclean EQ assert…
Iustin Pop [Wed, 11 Dec 2019 20:53:33 +0000 (21:53 +0100)]
Fix one more unclean EQ assert…

5 years agoEnsure ACL EQ checks not called for non-Linux
Iustin Pop [Wed, 11 Dec 2019 20:51:27 +0000 (21:51 +0100)]
Ensure ACL EQ checks not called for non-Linux

… via a helper assert function. Not best because context is a bit
muddled, but fortunately pytest shows nice call stack.

5 years agoFix a test function name
Iustin Pop [Wed, 11 Dec 2019 20:51:11 +0000 (21:51 +0100)]
Fix a test function name

Bad copy-pasta…

5 years agoTests: replace two mode= uses with text=
Iustin Pop [Wed, 11 Dec 2019 20:40:37 +0000 (21:40 +0100)]
Tests: replace two mode= uses with text=

The text=… argument is supported more widely (e.g. FreeBSD doesn't
support mode), so let's use that in tests for better coverage on
multiple platforms.

5 years agoRemove obsolete check for non-initialised Entry
Iustin Pop [Wed, 11 Dec 2019 20:30:12 +0000 (21:30 +0100)]
Remove obsolete check for non-initialised Entry

Today, objects are always initialised, so this check is superfluous,
and the get_tag_qualifier will properly handle errors from acl_*
functions, so even if that invariant is actually violated, this will
not lead to undefined behaviour.

5 years agoRemove forgotten debug statement
Iustin Pop [Wed, 11 Dec 2019 20:26:59 +0000 (21:26 +0100)]
Remove forgotten debug statement

Oops :)

5 years agoAdd file path to error message on ACL initialisation
Iustin Pop [Wed, 11 Dec 2019 20:18:46 +0000 (21:18 +0100)]
Add file path to error message on ACL initialisation

5 years agoFix yet another bug in ACL re-inistialisation
Iustin Pop [Wed, 11 Dec 2019 20:04:42 +0000 (21:04 +0100)]
Fix yet another bug in ACL re-inistialisation

5 years agoImplement creating an ACL directly from serialised form
Iustin Pop [Wed, 11 Dec 2019 19:50:55 +0000 (20:50 +0100)]
Implement creating an ACL directly from serialised form

5 years agoSmall simplification in ACL_init
Iustin Pop [Wed, 11 Dec 2019 19:20:46 +0000 (20:20 +0100)]
Small simplification in ACL_init

5 years agoAdd a test for __setstate__ arguments
Iustin Pop [Thu, 5 Dec 2019 20:32:02 +0000 (21:32 +0100)]
Add a test for __setstate__ arguments

5 years agoMake the code Py_ssize_t clean
Iustin Pop [Thu, 5 Dec 2019 20:31:42 +0000 (21:31 +0100)]
Make the code Py_ssize_t clean

Thanks python 3.8 for the hint!

5 years agoChange setstate to only take bytes
Iustin Pop [Thu, 5 Dec 2019 20:28:36 +0000 (21:28 +0100)]
Change setstate to only take bytes

This is the recommended way (well, via Py_buffer, but I don't need
that).

5 years agoMove a few tests from explicit loop to parameters
Iustin Pop [Wed, 4 Dec 2019 23:26:12 +0000 (00:26 +0100)]
Move a few tests from explicit loop to parameters

Failure messages should be more better in failure case.

5 years agoFix from_acl tests for non-Linux platforms
Iustin Pop [Tue, 3 Dec 2019 23:50:57 +0000 (00:50 +0100)]
Fix from_acl tests for non-Linux platforms

FreeBSD doesn't have acl_cmp, so comparison via rich compare is not
defined, thus all comparisons are False. Fix tests so the equality
check is only done on Linux, and add a poor man's test via string
representation equality.

5 years agoChange entry qualifier set/get behaviour
Iustin Pop [Tue, 3 Dec 2019 23:35:33 +0000 (00:35 +0100)]
Change entry qualifier set/get behaviour

This was intended to address #13, but investigation found out more
breakage than just that. It's hard to make overflow/underflow tests
without assuming the signedness of the uid_t/gid_t types, so
assume/require that they're unsigned (it is true with glibc, MacOS and
FreeBSD) and use this to improve the behaviour:

- Fix setting very large qualifiers, both in the sense of correctly
  reporting overflow when too large, and not longer falsely reporting
  overflow for larger than signed max but smaller than unsigned max;
- Fix returning very large (larger than signed max value) qualifiers;

Fixes #13.

5 years agoMinor change on how error handling style in ACL_init
Iustin Pop [Sat, 30 Nov 2019 15:58:31 +0000 (16:58 +0100)]
Minor change on how error handling style in ACL_init

5 years agoRemove doc/news.rst from git
Iustin Pop [Sat, 30 Nov 2019 15:57:45 +0000 (16:57 +0100)]
Remove doc/news.rst from git

Forgot to do this when changed readme. It is now symlinked at build
time.

5 years agoConvert ACL initialisation to allow file-path objects as well
Iustin Pop [Fri, 29 Nov 2019 19:28:41 +0000 (20:28 +0100)]
Convert ACL initialisation to allow file-path objects as well

This is easier than in has_extended, as we can directly use the
converter. Yay!

5 years agoConvert the README to markdown
Iustin Pop [Fri, 29 Nov 2019 19:06:42 +0000 (20:06 +0100)]
Convert the README to markdown

Yay, 2019.

5 years agoAdd stub type hints - even if not working
Iustin Pop [Fri, 29 Nov 2019 18:55:09 +0000 (19:55 +0100)]
Add stub type hints - even if not working

Apparently PEP561 only addresses packages, not modules, and somewhat
dismissively says: "code should be refactored into a package-based
distribution and indicate that the package supports typing as
described above".

Well, locally I can use it, so let's add the stub. Will see later if
it can be used somehow.

5 years agoFix tests path in MANIFEST.in
Iustin Pop [Fri, 29 Nov 2019 16:22:10 +0000 (17:22 +0100)]
Fix tests path in MANIFEST.in

5 years agoAdd type: ignore to tests where we force bad behaviour
Iustin Pop [Fri, 29 Nov 2019 16:19:41 +0000 (17:19 +0100)]
Add type: ignore to tests where we force bad behaviour

5 years agoAdd trove classifiers and project urls
Iustin Pop [Fri, 29 Nov 2019 15:33:03 +0000 (16:33 +0100)]
Add trove classifiers and project urls

5 years agoAnother xfail test
Iustin Pop [Fri, 29 Nov 2019 15:32:07 +0000 (16:32 +0100)]
Another xfail test

5 years agoSimplify ACL.append to not duplicate Entry creation
Iustin Pop [Fri, 29 Nov 2019 15:08:37 +0000 (16:08 +0100)]
Simplify ACL.append to not duplicate Entry creation

Similar to the pattern for Entry.permset, this removes the duplication
with the (child object) init.

5 years agoAdd xfail test for equiv mode failures
Iustin Pop [Fri, 29 Nov 2019 14:59:51 +0000 (15:59 +0100)]
Add xfail test for equiv mode failures

Sigh, another bug in upstream library.

5 years agoRaise better error message on un-owned but valid Entry deletion
Iustin Pop [Fri, 29 Nov 2019 14:53:48 +0000 (15:53 +0100)]
Raise better error message on un-owned but valid Entry deletion

5 years agoSimplify returning None
Iustin Pop [Fri, 29 Nov 2019 14:48:27 +0000 (15:48 +0100)]
Simplify returning None

5 years agoSwitch ACL to be always-initialised
Iustin Pop [Fri, 29 Nov 2019 14:42:42 +0000 (15:42 +0100)]
Switch ACL to be always-initialised

This is the last object to change, but the semantics here are more
complex. Since the ACL doesn't have a parent, and the init signature
is complex, we can't detect "same-reinit", we allow arbitrary-reinit,
but this makes existing live entries be undefined; they might point to
a different entry in the new ACL, or not be valid, etc.

It could be possible to prevent re-init, but doing so requires
trickery which might be broken by serialisation, so let's just leave
it there and document it as such.

5 years agoApply no-unitialised-objects to Permset as well
Iustin Pop [Fri, 29 Nov 2019 14:01:41 +0000 (15:01 +0100)]
Apply no-unitialised-objects to Permset as well

This had no checks at all (Entry has one check) on attribute access.

5 years agoStop duplicating permset initialisation
Iustin Pop [Fri, 29 Nov 2019 13:54:23 +0000 (14:54 +0100)]
Stop duplicating permset initialisation

A permset can be initalised either via `__init__ ` or by getting
`parent.permset` getter. The latter duplicates the logic in the
former, which is not good as hacks into the internals of the permset.

Remove the duplication by just calling explicitly permset(self) and
returning the value of it.

5 years agoExpand acl_check testing for actual value checks
Iustin Pop [Fri, 29 Nov 2019 13:36:29 +0000 (14:36 +0100)]
Expand acl_check testing for actual value checks

This actually tests upstream, but just "assert a.check()/not
a.check()" seems too little.

5 years agoRestore setstate/getstate support
Iustin Pop [Fri, 29 Nov 2019 13:35:11 +0000 (14:35 +0100)]
Restore setstate/getstate support

Sigh, another brown-bag issue. One small typo in a place, plus a
missing macro, and this went unseen for ages.

Also add a basic test for it. Probably should add Pickle as well.

5 years agoSlightly expand the NEWS file
Iustin Pop [Fri, 29 Nov 2019 13:32:10 +0000 (14:32 +0100)]
Slightly expand the NEWS file

5 years agoChange Entry initialisation protocol
Iustin Pop [Fri, 29 Nov 2019 13:28:06 +0000 (14:28 +0100)]
Change Entry initialisation protocol

This fixes very large and significant bugs - segfaults and memory
leaks - that were present for uninitialised object, more precisely
created but not init'ed ones.

I spent quite a bit of time thinking back on forth how to fix this,
and from the two options of:

- check initialised status on all code paths, or
- don't ever allow invalid/un-initialised objects

The latter one seems the correct one, even though the Python C API
docs imply that doing actual stuff in `__new__` should be "rare".

Tests for reference leaks and wrong re-init added as well; these would
have caught at least memory leaks before.

5 years agoStandardise on capitalised error messages
Iustin Pop [Fri, 29 Nov 2019 13:20:46 +0000 (14:20 +0100)]
Standardise on capitalised error messages

For good or worse, but at least standard.

5 years agoUnify attribute deletion checks for Entry
Iustin Pop [Fri, 29 Nov 2019 13:20:11 +0000 (14:20 +0100)]
Unify attribute deletion checks for Entry

5 years agoReduce verbosity in fast-tests
Iustin Pop [Fri, 29 Nov 2019 13:14:55 +0000 (14:14 +0100)]
Reduce verbosity in fast-tests

Otherwise compilation issues are missed.

5 years agoCleanup py2-compatibility 'except' syntax
Iustin Pop [Fri, 29 Nov 2019 03:11:43 +0000 (04:11 +0100)]
Cleanup py2-compatibility 'except' syntax

5 years agoRemove tests/__init__.py as not needed with pytest
Iustin Pop [Fri, 29 Nov 2019 02:52:23 +0000 (03:52 +0100)]
Remove tests/__init__.py as not needed with pytest

5 years agoInclude filename in exceptions raised in delete_default
Iustin Pop [Fri, 29 Nov 2019 01:20:58 +0000 (02:20 +0100)]
Include filename in exceptions raised in delete_default

And add test for failure.

5 years agoAdd tests for a few IO failures
Iustin Pop [Wed, 27 Nov 2019 22:20:57 +0000 (23:20 +0100)]
Add tests for a few IO failures

Marginal test coverage increase, but checks that we do raise IOError
as expected.

5 years agoAdd pathlib support in apply_to and has_extended
Iustin Pop [Wed, 27 Nov 2019 22:04:05 +0000 (23:04 +0100)]
Add pathlib support in apply_to and has_extended

This is done by switching these functions to PyUnicode_FSConverter,
thus removing a chunk of custom, and probably buggy, code. Easier to
read as well…

5 years agoAdd more test infrastructure for parameterisation
Iustin Pop [Wed, 27 Nov 2019 21:30:20 +0000 (22:30 +0100)]
Add more test infrastructure for parameterisation

Not sure how much will be used yet…

5 years agoPy3 cleanup for the module itself
Iustin Pop [Wed, 27 Nov 2019 21:01:24 +0000 (22:01 +0100)]
Py3 cleanup for the module itself

5 years agoAdd no external to coverage target
Iustin Pop [Wed, 27 Nov 2019 20:52:41 +0000 (21:52 +0100)]
Add no external to coverage target

5 years agotests: Py3 cleanup
Iustin Pop [Wed, 27 Nov 2019 20:41:45 +0000 (21:41 +0100)]
tests: Py3 cleanup

5 years agoA bit more tests
Iustin Pop [Wed, 27 Nov 2019 20:40:28 +0000 (21:40 +0100)]
A bit more tests

5 years agoConvert TestModification to pytest
Iustin Pop [Wed, 27 Nov 2019 20:33:23 +0000 (21:33 +0100)]
Convert TestModification to pytest

And that was the last one…

5 years agoOne more makefile test target
Iustin Pop [Wed, 27 Nov 2019 20:32:17 +0000 (21:32 +0100)]
One more makefile test target

5 years agoStop testing with pypy2
Iustin Pop [Wed, 27 Nov 2019 08:39:56 +0000 (09:39 +0100)]
Stop testing with pypy2

Broken already :)