xonsh
Repos
41

:shell: Python-powered, cross-platform, Unix-gazing shell

6917
578

Awesome list of Xonsh contributions/extensions

27
5

Full-featured template for building extension (xontrib) for the xonsh shell.

23
11

Events

started
Created at 13 hours ago
started
Created at 14 hours ago
started
Created at 1 day ago
issue comment
Always load rc files except --no-rc is passed

Codecov Report

Merging #5099 (362b523) into main (5723317) will decrease coverage by 2.47%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5099      +/-   ##
==========================================
- Coverage   67.22%   64.75%   -2.47%     
==========================================
  Files         119      119              
  Lines       23064    23064              
  Branches     4373     4373              
==========================================
- Hits        15505    14936     -569     
- Misses       6352     6898     +546     
- Partials     1207     1230      +23     

| Flag | Coverage Δ | | |---|---|---| | macOS-latest | ? | | | ubuntu-latest | 64.75% <100.00%> (ø) | | | windows-latest | ? | |

Flags with carried forward coverage won't be shown. Click here to find out more.

| Impacted Files | Coverage Δ | | |---|---|---| | xonsh/main.py | 83.67% <100.00%> (ø) | |

... and 39 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Created at 1 day ago
Created at 1 day ago
opened issue
DeprecationWarning: There is no current event loop

Every time that I enter a command, the following DeprecationWarning is printed:

/home/user/.local/lib/python3.10/site-packages/prompt_toolkit/application/application.py:955: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()

xonfig

+------------------+-----------------+
| xonsh            | 0.13.4          |
| Python           | 3.10.7          |
| PLY              | 3.11            |
| have readline    | True            |
| prompt toolkit   | 3.0.38          |
| shell type       | prompt_toolkit  |
| history backend  | json            |
| pygments         | 2.14.0          |
| on posix         | True            |
| on linux         | True            |
| distro           | ubuntu          |
| on wsl           | False           |
| on darwin        | False           |
| on windows       | False           |
| on cygwin        | False           |
| on msys2         | False           |
| is superuser     | False           |
| default encoding | utf-8           |
| xonsh encoding   | utf-8           |
| encoding errors  | surrogateescape |
| xontrib          | []              |
| RC file          | []              |
+------------------+-----------------+

Here's a bit more information that xonfig didn't provide, just in case it's helpful. I'm using Ubuntu 22.10, on GNOME Shell, and I installed xonsh through pip.

Expected Behavior

There shouldn't be a DeprecationWarning, or at the very least the warning level should be set such that it doesn't display it to the end user.

Current Behavior

For me, it happens whenever I provide any input (including just pressing enter with an empty line). This suggests that the error is part of the input loop.

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

Created at 1 day ago
Created at 1 day ago

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Created at 1 day ago
pull request opened
[pre-commit.ci] pre-commit autoupdate
Created at 1 day ago

Pass a shell class instead of a string.

The jupyter kernel was failing to start as xonsh.shell.Shell no longer accepted "jupyter" as a known shell name, and instead required a shell class to be passed.

Fixes #6

Send an idle status message on iopub channel after a kernel_info response

Merge pull request #7 from xonsh/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Update README.md

Update README.md

Update jupyter.py

Merge pull request #10 from joouha/fix-jupyter-shell

Pass a shell class instead of a string to xonsh.main.setup.

Update README.md

Update pyproject.toml

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

chore: new release 0.1.0 with fixes

docs: update release notes

Update README.md

Created at 1 day ago
closed issue
Add topics to the repo

hi @AstraLuma ! Please add xonsh-dev topic to this repo to make it more visible in the list https://github.com/topics/xonsh-dev

Created at 1 day ago
started
Created at 1 day ago
started
Created at 1 day ago
started
Created at 1 day ago
started
Created at 1 day ago
jnoortheen create tag v0.2.1
Created at 1 day ago
delete branch
jnoortheen delete branch fix-tests
Created at 1 day ago

test(fix): failing tests in CI

docs: update description

test(fix): move pre-commit config to correct location

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

chore: pre-commit disable yaml checks

Merge pull request #32 from xonsh/fix-tests

test(fix): failing tests in CI

Created at 1 day ago
pull request closed
test(fix): failing tests in CI
Created at 1 day ago

chore: pre-commit disable yaml checks

Created at 1 day ago

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Created at 1 day ago

Update pyproject.toml

Merge pull request #33 from xonsh/anki-code-patch-1

Update pyproject.toml

test(fix): failing tests in CI

docs: update description

test(fix): move pre-commit config to correct location

Created at 1 day ago
started
Created at 1 day ago
started
Created at 2 days ago
started
Created at 2 days ago
started
Created at 2 days ago
started
Created at 3 days ago
started
Created at 3 days ago