Đỗ Trung Nguyên
e7426ce709
Add configuring cursor shape for prompt toolkit ( #5785 )
...
* env: add `PROMPT_TOOLKIT_CURSOR_SHAPE` for configuring `prompt_toolkit` cursor shape
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* accepting prompt_toolkit.cursor_shapes.CursorShape as value
* rename PROMPT_TOOLKIT_CURSOR_SHAPE => XONSH_PROMPT_CURSOR_SHAPE
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-27 14:56:19 +06:00
Andy Kipp
62edf9e381
Update job.py: added current_job to comment for discoverability
2025-01-24 14:16:28 +06:00
Gil Forsyth
ad4ec32307
Updated CHANGELOG for 0.19.1
2025-01-13 11:54:31 -05:00
Gil Forsyth
f4c5f5b62f
bumped version to 0.19.1
2025-01-13 11:54:31 -05:00
Gil Forsyth
0acc833dd9
Updated authorship for 0.19.1
2025-01-13 11:54:31 -05:00
Andy Kipp
5be43ba7a8
Fixed hanging the command right after calling full capture subprocess ( #5769 )
...
* fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* test
* test
* test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* test
---------
Co-authored-by: Andy Kipp <no@no.no>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andy Kipp <123@321.123>
2025-01-13 12:27:29 +06:00
pre-commit-ci[bot]
5f62cd8b4e
[pre-commit.ci] pre-commit autoupdate ( #5754 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.8.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-18 19:22:20 +05:30
Evgeny
ae283deeb9
ci: use current 3.13 version of python ( #5751 )
...
pre-commit: use current version of python
2024-12-12 13:30:26 +05:30
Andy Kipp
8898f605e9
xonsh/lib: Create README.md
2024-12-11 16:19:25 +06:00
Evgeny
4c0b223e7b
Allow non-integer exit codes ( #5721 )
...
* Allow non-integer exit codes justl like in Python proper
* doc: add news item
* Update fr-exit-str.rst
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-12-10 12:26:12 +06:00
pre-commit-ci[bot]
c85b8923a0
[pre-commit.ci] pre-commit autoupdate ( #5746 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-10 01:02:12 +05:30
Gil Forsyth
c059ac23d2
Updated CHANGELOG for 0.19.0
2024-12-09 09:41:03 -05:00
Gil Forsyth
689e8cb314
bumped version to 0.19.0
2024-12-09 09:41:03 -05:00
Gil Forsyth
f55164aad7
Updated authorship for 0.19.0
2024-12-09 09:41:03 -05:00
Evgeny
9d49292453
test: split a test to include Windows ( #5665 )
...
* test: split a test to include Windows
(moving non-Win commands like ls to a separate test)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-08 20:22:08 +05:30
pre-commit-ci[bot]
5be2fa0a1e
[pre-commit.ci] pre-commit autoupdate ( #5712 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.8.1 )
- [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.13.0 )
* chore: ignore UP031
* chore: ignore mypy error
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Noortheen Raja <jnoortheen@gmail.com>
2024-12-08 14:07:36 +00:00
Gil Forsyth
055321dba7
chore: add 3.13 to release jobs and remove stale dependency ( #5735 )
...
chore: add 3.13 to release jobs and remove stale dep
`doctr` isn't used anymore, so we don't need to include it.
2024-12-08 18:13:50 +05:30
Simon Billinge
1d1e7a8827
try just using CaseSenssitiveDict from requests to see if it works ( #5744 )
...
* try just using CaseSenssitiveDict from requests to see if it works
* put the dependency back in pyproject.toml and ignore typing on import
* news
* code now passing tests locally. I still need to write tests for the new Class
* tests for CaseInsensitiveDict
2024-12-08 13:58:31 +05:30
Gil Forsyth
9ae14866de
test: add Python 3.13 to test matrix ( #5733 )
2024-12-08 13:30:20 +05:30
Bala
0791372f30
Fix DeprecationWarning while initializing Expression
( #5739 )
...
* Fix DeprecationWarning while initializing `Expression`
* Add news item
* Rename the news file to the branch name
* Fixing more ast related warnings
2024-12-02 17:31:09 +05:30
Jueun Lee
599f1c0f36
env: add XONSH_SUPPRESS_WELCOME
to suppress welcome msg ( #5719 )
...
add `XONSH_SUPPRESS_WELCOME` variable to suppress welcome msg
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2024-11-18 18:04:24 -05:00
DoronZ
6fefc3c68d
parsers: fix deprecation warnings triggered on python3.13
...
Close #5710
2024-11-17 08:44:39 -05:00
JamesParrott
58ca7e77b7
Add *args and **kwargs to _parse_known_args, and pass them through to the call to super(). _parse_known_args
2024-11-17 08:38:10 -05:00
Gil Forsyth
f2e4c93785
test(ubuntu,osx): skip pipeline and specs tests on Python 3.12
...
Some combination of these tests is hanging CI, but so far isn't
reproducible locally. Need to narrow it down, but this is to unblock
other work.
test(ubuntu): skip all pipeline tests on Ubuntu on Python 3.12
test(specs): skip specs tests instead
test(pipelines): actually skip the pipeline tests
test: skip jobs
test: skip specs
test: only skip specs
test: skip specs and pipelines
2024-11-16 12:59:35 -05:00
Gil Forsyth
0bbaf74309
test(parser): xfail failed brackets test on windows
2024-11-16 12:59:35 -05:00
Gil Forsyth
8a65d4f449
fix(ArgparseCompleter): adjust parsing for upstream private changes
...
The upstream private API for `_parse_optional` changed, needed to update this.
2024-11-16 12:59:35 -05:00
Gil Forsyth
cd05822f9a
Updated CHANGELOG for 0.18.4
2024-11-02 17:46:42 -04:00
Gil Forsyth
7104189f66
bumped version to 0.18.4
2024-11-02 17:46:42 -04:00
Gil Forsyth
7eb7b57853
Updated authorship for 0.18.4
2024-11-02 17:46:42 -04:00
Shawn Wallace
c84420e7b3
Add examples of environment variable interpolation ( #5714 )
...
* Add examples of environment variable interpolation
* Update tutorial.rst
* Update tutorial.rst
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-10-31 10:33:45 +01:00
Max Nordlund
2d07ae8698
Update tutorial_macros.rst ( #5715 )
...
This removes the false statement that Haskell and other functional programming languages does need nor not have macros.
Lisp is a functional programming language with macros at the core of the language. For Haskell specifically its called [Template Haskell](https://wiki.haskell.org/Template_Haskell ).
There's also Erlang which has a token based macro system, something between the C preprocessor and Lisp. Elixir, a newer language in the same ecosystem as Erlang, has full procedural macros. This is similar to the macros in Xonsh; regular functions that take AST nodes as input and return a, potentially different, AST node.
2024-10-30 14:11:04 +01:00
pre-commit-ci[bot]
442e0a4968
[pre-commit.ci] pre-commit autoupdate ( #5694 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.7 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.7...v0.6.9 )
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-07 22:40:38 +02:00
Peter Ye
79b3561c21
Catch SystemExit in ProcProxy ( #5698 )
...
* catch SystemExit in ProcProxy
* add test
* add news
* update test
* Update fix-procproxy-sys-exit.rst
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-10-03 22:04:09 +05:30
Peter Ye
4fc7d59c95
Fix quoting issue in virtualenv activator ( #5700 )
...
* add test case for directory with spaces
* Stop XonshActivator from quoting strings
* add news
* Update fix-virtualenv-quoting.rst
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-10-03 14:49:05 +02:00
Andy Kipp
31170c2daf
Update README.rst
2024-09-24 13:38:32 +02:00
pre-commit-ci[bot]
b81bb275ac
[pre-commit.ci] pre-commit autoupdate ( #5691 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.7 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-23 20:51:43 +02:00
Andy Kipp
61537db9bd
Create xonsh/api/README.md
2024-09-21 20:23:49 +02:00
Faidon Liambotis
0b9c98c372
Fix typo Crtl+C -> Ctrl+C ( #5685 )
...
Fix a few occurences across the tree. Also fix it retroactively in the
CHANGELOG for folks that are going through older changes.
2024-09-17 12:47:59 +02:00
pre-commit-ci[bot]
f3774a5bd6
[pre-commit.ci] pre-commit autoupdate ( #5684 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.4 → v0.6.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.4...v0.6.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-16 22:54:26 +02:00
Andy Kipp
4bab07dbc8
Update index.html: text fixes
2024-09-16 14:27:48 +02:00
Andy Kipp
b437f19fc3
Update tutorial.rst: fix decorator alias mention
2024-09-16 11:16:23 +02:00
pre-commit-ci[bot]
fabdfc0fdc
[pre-commit.ci] pre-commit autoupdate ( #5682 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.6.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.6.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-09 20:20:35 +02:00
pre-commit-ci[bot]
0c727f363f
[pre-commit.ci] pre-commit autoupdate ( #5680 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.2...v0.6.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-06 13:38:10 +02:00
pre-commit-ci[bot]
304917a4fb
[pre-commit.ci] pre-commit autoupdate ( #5676 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.6.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.1...v0.6.2 )
- [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.1...v1.11.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-26 23:10:04 +02:00
Gil Forsyth
27ab7f1331
Updated CHANGELOG for 0.18.3
2024-08-20 09:11:18 -04:00
Gil Forsyth
b5f3de218b
bumped version to 0.18.3
2024-08-20 09:11:18 -04:00
Gil Forsyth
5208111e58
Updated authorship for 0.18.3
2024-08-20 09:11:18 -04:00
pre-commit-ci[bot]
41751cd82a
[pre-commit.ci] pre-commit autoupdate ( #5670 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-20 12:10:44 +05:30
Noorhteen Raja NJ
a145065580
Update test.yml ( #5666 )
...
* Update test.yml
with ref to https://github.com/xonsh/xonsh/pull/4232/
removing codecov from actions
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-14 18:28:56 +05:30
pre-commit-ci[bot]
9e5fc88747
[pre-commit.ci] pre-commit autoupdate ( #5662 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.5.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-12 20:38:09 +02:00