mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 17:30:59 +01:00
commit
610e8732bb
37 changed files with 125 additions and 431 deletions
|
@ -1,4 +1,4 @@
|
||||||
version: 0.5.12.{build}
|
version: 0.6.0.{build}
|
||||||
os: Windows Server 2012 R2
|
os: Windows Server 2012 R2
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -53,3 +53,6 @@ Actually.tst
|
||||||
Complete_test.tst
|
Complete_test.tst
|
||||||
Complete.tst
|
Complete.tst
|
||||||
tags
|
tags
|
||||||
|
|
||||||
|
# Rever
|
||||||
|
rever/
|
||||||
|
|
|
@ -4,6 +4,91 @@ Xonsh Change Log
|
||||||
|
|
||||||
.. current developments
|
.. current developments
|
||||||
|
|
||||||
|
v0.6.0
|
||||||
|
====================
|
||||||
|
|
||||||
|
**Added:**
|
||||||
|
|
||||||
|
* Added an alias command, matching bash's implementation, available as part of bashisms.
|
||||||
|
* New ``$AUTO_SUGGEST_IN_COMPLETIONS`` environment variable that enables/disables
|
||||||
|
whether the auto-suggestion result appears in the tab completions.
|
||||||
|
* Added ``__add__()`` and ``__radd__()`` methods to ``EnvPath``.
|
||||||
|
* Xonsh now supports f-strings, as in Python v3.6+.
|
||||||
|
* Added ``ipython`` as unthreadable in command cache threadabilty predictors.
|
||||||
|
* Added ``whole_word_jumping`` xontrib
|
||||||
|
* Added ``$XONSH_APPEND_NEWLINE`` environment variable
|
||||||
|
* Support for PEP 515: Underscores in Numeric Literals
|
||||||
|
* ``xonsh.color_tools.make_palette()``
|
||||||
|
|
||||||
|
Simple rename of the pre-existing
|
||||||
|
``xonsh.color_tools.make_pallete()`` function.
|
||||||
|
|
||||||
|
* ``xonsh.tools.decorator()`` function/method decorator.
|
||||||
|
|
||||||
|
This allows for an API function to be annotated with a
|
||||||
|
decorator that documents deprecation, while also tying in
|
||||||
|
functionality that will warn a user that the function has
|
||||||
|
been deprecated, and, raise an ``AssertionError`` if the
|
||||||
|
function has passed its expiry date.
|
||||||
|
* New xontrib ``schedule`` (Xonsh Task Scheduler)
|
||||||
|
|
||||||
|
|
||||||
|
**Changed:**
|
||||||
|
|
||||||
|
* ``on_pre_prompt`` is now fired before prompt calculations are made, allowing modifications to the prompt.
|
||||||
|
* ``emacsclient`` will now return false in the threadable predictors.
|
||||||
|
* Improved the autopair behavior to match that of popular code editors.
|
||||||
|
* Moved the lazy ``pkg_resources`` package back to its original
|
||||||
|
place. The will hopefully address some of the slowdown issues
|
||||||
|
experiances on some platforms.
|
||||||
|
* When xonsh is used to run an ``xsh`` script, the ``xonshrc`` is not loaded
|
||||||
|
* Change in the behavior of the default predictor with binary analysis. The pattern ``libgpm`` is use, assuming when ``gpm`` is used the program is not threadable. This change solves issues with programs as ``links``.
|
||||||
|
* Error messages added to the ``source`` command if it is used with a language
|
||||||
|
that is not xonsh or Python.
|
||||||
|
|
||||||
|
|
||||||
|
**Deprecated:**
|
||||||
|
|
||||||
|
* ``xonsh.color_tools.make_pallette()``
|
||||||
|
|
||||||
|
Deprecated in release 0.5.10 and will be removed in release 0.6.0.
|
||||||
|
|
||||||
|
|
||||||
|
**Fixed:**
|
||||||
|
|
||||||
|
* Now f-strings can be used inside @() without explicit enclosing command in ![]
|
||||||
|
* Fix for ``x, y, *z = ...`` unpacking.
|
||||||
|
* Git branch detection now correctly passes the environment down to the subprocess
|
||||||
|
call. This allows for branch detection when git is installed into a non-standard
|
||||||
|
location.
|
||||||
|
* Escape regex characters in ``path_complete`` to avoid regex parsing errors for
|
||||||
|
certain combinations of characters in path completer
|
||||||
|
* gistatus: Fixed hash not being shown when in detaced HEAD and there are no tags
|
||||||
|
* Fix branch colorization when ``git`` or ``hg`` are aliases.
|
||||||
|
* Fixed leftover ``.git/index.lock`` in ``gitstatus``
|
||||||
|
* Made JSON history loading more robust to corrupt files.
|
||||||
|
* Starting a new command with an open parentheses will no longer
|
||||||
|
throw a traceback when ``$UPDATE_COMPLETIONS_ON_KEYPRESS`` is
|
||||||
|
``True``.
|
||||||
|
* Automatically wrapping subprocess calls would sometimes include
|
||||||
|
semincolons and other line-ending tokens, rather than stopping at them.
|
||||||
|
This has been fixed.
|
||||||
|
* Numerous spelling errors in documentation, docstrings/comments, text
|
||||||
|
strings and local variable names.
|
||||||
|
|
||||||
|
* Spelling error in the ``xonsh.color_tools.make_pallete()`` public
|
||||||
|
function declaration. This was fixed by renaming the function to
|
||||||
|
``xonsh.color_tools.make_palette()`` while maintaining a binding
|
||||||
|
of ``make_pallete()`` to the new ``make_palette()`` in case users
|
||||||
|
are already used to this API.
|
||||||
|
* Fixed issue with starting triple quote strings being run as a command.
|
||||||
|
* Fixed a problem with escaping charet (^) character for cmd.exe in the source-cmd function.
|
||||||
|
* ``EOF in multi-line statement`` errors were misreported as being on line 0.
|
||||||
|
Now they are correctly reported as being on the last line of the file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
v0.5.12
|
v0.5.12
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Now f-strings can be used inside @() without explicit enclosing command in ![]
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Added an alias command, matching bash's implementation, available as part of bashisms.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,14 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* New ``$AUTO_SUGGEST_IN_COMPLETIONS`` environment variable that enables/disables
|
|
||||||
whether the auto-suggestion result appears in the tab completions.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Fix for ``x, y, *z = ...`` unpacking.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* ``on_pre_prompt`` is now fired before prompt calculations are made, allowing modifications to the prompt.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* ``emacsclient`` will now return false in the threadable predictors.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,15 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Git branch detection now correctly passes the environment down to the subprocess
|
|
||||||
call. This allows for branch detection when git is installed into a non-standard
|
|
||||||
location.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Added ``__add__()`` and ``__radd__()`` methods to ``EnvPath``.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,14 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Escape regex characters in ``path_complete`` to avoid regex parsing errors for
|
|
||||||
certain combinations of characters in path completer
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* gistatus: Fixed hash not being shown when in detaced HEAD and there are no tags
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Fix branch colorization when ``git`` or ``hg`` are aliases.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Xonsh now supports f-strings, as in Python v3.6+.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Fixed leftover ``.git/index.lock`` in ``gitstatus``
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Made JSON history loading more robust to corrupt files.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* Improved the autopair behavior to match that of popular code editors.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Added ``ipython`` as unthreadable in command cache threadabilty predictors.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Added ``whole_word_jumping`` xontrib
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Added ``$XONSH_APPEND_NEWLINE`` environment variable
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,15 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* Moved the lazy ``pkg_resources`` package back to its original
|
|
||||||
place. The will hopefully address some of the slowdown issues
|
|
||||||
experiances on some platforms.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* When xonsh is used to run an ``xsh`` script, the ``xonshrc`` is not loaded
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* Support for PEP 515: Underscores in Numeric Literals
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,15 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Starting a new command with an open parentheses will no longer
|
|
||||||
throw a traceback when ``$UPDATE_COMPLETIONS_ON_KEYPRESS`` is
|
|
||||||
``True``.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* Change in the behavior of the default predictor with binary analysis. The pattern ``libgpm`` is use, assuming when ``gpm`` is used the program is not threadable. This change solves issues with programs as ``links``.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,15 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Automatically wrapping subprocess calls would sometimes include
|
|
||||||
semincolons and other line-ending tokens, rather than stopping at them.
|
|
||||||
This has been fixed.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,37 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* ``xonsh.color_tools.make_palette()``
|
|
||||||
|
|
||||||
Simple rename of the pre-existing
|
|
||||||
``xonsh.color_tools.make_pallete()`` function.
|
|
||||||
|
|
||||||
* ``xonsh.tools.decorator()`` function/method decorator.
|
|
||||||
|
|
||||||
This allows for an API function to be annotated with a
|
|
||||||
decorator that documents deprecation, while also tying in
|
|
||||||
functionality that will warn a user that the function has
|
|
||||||
been deprecated, and, raise an ``AssertionError`` if the
|
|
||||||
function has passed its expiry date.
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:**
|
|
||||||
|
|
||||||
* ``xonsh.color_tools.make_pallette()``
|
|
||||||
|
|
||||||
Deprecated in release 0.5.10 and will be removed in release 0.6.0.
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Numerous spelling errors in documentation, docstrings/comments, text
|
|
||||||
strings and local variable names.
|
|
||||||
|
|
||||||
* Spelling error in the ``xonsh.color_tools.make_pallete()`` public
|
|
||||||
function declaration. This was fixed by renaming the function to
|
|
||||||
``xonsh.color_tools.make_palette()`` while maintaining a binding
|
|
||||||
of ``make_pallete()`` to the new ``make_palette()`` in case users
|
|
||||||
are already used to this API.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,14 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:**
|
|
||||||
|
|
||||||
* Error messages added to the ``source`` command if it is used with a language
|
|
||||||
that is not xonsh or Python.
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
13
news/tq.rst
13
news/tq.rst
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Fixed issue with starting triple quote strings being run as a command.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* Fixed a problem with escaping charet (^) character for cmd.exe in the source-cmd function.
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,13 +0,0 @@
|
||||||
**Added:**
|
|
||||||
|
|
||||||
* New xontrib ``schedule`` (Xonsh Task Scheduler)
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:** None
|
|
||||||
|
|
||||||
**Security:** None
|
|
|
@ -1,14 +0,0 @@
|
||||||
**Added:** None
|
|
||||||
|
|
||||||
**Changed:** None
|
|
||||||
|
|
||||||
**Deprecated:** None
|
|
||||||
|
|
||||||
**Removed:** None
|
|
||||||
|
|
||||||
**Fixed:**
|
|
||||||
|
|
||||||
* ``EOF in multi-line statement`` errors were misreported as being on line 0.
|
|
||||||
Now they are correctly reported as being on the last line of the file.
|
|
||||||
|
|
||||||
**Security:** None
|
|
31
rever.xsh
Normal file
31
rever.xsh
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
$PROJECT = $GITHUB_ORG = $GITHUB_REPO = 'xonsh'
|
||||||
|
$WEBSITE_URL = 'http://xon.sh'
|
||||||
|
$ACTIVITIES = ['version_bump', 'changelog', 'pytest',
|
||||||
|
'sphinx', 'tag', 'pypi', 'conda_forge', 'ghpages', 'ghrelease'
|
||||||
|
]
|
||||||
|
|
||||||
|
$VERSION_BUMP_PATTERNS = [
|
||||||
|
('.appveyor.yml', 'version:.*', 'version: $VERSION.{build}'),
|
||||||
|
('xonsh/__init__.py', '__version__\s*=.*', "__version__ = '$VERSION'"),
|
||||||
|
]
|
||||||
|
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
|
||||||
|
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
|
||||||
|
|
||||||
|
$TAG_REMOTE = 'git@github.com:xonsh/xonsh.git'
|
||||||
|
$TAG_TARGET = 'master'
|
||||||
|
|
||||||
|
$GHPAGES_REPO = 'git@github.com:scopatz/xonsh-docs.git'
|
||||||
|
|
||||||
|
$DOCKER_APT_DEPS = ['man']
|
||||||
|
with open('requirements-tests.txt') as f:
|
||||||
|
conda_deps = f.read().split()
|
||||||
|
with open('requirements-docs.txt') as f:
|
||||||
|
conda_deps += f.read().split()
|
||||||
|
conda_deps = {d.lower().split('=')[0] for d in set(conda_deps)}
|
||||||
|
conda_deps.discard('prompt-toolkit')
|
||||||
|
conda_deps |= {'prompt_toolkit', 'pip', 'psutil', 'numpy', 'matplotlib'}
|
||||||
|
$DOCKER_CONDA_DEPS = sorted(conda_deps)
|
||||||
|
$DOCKER_INSTALL_COMMAND = ('rm -rf .cache/ __pycache__/ */__pycache__ */*/__pycache__ build/ && '
|
||||||
|
'./setup.py install')
|
||||||
|
$DOCKER_GIT_NAME = 'xonsh'
|
||||||
|
$DOCKER_GIT_EMAIL = 'xonsh@googlegroups.com'
|
|
@ -27,7 +27,7 @@ from xonsh.tools import (
|
||||||
pathsep_to_upper_seq, seq_to_upper_pathsep, expandvars, is_int_as_str, is_slice_as_str,
|
pathsep_to_upper_seq, seq_to_upper_pathsep, expandvars, is_int_as_str, is_slice_as_str,
|
||||||
ensure_timestamp, get_portions, is_balanced, subexpr_before_unbalanced,
|
ensure_timestamp, get_portions, is_balanced, subexpr_before_unbalanced,
|
||||||
swap_values, get_logical_line, replace_logical_line, check_quotes, deprecated,
|
swap_values, get_logical_line, replace_logical_line, check_quotes, deprecated,
|
||||||
balanced_parens)
|
is_writable_file, balanced_parens)
|
||||||
from xonsh.environ import Env
|
from xonsh.environ import Env
|
||||||
|
|
||||||
from tools import skip_if_on_windows, skip_if_on_unix
|
from tools import skip_if_on_windows, skip_if_on_unix
|
||||||
|
@ -1044,7 +1044,8 @@ def test_is_logfile_opt(inp, exp):
|
||||||
(None, None),
|
(None, None),
|
||||||
('throwback.log', 'throwback.log'),
|
('throwback.log', 'throwback.log'),
|
||||||
skip_if_on_windows(('/dev/null', '/dev/null')),
|
skip_if_on_windows(('/dev/null', '/dev/null')),
|
||||||
skip_if_on_windows(('/dev/nonexistent_dev', None))
|
skip_if_on_windows(('/dev/nonexistent_dev',
|
||||||
|
'/dev/nonexistent_dev' if is_writable_file('/dev/nonexistent_dev') else None))
|
||||||
])
|
])
|
||||||
def test_to_logfile_opt(inp, exp):
|
def test_to_logfile_opt(inp, exp):
|
||||||
obs = to_logfile_opt(inp)
|
obs = to_logfile_opt(inp)
|
||||||
|
|
|
@ -25,7 +25,7 @@ VER_FULL = sys.version_info[:3]
|
||||||
ON_DARWIN = (platform.system() == 'Darwin')
|
ON_DARWIN = (platform.system() == 'Darwin')
|
||||||
ON_WINDOWS = (platform.system() == 'Windows')
|
ON_WINDOWS = (platform.system() == 'Windows')
|
||||||
ON_CONDA = True in [conda in pytest.__file__.lower() for conda
|
ON_CONDA = True in [conda in pytest.__file__.lower() for conda
|
||||||
in ['anaconda', 'miniconda']]
|
in ['conda', 'anaconda', 'miniconda']]
|
||||||
ON_TRAVIS = 'TRAVIS' in os.environ and 'CI' in os.environ
|
ON_TRAVIS = 'TRAVIS' in os.environ and 'CI' in os.environ
|
||||||
TEST_DIR = os.path.dirname(__file__)
|
TEST_DIR = os.path.dirname(__file__)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
__version__ = '0.5.12'
|
__version__ = '0.6.0'
|
||||||
|
|
||||||
|
|
||||||
# amalgamate exclude jupyter_kernel parser_table parser_test_table pyghooks
|
# amalgamate exclude jupyter_kernel parser_table parser_test_table pyghooks
|
||||||
|
|
Loading…
Add table
Reference in a new issue