`lazybool`s that rely on other `lazybool`s need to explicitly call
`bool()` on those values or else a non-bool value gets returned when the
parent's `__bool__` method is called.
* code simplifications
* add blank news item
There seems to be a CI check that requires this for each PR, But this
seems like it shouldn't be included in the next release notes, so I'm
leaving it blank.
* pip: Ensure the release version of xonsh is amalgamated
It will be amalgamated regardless of whether amalgamate.py is installed
* manifest: Remove non-existent PLY files
* pip: Add completion parser table
* amalgam: Update init files
* Add ends_with_colon_token tool
* Add execer test for comment ending with a colon
* Use ends_with_colon_token() to catch non-indented blocks in execer
* Use ends_with_colon_token() for automatic indentation in prompt_toolkit and readline
* Add news
* Address ON_WSL() bug #4310
Solution for #4310
`return "microsoft" in platform.release().lower() # might be a better solution?`
`return "wsl" in platform.release().lower() # might be a better solution?`
* Addressed #4310 - Added output for ON_WSL
For some reason this wasn't included in the output when running `xonfig`
Perhaps this was on purpose, but wsl is pretty popular and cygwin is detected so I figure I'd address that
* only display "on wsl" field if we detect linux
* Corrected import
* added news entry
* minor clarification in news entry
* Update news/fix_wsl_detection.rst
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
* Update news/fix_wsl_detection.rst
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
* This should pass CI tests
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
* chore: adding py310 to ci
though this will require code/parser changes, this is to prepare for
upcoming adoption
* fix: set python version as string
* fix: reference to master -> main
* fix: coverage is not reported in master
- disable amalgamation
1. during coverage report tests
2. qa tools like mypy may follow imports
- use python 3.9 for coverage and qa report. since it will have more
coverage and better typing support
* chore: use py3.10 with setup-py action
* chore: add news-item check job
* fix: py3.10 error while starting
the match statement is not supported.
while the syntax support is only upto py3.8
* fix: news-item checker
* chore: enable fail report for py310 tests
* test: add test for ptk_shell