-
Notifications
You must be signed in to change notification settings - Fork 2
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
Combine event loop cleanup with other style/modernization cleanup #4
base: main
Are you sure you want to change the base?
Commits on Aug 15, 2024
-
Remove global
util.main_event_loop
as discussed on ib-api-reloaded/ib_async#62
Configuration menu - View commit details
-
Copy full SHA for aa31ec4 - Browse repository at this point
Copy the full SHA aa31ec4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56795b3 - Browse repository at this point
Copy the full SHA 56795b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c941f1 - Browse repository at this point
Copy the full SHA 9c941f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0496e6d - Browse repository at this point
Copy the full SHA 0496e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7b51e6 - Browse repository at this point
Copy the full SHA b7b51e6View commit details
Commits on Aug 18, 2024
-
Move to Python 3.10+ and add dev to optional group
Python 3.10 as a minimum seems safe (4 years old right now). Also added more dev deps including pytest with a concurrency runner. Tests can now be run concurrently with: poetry run pytest -n auto
Configuration menu - View commit details
-
Copy full SHA for b49b2c8 - Browse repository at this point
Copy the full SHA b49b2c8View commit details -
Cleanup github CI configuration
Improves: - uses only more modern python versions for tests - uses poetry for installs and running instead of pip directly
Configuration menu - View commit details
-
Copy full SHA for 9dd6f13 - Browse repository at this point
Copy the full SHA 9dd6f13View commit details -
Cleanup coding style for readability
More new lines between different logical sections for easier reading. Cleaned up some other loop creation to be inline when possible. Replaced `asyncio.ensure_future()` in ops/transform.py with `create_task()` for more modern APIs and all the tests still pass.
Configuration menu - View commit details
-
Copy full SHA for 2ae8bc8 - Browse repository at this point
Copy the full SHA 2ae8bc8View commit details -
Primarily due to version changes over time, this all used to work in older versions, but Python 3.12 started issuing new warnings and errors unless manual steps are used for event loop handling instead of automatic steps. Fixes #2
Configuration menu - View commit details
-
Copy full SHA for 7af5787 - Browse repository at this point
Copy the full SHA 7af5787View commit details -
Interestingly, ruff and µsort have different opinions on how headers should be sorted. Guess one has to win out over time (µsort prefers to have blank lines between regular "import" lines and "from X import Y" lines).
Configuration menu - View commit details
-
Copy full SHA for 775c3ec - Browse repository at this point
Copy the full SHA 775c3ecView commit details -
Fix CI error with docs building
Fixes: - Incorporates doc deps into poetry (poetry install --with dev,docs) - Removes manual version.py parsing to get version number - Fixes "no language" error in docs spec - Fixes doc syntax problem in docstring Docs can now be built using: poetry run sphinx-build -b html docs html
Configuration menu - View commit details
-
Copy full SHA for a29c3b7 - Browse repository at this point
Copy the full SHA a29c3b7View commit details -
Fix naming conflict in docs config
version this, version that, it worked, but we were overwriting things incorrectly even though it didn't impact the final otuput.
Configuration menu - View commit details
-
Copy full SHA for b80e08c - Browse repository at this point
Copy the full SHA b80e08cView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0dd4ad4 - Browse repository at this point
Copy the full SHA 0dd4ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8c314d - Browse repository at this point
Copy the full SHA e8c314dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6faadc - Browse repository at this point
Copy the full SHA e6faadcView commit details
Commits on Aug 24, 2024
-
Modernize Slots management into dataclasses
Originally slots were using just nested ararys indexed by position, but we can do better now. This project was originally written in Python 3.6 before many more modern things like dataclasses exist, so now we can use dataclass(slots=True) for automatic slots generation as well as easily use dataclasses for inner-encapsulated data management.
Configuration menu - View commit details
-
Copy full SHA for eaf4c3f - Browse repository at this point
Copy the full SHA eaf4c3fView commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 210f48d - Browse repository at this point
Copy the full SHA 210f48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05ee827 - Browse repository at this point
Copy the full SHA 05ee827View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccf5325 - Browse repository at this point
Copy the full SHA ccf5325View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68ea189 - Browse repository at this point
Copy the full SHA 68ea189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ecec8d - Browse repository at this point
Copy the full SHA 9ecec8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8681633 - Browse repository at this point
Copy the full SHA 8681633View commit details
Commits on Aug 29, 2024
-
- functools.cache is out - pytest-async plugin in - I had to rewrite all tests so they don't use unittest, so now all test are on pytest - All test pass, except when they are run with pytest-xdist, poetry run pytest -vs -n auto gives a warning. It's a warning, not an error > task: <Task pending name='Task-18' coro=<Aiterate._looper() done, defined at ~/Documents/dev/eventkit/eventkit/ops/create.py:42> wait_for=> - updated Event.repeat, as the parameters where in the wrong position. it should be Ok now. - update Aiterate and Wait to use tasks. removed __del__ method from Aiterate as it causes warnings. we can put it back and live with warnings on tests, which is not bad. - right now everything is task based, except timing module which uses loop.call_soon and loop.call_at
Configuration menu - View commit details
-
Copy full SHA for d63441e - Browse repository at this point
Copy the full SHA d63441eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e3a4f - Browse repository at this point
Copy the full SHA 18e3a4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fde4203 - Browse repository at this point
Copy the full SHA fde4203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0851e26 - Browse repository at this point
Copy the full SHA 0851e26View commit details
Commits on Sep 1, 2024
-
fix error on exception handling during emit/slots.__call__
new test for exception handling during emit/slots.__call__ enable pytest log on console
Configuration menu - View commit details
-
Copy full SHA for 2bca019 - Browse repository at this point
Copy the full SHA 2bca019View commit details
Commits on Sep 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5628f9f - Browse repository at this point
Copy the full SHA 5628f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09cf836 - Browse repository at this point
Copy the full SHA 09cf836View commit details