Skip to content

Packaging environment using pyproject.toml; change configuration of pre-commit hooks; use __version__ for project build version. #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gmkll
Copy link
Contributor

@gmkll gmkll commented Dec 12, 2024

  • Provide simple build environment with setuptools using pyproject.toml
  • Add infos about packaging in README.md
  • Provide a project version reference __version__in handler, currently set to 1.0.0
  • Comment debugging statements and add warning for duplicate size in search request
  • Change in pre-commit-config check hook to pre-stages and update versions of pre-commit-hooks and pre_commit.

gmkll and others added 5 commits November 14, 2024 10:09
Refactor: In handler.py method traceback and use in exception;
Add print statements (as debug hints) in session,py and other modules;
Fix in handler.py by removing bucket (which is no key, value
pair) from setting into session headers as argument for start_response call);
Add __init__py in plugins folder to allow import from makeAccount.py and
remove local KibbleDatabase class there;
Make in database.py *Wrapper classes private;
Add into kibble.yaml configuration key elasticsearch versionHint
(by default 8) to allow for more robust and transparent initialization;
Refactor in setup.py into methods makeIndices and makeAccount();
Fix check for undefined snap in kibble.v1.js.
Improvement: Evaluate result in makeAccount.py;
Remove cgi import (not used) and deprecated since py 3.11;
Use __debug__ to print out more debugging information;
Set cookie httpOnly;
Update setup docs (tested with python 3.9.1 and 3.13.0).
…ts to replace interval with calendar_interval in body lists.

See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals
Fix NPE err.message in handler.py and use traceback_output (needs more filtering to not expose stacktraces pathes)
…; add infos about packaging in README.md; Provide a project version reference __version__ in handler, currently set to 1.0.0;

Comment debugging statements and add warning for duplicate size in search request.
Change in pre-commit-config check hook to pre-stages and update versions of pre-commit-hooks and pre_commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant