pip21.3 has changed the behaviour of build - https://pip.pypa.io/en/stable/news/#v21-3 to use in-tree-build by default. this creates amalgamated files.
this will install as editable dependency during qa checks
for some reason mypy exclude for __amalgam__.py is not working
* feat: add new environment variable to customize tracing
* fix: failing integration tests
trace variable set from runner
* refactor: rename the variable to XONSH_TRACE_SUBPROC_FUNC
* Update xonsh/procs/specs.py
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
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
* tests: Run tests with the amalgamated xonsh
* tests: Test xonsh loads correctly interactively
* tests: Ensure tests run from amalgamated xonsh
* environ: Separate $XONSH_DEBUG and $XONSH_NO_AMALGAMATE
* tests: Keep XONSH_NO_AMALGAMATE in a comment for ease of debugging
* tests: Fix monkeypatch for amalgamated code
* refactor: remove usage of global variables in abbrevs.py
* chore: add flake8-mutable to prevent mutable defaults
* fix: abbrevs expand test
* refactor: add xonsh session singleton
* refactor: fix circular errors when using xonshSession as singleton
* refactor: remove black magicked builtin attributes
* style: black format tests as well
* refactor: update tests to use xonsh-session singleton
* refactor: update abbrevs to not use builtins
* test: remove DummyCommandsCache and patch orig class
* fix: failing test_command_completers
* test: use monkeypatch to update xession fixture
* fix: failing test_pipelines
* fix: failing test_main
* chore: run test suit as single invocation
* test: fix tests/test_xonsh.xsh
* refactor: remove builtins from docs/conf.py
* fix: mypy error in jobs
* fix: test error from test_main
* test: close xession error in test_command_completers
* chore: use pytest-cov for reporting coverage
this will include subprocess calls, and will increase coverage
* style:
* fix: update failing commands-cache tests
in some cases, the thread updates the binaries faster than the next call
* chore: upgrade black to 21.5b0
* chore: upgrade mypy to 0.812 version
* fix: handle corrupt commands-cache file
* fix: parser-table output dir. this should be same as the defaults
* fix: flake8 error
* chore: bring back codcoverage report
* chore: the run-tests.xsh script can't print to stdout
* test: combine coverage on multiple runs
* test: sort coverage report by coverage percent
* chore (ci): split test step
* docs: add news item for code-coverage
* chore: try coverage parallel
but this will not work with --append mode.
* chore (ci): improve elm job speed by caching
* chore (ci): update ci generator script to be run from any dir
* chore: update pre-commit to use local black binary
* chore: mypy config skip amalgam generated modules
* chore: run-tests.xsh parameterisation
use argparser to make this file a cli
* feat: use requirements.txt during CI
* feat: run black/flake8/mypy during ci from pip-env
* chore: mypy version 0.790 fix
since the loose pinning on mypy version causes new PRs to fail
* refactor: update github actions template
remove poetry/environment.yml files