Commit graph

76 commits

Author SHA1 Message Date
Tiara Rodney
2d9fe8b625
feat(urllib.request): add compression support for PkgHandler 2025-06-21 20:26:36 +02:00
Tiara Rodney
981985e51a
todo(14): in-progress 2025-06-21 20:26:15 +02:00
Tiara Rodney
b6a24de08c
Merge branch 'bugfix/13' into dev
ID: 13
Type: bugfix
Title: fix unit tests for urllib PkgHandler
Status: done
Priority: high
Created: 2025-06-21
Description: change of issue 12 wasn't properly reflected in urllib PkgHandler
             unit tests
2025-06-21 20:25:43 +02:00
Tiara Rodney
5beb699dda
todo(13): done 2025-06-21 20:25:28 +02:00
Tiara Rodney
f9897a9aa5
fix(tests): adapt name of new package mock fixture 2025-06-21 20:25:11 +02:00
Tiara Rodney
69d498a203
todo(13): in-progress 2025-06-21 20:24:51 +02:00
Tiara Rodney
3b5097a99c
todo(14): open 2025-06-21 20:23:41 +02:00
Tiara Rodney
81dc18c506
todo(13): open 2025-06-21 20:22:19 +02:00
Tiara Rodney
aad29bc76a
Merge branch 'feature/12' into dev
ID: 12
Type: feature
Title: simplify testing.fixtures.mock_pkg
Status: done
Priority: high
Created: 2025-06-21
Description: Only bootstrap a package mock with the minimum requirements for a
             Python module and let the consumer handle the directory layout.
2025-06-21 18:16:34 +02:00
Tiara Rodney
16c12b5576
todo(12): done 2025-06-21 18:16:18 +02:00
Tiara Rodney
aa2540cf3f
refactor(testing.pytest): change mock_pkg interface
being more explicit about what the fixture provides as an output, instead of
solely describing the site effects.

Also the consumer is now responsible for the module directory layout.
2025-06-21 18:14:52 +02:00
Tiara Rodney
e6bf657919
todo(12): in-progress 2025-06-21 18:14:22 +02:00
Tiara Rodney
6b6fb02f41
todo(12): open 2025-06-21 18:13:59 +02:00
Tiara Rodney
b9bea79c60
Merge branch 'bugfix/11' into dev
ID: 11
Type: bugfix
Title: move testing utils out of utils
Status: in-progres
Priority: high
Created: 2025-06-20
Description: to shorten the namespace and also indicate that testing utilities
             are different from regular utilities
2025-06-21 01:43:07 +02:00
Tiara Rodney
53dc780a04
todo(11): done 2025-06-21 01:42:16 +02:00
Tiara Rodney
9abfabde00
chore: move testing utils out of utils 2025-06-21 01:41:47 +02:00
Tiara Rodney
55ec6323bb
todo(11): in-progress 2025-06-21 01:34:30 +02:00
Tiara Rodney
0eee6c5771
todo(11): open 2025-06-21 01:34:14 +02:00
Tiara Rodney
d0dfa1cb12
Merge branch 'feature/6' into dev
ID: 6
Type: feature
Title: implement importlib.resources handler for urllib
Status: done
Priority: high
Created: 2025-06-20
Description: A handler that can be registered with an urllib.request
             OpenerDirector to open importlib.resources package files.
2025-06-21 00:39:28 +02:00
Tiara Rodney
a4fa083980
todo(6): done 2025-06-21 00:39:13 +02:00
Tiara Rodney
3795ff3e38
chore: add integration test to default tests 2025-06-21 00:38:20 +02:00
Tiara Rodney
59713aefb8
feat(urllib.request): add importlib resource handler 2025-06-21 00:34:29 +02:00
Tiara Rodney
24806959bb
feat(testing.pytest): add pkg mock fixture 2025-06-21 00:32:07 +02:00
Tiara Rodney
43cdf21d4b
feat(testing.pytest): add subprocess decorator 2025-06-20 23:36:56 +02:00
Tiara Rodney
1ea3b3a24d
feat(urllib): init PkgHandler 2025-06-20 21:49:28 +02:00
Tiara Rodney
59dcc2c7c0
Merge branch 'feature/10' into dev
ID: 10
Type: feature
Title: pytest current test context fixtures
Status: done
Priority: high
Created: 2025-06-20
Description: add fixtures for doing things in relation to the active testing
             context
2025-06-20 21:48:41 +02:00
Tiara Rodney
03561be791
todo(10): done 2025-06-20 21:48:21 +02:00
Tiara Rodney
644beb8696
feat(testing): init pytest fixtures
current_test fixture allows to retrieve the current test context, that is
exposed through the shell environment
2025-06-20 21:47:17 +02:00
Tiara Rodney
c579ddd022
todo(10): in-progress 2025-06-20 21:00:53 +02:00
Tiara Rodney
44e35846a5
todo(10): open 2025-06-20 21:00:31 +02:00
Tiara Rodney
18d4958658
Merge branch 'bugfix/9' into dev
ID: 9
Type: bugfix
Title: fix LICENSE reference
Status: done
Priority: high
Created: 2025-06-20
Description: license specification is no longer a trove classifier in
             pyproject.toml, hence the reference to LICENSE must be changed
2025-06-20 20:40:08 +02:00
Tiara Rodney
324df0e6d2
todo(9): done 2025-06-20 20:39:53 +02:00
Tiara Rodney
d799c62c78
chore: change license reference 2025-06-20 20:39:34 +02:00
Tiara Rodney
7e8082bae2
feat(license): add unlicense license
Don't know what to license this under yet
2025-06-20 20:39:19 +02:00
Tiara Rodney
e0e99480e3
todo(9): in-progress 2025-06-20 20:38:14 +02:00
Tiara Rodney
576aad9d4c
todo(9): open 2025-06-20 20:37:49 +02:00
Tiara Rodney
e14886dc3f
Merge branch 'bugfix/8' into dev
ID: 8
Type: bugfix
Title: rename package
Status: done
Priority: high
Created: 2025-06-20
Description: use dot namespaces to make the package a little more elegant
2025-06-20 20:35:29 +02:00
Tiara Rodney
fb0c65c6af
todo(8): done 2025-06-20 20:35:11 +02:00
Tiara Rodney
1fb1e0d0bf
chore: rename package 2025-06-20 20:33:37 +02:00
Tiara Rodney
dd57ecabb9
todo(8): in-progress 2025-06-20 20:25:51 +02:00
Tiara Rodney
dfc28e2240
Merge branch 'feature/7' into dev
ID: 7
Type: feature
Title: setup advanced testing environment
Status: done
Priority: high
Created: 2025-06-20
Description: copy the testing environment setup from
             byteb4rb1e.sphinxcontrib.ext
2025-06-20 20:21:30 +02:00
Tiara Rodney
f0f36542f4
todo(7): done 2025-06-20 20:21:06 +02:00
Tiara Rodney
6bf67f4a88
chore(test): update Makefile 2025-06-20 20:19:32 +02:00
Tiara Rodney
b6a99d4b2d
chore(test): ignore test-reports 2025-06-20 20:19:32 +02:00
Tiara Rodney
dc69eea88a
chore(test): remove redundant module entrypoints
pytest compared to built-in unittest does not discover test suites based on a
directory being marked as a module, instead matching against the basename of a
file to determine whether it is a test suite or not.
2025-06-20 20:19:32 +02:00
Tiara Rodney
ab626d5c8e
chore(test): remove redundant dependencies
dependencies for test environments are handled by tox and defined in tox.ini
2025-06-20 20:19:31 +02:00
Tiara Rodney
6955b5e330
feat(test): add entrypoints and runtime dependency 2025-06-20 20:19:31 +02:00
Tiara Rodney
b1a469a351
feat(test): init tox config 2025-06-20 20:19:31 +02:00
Tiara Rodney
c0adb4cdfb
todo(8): open 2025-06-20 20:19:05 +02:00
Tiara Rodney
c6c6d806ac
todo(7): in-progress 2025-06-20 19:48:22 +02:00