1
0
Fork 0
Commit graph

115 commits

Author SHA1 Message Date
Lance Edgar ba1905b7ad Revert "Add support for python 3.12"
This reverts commit 07bc29c494.

probably 3.12 works fine, but for technical reasons the automated
tests don't work yet.  hoping once we drop 3.6 support then can get
the 3.12 tests working properly..
2024-05-31 14:03:02 -05:00
Lance Edgar 07bc29c494 Add support for python 3.12 2024-05-31 13:34:23 -05:00
Lance Edgar 1d7ee980d5 Update changelog 2024-05-28 22:58:07 -05:00
Lance Edgar 6777f02e06 Fix bug when default config paths do not exist
when fetching initial path listing, to create config object.  should
only affect situations where default file paths are needed, i.e. when
caller does not specify
2024-05-28 22:57:19 -05:00
Lance Edgar cd79f949d2 Update changelog 2024-05-15 14:25:25 -05:00
Lance Edgar a552e6c471 Raise AttributeError if no app provider has it
whoops, super().__getattr__() is not really defined
2024-05-15 14:22:45 -05:00
Lance Edgar 51d884ac8b Fix import for logging.config
with editable install, on python 3.8, i was getting errors which this fixes
2024-05-06 21:43:24 -05:00
Lance Edgar 97e9f535f9 Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?
2024-04-14 15:02:58 -05:00
Lance Edgar 0e611ca866 Update changelog 2024-04-14 15:00:46 -05:00
Lance Edgar 24a86ffeb4 Make WuttaConfig.get_list() return None by default
instead of empty list `[]`
2024-04-14 14:59:32 -05:00
Lance Edgar 16e9811816 Update changelog 2023-11-30 15:11:45 -06:00
Lance Edgar 49edece2f2 Fix test if local config file exists 2023-11-25 18:05:52 -06:00
Lance Edgar 485597e7b1 Avoid deprecation warning for ConfigParser 2023-11-25 17:07:51 -06:00
Lance Edgar d73ff274df Add generic handler base class, tests, docs 2023-11-25 16:28:37 -06:00
Lance Edgar 27a90b2a87 Update changelog 2023-11-24 23:20:49 -06:00
Lance Edgar 3a8bd1fce9 Add app providers, tests, docs 2023-11-24 23:11:26 -06:00
Lance Edgar 3cafa28ab9 Add link to coverage in main docs 2023-11-24 19:47:08 -06:00
Lance Edgar c983e0e5af Update changelog 2023-11-24 19:29:48 -06:00
Lance Edgar 64af49ffdf Add basic database docs 2023-11-24 19:14:48 -06:00
Lance Edgar b59e83907c Add config extension class, tests, docs 2023-11-24 18:45:10 -06:00
Lance Edgar f9f2bcc3d0 Add more install docs 2023-11-24 18:08:50 -06:00
Lance Edgar be1e73d7f0 Use ReST instead of markdown for README 2023-11-24 16:55:37 -06:00
Lance Edgar 9258d8b55a Add docs for settings table 2023-11-24 16:35:34 -06:00
Lance Edgar 4a7729a702 Add docs for handlers, app handler 2023-11-24 15:58:24 -06:00
Lance Edgar 6b110e567a Add docs for subcommands 2023-11-24 14:22:22 -06:00
Lance Edgar 8759fb8d37 Tweak docs for FileConfigTestCase 2023-11-22 21:48:18 -06:00
Lance Edgar af4c28b286 Add a large chunk of the docs for command line interface
will have to finish subcommands later
2023-11-22 21:40:26 -06:00
Lance Edgar 8a4438c725 Update changelog 2023-11-22 18:10:14 -06:00
Lance Edgar e2963403fe Add date-organize subcommand 2023-11-22 12:26:27 -06:00
Lance Edgar c3914738d5 Move cli framework to wuttjamaican.cmd subpackage
deprecate `wuttjamaican.commands`
2023-11-22 11:13:39 -06:00
Lance Edgar 37e42eebbc Update changelog 2023-11-22 09:32:46 -06:00
Lance Edgar 5c4dcb09f3 Add --stdout and --stderr args for base Command class
also refactor its `run()` method to allow more customizing ability
2023-11-22 09:11:36 -06:00
Lance Edgar 13472a5ab5 Add wutta make-appdir subcommand 2023-11-22 00:10:40 -06:00
Lance Edgar 5e971e4b0c Update changelog 2023-11-21 22:28:14 -06:00
Lance Edgar 1431555605 Allow factory override in make_config()
also add `winsvc` param for `get_config_paths()` to support
RattailFileMonitor service on windows
2023-11-21 22:25:45 -06:00
Lance Edgar ed6a5db452 Add Subcommand.make_arg_parser() method
split that out for clarity
2023-11-21 20:48:44 -06:00
Lance Edgar 4641e24afd Add narrative docs for app configuration 2023-11-21 18:27:29 -06:00
Lance Edgar f9a7b41f94 Update changelog 2023-11-21 14:43:08 -06:00
Lance Edgar 4ff83162e1 Must use "safe" top-level name for subcommand entry points 2023-11-21 14:16:36 -06:00
Lance Edgar ea9a9ade57 Change entry point group naming for subcommands
and use fallback to find subcommands registered via legacy naming
2023-11-21 14:08:26 -06:00
Lance Edgar d8252f029d Allow specifying config object for Command constructor
might as well re-use config if available..not sure how often this will
happen in practice
2023-11-20 23:13:59 -06:00
Lance Edgar 34836b006d Fix typo in docs 2023-11-20 22:02:20 -06:00
Lance Edgar 1545269ae4 Add flag to skip tests when pushing a release
hopefully this doesn't get used much, but currently am having a major
headache when running python 3.7 tests via tox.  probably should just
drop support for that one ASAP..
2023-11-20 21:44:00 -06:00
Lance Edgar 38e0eca4bc Update changelog 2023-11-20 21:40:08 -06:00
Lance Edgar be251f04d3 Add get_config_paths() function, split off from make_config()
break the latter into steps so we can swap them out more easily
2023-11-20 18:16:23 -06:00
Lance Edgar a0186b346e Add common FileConfigTestCase class, in new testing module
hoping i do not regret this decision..  since the tests do not live in
a "real" package i think the only way to share code is to add some
things to the main package
2023-11-20 16:19:22 -06:00
Lance Edgar 427afc27fc Add test to ensure we get correct app handler by default 2023-11-20 09:57:38 -06:00
Lance Edgar b4e9fb8ea7 Restrict coverage even more, for tox py3.7 runs 2023-11-19 20:46:54 -06:00
Lance Edgar db70b0d550 Update changelog 2023-11-19 20:41:22 -06:00
Lance Edgar b458272207 Add make_engine_from_config() method for AppHandler
and other misc. tweaks needed to get this incorporated into Rattail
2023-11-19 20:36:51 -06:00