2
0
Fork 0
Commit graph

95 commits

Author SHA1 Message Date
Lance Edgar 0454ab70e0 bump: version 0.6.0 → 0.6.1 2024-07-12 00:12:26 -05:00
Lance Edgar ef5b13a297 fix: add AppHandler.load_object() method 2024-07-11 19:32:44 -05:00
Lance Edgar ae973881af fix: add WuttaConfig.production() method 2024-07-11 18:23:43 -05:00
Lance Edgar cedc74e16b bump: version 0.5.0 → 0.6.0 2024-07-11 13:00:49 -05:00
Lance Edgar 375d0be638 feat: add basic data model support
wuttjamaican will provide a default data model with minimal tables;
it's assumed each custom app will extend this model with other tables
2024-07-11 12:55:55 -05:00
Lance Edgar 7012409e1e bump: version 0.4.0 → 0.5.0 2024-07-09 16:47:54 -05:00
Lance Edgar 80da7f5d6f feat: drop python 3.6 support 2024-07-09 16:47:24 -05:00
Lance Edgar 3ea9deea06 docs: avoid unknown command 2024-07-04 14:41:53 -05:00
Lance Edgar d47ba53eec bump: version 0.3.2 → 0.4.0 2024-07-04 14:37:38 -05:00
Lance Edgar a76cbf29e9 feat: remove legacy command system
typer is the recommended approach, but any could be used.  we have
nothing significant to offer so better to just not.
2024-07-04 14:35:29 -05:00
Lance Edgar fd76766f56 fix: use more explicit import in config constructor 2024-07-04 11:37:37 -05:00
Lance Edgar f5825e964c test: add 'nodb' test runner
ensure things work as expected if sqlalchemy is not installed
2024-07-04 08:00:42 -05:00
Lance Edgar 132073177c bump: version 0.3.1 → 0.3.2 2024-07-04 07:44:01 -05:00
Lance Edgar a25712ef54 fix: let config class specify default app handler, engine maker
this avoids the need for a config subclass to use `setdefault()` hacks
to specify default app handler for instance, since that approach must
compete with config extensions who also may wish to do that.

similar concept for the engine maker; notably the rattail project
needs to override this function somewhat and we need a way to allow
for that without (re-)introducing the app handler here.
2024-07-04 07:24:07 -05:00
Lance Edgar c3efbfbf7b fix: ensure config has no app when constructor finishes
had to move `make_engine_from_config()` out of app handler and define
as a separate function, so that `get_engines()` did not need to
instantiate the app handler.  because if it did, then config
extensions would lose the ability to set a default app handler - er,
they could do it but it would be ignored
2024-07-04 06:21:38 -05:00
Lance Edgar 3ab181b129 docs: use accurate package version when building docs
copyright year will need to be manually updated still, when applicable
2024-06-30 20:40:23 -05:00
Lance Edgar 5096fd6d3c docs: add another resource link for cli frameworks 2024-06-30 20:31:12 -05:00
Lance Edgar 4de2e6dc6e docs: stop documenting wutta command line framwework
as we will be deprecating and removing it at some point.  `typer`
seems to work well but any other framework could be used
2024-06-30 20:26:25 -05:00
Lance Edgar 746bcf18de docs: use furo docs theme instead of alabaster 2024-06-30 20:22:42 -05:00
Lance Edgar 0b3db3cac0 bump: version 0.3.0 → 0.3.1 2024-06-14 17:33:47 -05:00
Lance Edgar f654906029 fix: fallback to importlib_metadata when loading entry points
since `pkg_resources` is deprecated for this purpose, per
https://setuptools.pypa.io/en/latest/pkg_resources.html
2024-06-14 17:27:22 -05:00
Lance Edgar 5802391382 build: show brief license, not full text 2024-06-10 16:06:01 -05:00
Lance Edgar 3e2901b0cd test: ignore import error in version module
our workaround for that seems to be okay, so should be easier to
ignore this instead of trying to rig up a special test
2024-06-10 15:04:53 -05:00
Lance Edgar 9dff672633 bump: version 0.2.1 → 0.3.0 2024-06-10 13:55:20 -05:00
Lance Edgar dbc3c8f9ca feat: use hatchling for package build backend 2024-06-10 13:55:06 -05:00
Lance Edgar 5204e81c00 build: parse version from pyproject.toml when building release 2024-06-10 13:42:59 -05:00
Lance Edgar b642f8d479 bump: version 0.2.0 → 0.2.1 2024-06-10 13:37:47 -05:00
Lance Edgar 2bfd65de3d fix: use importlib-metadata backport for older systems 2024-06-10 13:36:32 -05:00
Lance Edgar 9f5b36b49e bump: version 0.1.12 → 0.2.0 2024-06-10 13:32:29 -05:00
Lance Edgar 8a1ec6210c feat: replace setup.cfg with pyproject.toml
also move canonical version to pyproject.toml

still using setuptools as build backend for now
2024-06-10 13:32:03 -05:00
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