-
Notifications
You must be signed in to change notification settings - Fork 56
Andrew/refactor tab api #394
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
Merged
Merged
Changes from 186 commits
Commits
Show all changes
190 commits
Select commit
Hold shift + click to select a range
7c098d0
Create async iter wrapper to simplify loops
ayjayt 3c94ef0
Simplify loop w/ new wrapper.
ayjayt 056206a
Refactor kaleido.py:
ayjayt 8725a80
Change order of functions.
ayjayt 41133f2
Make tabs_ready public
ayjayt d4a5bd4
Add some types to kaleido.py
ayjayt 0cbd7c0
Merge branch 'master' into andrew/test_coverage
ayjayt 196aca7
Merge branch 'master' into andrew/sometypes
ayjayt 58d8840
Merge branch 'master' into andrew/refactor-tab-api
ayjayt 4b1ea3c
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt 583b8c8
Upgrade choreographer for typing.
ayjayt d36dbab
Add types to __init__
ayjayt 9838ac4
Fix some bad typing in __init__.py
ayjayt 7d4d297
Improve page logic.
ayjayt 5719383
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt cbd925b
Add claude run on init and public api
ayjayt d99bb88
Move pytest async detection to auto
ayjayt 6d3cf13
Iterate with Claude on test_public_api
ayjayt e4ba49c
Make corrections to public api tests.
ayjayt 1898bd9
Fix up test_init
ayjayt 4147850
Add comments.
ayjayt 7a808b4
Reorganize a bit.
ayjayt abcc184
Make error_log/profiler 100% optional in __init__
ayjayt 24d0dab
Iterate with claude on public_api test.
ayjayt f5cc483
Parameterize public api tests for fig/to_dict()
ayjayt 9489b71
Change to using args fixtures.
ayjayt 824230c
Remove regex for html parsing.
ayjayt d152afa
Fix non-existent function
ayjayt ec62908
Fix whitespace errors.
ayjayt 930f338
Add types for page_generaetor.
ayjayt 3ddb876
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt f9175fb
Add hypothesis tests generated by Claude.
ayjayt 2b20a3e
Fix file path ensuring error.
ayjayt a71a202
Add hypothesis.
ayjayt 63332ca
Allow _ensure_path to deal with str/encoding combos
ayjayt d495e34
Tweak manually hypothesis tests in PageGenerator
ayjayt e92fca8
Rename test file
ayjayt 6711e61
Fix bad mathjax conditional
ayjayt 76ad595
Add more types to Kaleido
ayjayt cfdacc1
Add check for None value.
ayjayt 9fd331c
Fix kaleido typing errors.
ayjayt e3d5a87
Iterate on kaleido.py tests claude
ayjayt c8afc88
Mark test skipped for after refactor.
ayjayt 30eecca
Add further kaleido tests.
ayjayt 8ca2ae7
Split context/noncontext tests into two
ayjayt 84629f3
Close browser before cancelling kaleido tasks.
ayjayt 74c8765
Reorganize so __init__ creates no tmp dir
ayjayt d2dd530
Fix test_kaleido tests.
ayjayt cc97c41
Remove forcefail
ayjayt fd1bb62
Type fig_tools.
ayjayt 0adba8f
Shore up current file detecting for testing.
ayjayt a115723
Use tmp_path not __file__ for valid file.
ayjayt 6f281f8
Supress unhelpful hypo health checks.
ayjayt be01fdb
Add faster assert to prove file existence
ayjayt 0bca6f7
Add additional url parsing tool.
ayjayt a76fbad
Make special fixture for non existent file URI:
ayjayt 719a7fd
Fix bad path definition
ayjayt 02a1f80
Change function to str, so don't call
ayjayt cfb4eff
Be more explicit in path parsing.
ayjayt f9e7f64
Add missing function.
ayjayt 69294ed
Add logging.
ayjayt 5407965
Add yet more logging.
ayjayt 33ead6d
Fix bad logic.
ayjayt 449282b
Tone down unreasonable 20 processor test.
ayjayt 62fcefe
Remove hypo deadlines for slow CI runners.
ayjayt 501fb80
Organize a bit conftest.py
ayjayt 8a15a12
Merge branch 'andrew/test_coverage' into andrew/test-utils
ayjayt 01952f4
Organize fig_tools a bit.
ayjayt d69d1b2
Fix order
ayjayt f65f0ec
Readd figtools tests.
ayjayt 336f479
Iterate on claude tests.
ayjayt c1a2f99
All tests pass
ayjayt b8f7185
Clear up mathjax logic.
ayjayt 970f8b8
Test Path() as well as str() in filenotfound tests.
ayjayt 7c70737
Fix to properly validate Path() types
ayjayt 95e9b4b
Merge branch 'andrew/test_coverage' into andrew/test-utils
ayjayt 9e9b9b3
Add tests for test_sync_server.
ayjayt 88533f1
Fix CHANGELOG.txt
ayjayt 6f21e74
Merge branch 'andrew/test-utils' into andrew/refactor-tab-api
ayjayt 7dceec2
Do basic type fixing.
ayjayt 71460e9
Add more types.
ayjayt 17a0546
Connect types between __init__ and kaledio.py
ayjayt 51262b0
Make readability changes to test_fig_tools.py
ayjayt 3f97098
Add extraneous lines to force checks on string patches.
ayjayt 42b8121
Add single comment.
ayjayt caa302e
Factor file searching out of page generator.
ayjayt 839cedd
Add test to make sure page generator is passed a file
ayjayt 8c66445
Change is_url to is_httpish
ayjayt 302c306
Add tests for is_httpish/get_path
ayjayt f6da4da
Use _utils to simplify kaleido.
ayjayt 6c4f8a6
Expand utils tests.
ayjayt 9c8cc6b
Fix logic in file checker.
ayjayt 409645a
Improve a bit the documentation.
ayjayt f6498c1
Improve docs and add notes:
ayjayt e490af7
Type and improve comments.
ayjayt bd49759
Add clarifying comments to _fig_tools.py
ayjayt 0457d45
More clearly define the URL tuple type.
ayjayt f59af18
Clarify compatability version error.
ayjayt cf0e395
Remove noqa for TOOD
ayjayt 316fe3b
Rename functions for clarity.
ayjayt 84afca4
Refactor calc_fig in _kaleido_tab.
ayjayt cd6b471
Fix typing errors.
ayjayt beeb165
Organize _kaleido_tab exports.
ayjayt fed0f9f
Simplify type coercian in iterable
ayjayt a48fa81
Add comments.
ayjayt e949a9e
Change type name.
ayjayt 4b47fb8
Refactor and split figtools
ayjayt 4600c0a
Add type check to verification
ayjayt 7926f04
Remove write/path from _KaleidoTab:
ayjayt 60f6aed
Turn all renders into _from_object wrappers.
ayjayt f260f87
Fix conditional logic in helper library
ayjayt 87a1402
Fix return.
ayjayt 78f894f
Fix errors based on typing.
ayjayt a6203c1
Remove erroneous tuple return
ayjayt 277c5dc
Fix tmp dir cleanup syntax
ayjayt ef0f5b7
Fix casting.
ayjayt b48eed4
Fix up is_figurish typechecks.
ayjayt 46e55e9
Fix typing in kaleido.
ayjayt 94ac0cd
Further remove path from calc_fig
ayjayt e47110f
Fix path coercian in utilities.
ayjayt 7176caf
Factor tests to reflect package factor
ayjayt 656bce0
Allow from_object to take single FigureDict
ayjayt 0ec1905
Change skip to fail
ayjayt a9da2ff
Fix missing () in fn call
ayjayt e0fd8fe
Merge branch 'andrew/fix-encoder' into andrew/refactor-tab-api-mergetest
ayjayt d07190d
Make unreasonable timeout test more reasonable.
ayjayt c4b573f
Type from_object to accept regular dicts.
ayjayt 6a48569
Fix tests to properly test bare dictionary.
ayjayt 3f6689d
Make variable name more clear for generators.
ayjayt 02b51ef
Reorganize task to encapsulate all errors.
ayjayt fb34945
Test return values.
ayjayt 58d2461
Influence async task order to remove race condition.
ayjayt 20cfc58
Fix reference-before-assign
ayjayt 60dba99
Add comments.
ayjayt 1bb6b87
Move simple fig to session scope.
ayjayt 2fae310
Fix up test write_fig->from_object passthrough
ayjayt d31ee8a
Fix mismatched scope async tests.
ayjayt 0820b0b
Add tests for calc_fig passthrough.
ayjayt 588442e
Add comment to __init__.
ayjayt 06e8dba
Add README to tests.
ayjayt 6379dce
Pass new returns through wrapper api
ayjayt 02ac1ce
Check returns in public api tests.
ayjayt 75775fe
Tweak timeouts in tests.
ayjayt 31c210f
Simplify error handlinging in tab
ayjayt fb100a6
Make stepper a write_fig argument, not kaleido()
ayjayt 33fb046
Readd profiler.
ayjayt 250b15e
Update gitignore.
ayjayt dfc9930
Organize utilities- 50%
ayjayt 8e1d783
Finish refactor.
ayjayt 015d721
Factor mocker into several files.
ayjayt 1f406e6
Fix syntax bugs in testing.
ayjayt 6ce5d04
Expose profiler var.
ayjayt 5d39028
Add profile tick for acquring tab.
ayjayt f6d7d52
Fix mathjax type hints.
ayjayt 5df963e
Add explicit check for bad setup options.
ayjayt d806fe5
Remove unnecessary TODOs
ayjayt 04ae94c
Lint.
ayjayt 58edd0d
Type tests.
ayjayt 678522f
Add debugging to GHA.
ayjayt 2ab6476
Stop testing invalid windows characters.
ayjayt c167005
See if function scoped fig generator solves win problem.
ayjayt 14ae763
Increase timeout for mac :-(
ayjayt 2565ca1
Add comment.
ayjayt 94df9ac
Remove pickling until pickle PR.
ayjayt 0a61a46
Fix up again changelog.
ayjayt 45b96d9
Make more coherent README.md note.
ayjayt 695c181
Revert "Remove pickling until pickle PR.":
ayjayt 3783c8a
Merge branch 'andrew/fix-encoder' into andrew/refactor-tab-api
ayjayt 7e7e983
Update pre-commit.
ayjayt c656571
Fix CHANGELOG.txt
ayjayt a0d5b0f
Add warning for deprecated path argument
ayjayt 70388a2
Add more python versions to test in workflow
ayjayt bd5e0fe
Fix bad access and typing errors:
ayjayt 16f17f5
Fix up mocker
ayjayt f776ad1
Update deps
ayjayt 6958eef
Update calc_fig test
ayjayt d77515b
Update choreographer
ayjayt d68b95d
Cap file names
ayjayt 546394e
Add comments
ayjayt 2744cc5
Change timeout testing strategy
ayjayt a0b8216
Change timeout test pattern
ayjayt 9060aaa
Update github actions
ayjayt 1f426f9
Improve CHANGELOG.txt
ayjayt b02a399
Change version in changelog to rc
ayjayt 58fe891
Bump again version of choreographer
ayjayt 3d5b64d
Update lockfile
ayjayt 993cf50
Update src/py/pyproject.toml
ayjayt bada36a
Update lockfile
ayjayt a1e23aa
Remove 14t test
ayjayt 716d4a1
Configure poe not to change environment
ayjayt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,7 @@ jobs: | |
| run: > | ||
| uv sync | ||
| --no-sources | ||
| --locked | ||
| --all-extras | ||
|
|
||
| - name: Install google-chrome-for-testing | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,3 +25,4 @@ src/py/integration_tests/report* | |
| node_modules/ | ||
|
|
||
| src/py/site/* | ||
| .hypothesis/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayjayt Let's drop
3.14tfrom the CI until it runs successfully. (Or mark as expected to fail, if GHA provides a way to do that.) Keep the CI green.