Commit graph

98 commits

Author SHA1 Message Date
Noorhteen Raja NJ
bceaafae4d
Add groups to env vars (#4026)
* feat: add grouped-settings for env variables

fixes #4014

style: fix mypy errors

chore: update testing requirements versions

fix: update xonsh.tools import error

* chore: add news item

* fix: update Var.with_default handling env defaults

* fix: set env var.doc_default=DefaultNotGiven

there is a custom handler for it

* chore: update travis

speedup docs generation

* chore: add command to serve docs during development

* docs: add jinja2 helpers/renderers extension for sphinx

* docs: update envvars document

* docs: fix docs failing

* Update xonsh/environ.py

commit suggestion

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* refactor: update rst-extension

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2021-01-04 12:21:44 -05:00
Anthony Scopatz
3afd5430a0
Procs Initial Refactor (#3897)
* refectored builtins

* refectored posix and readers

* refectored posix and readers

* proxies

* pipelines

* basic procs import cleanup

* fixed / refactored tests

* procs docs

* amalgamate

* XONSH_DEBUG=1 in tests

* exclude xonsh.procs mypy

* Use `pip install` instead of `python setup.py install`

* Update docs/api/procs/pipelines.rst

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-10-20 10:21:11 -04:00
Noorhteen Raja NJ
fd597e6971
chore (ci): improve ci workflows and deps management (#3873)
* 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
2020-10-19 11:52:37 -04:00
Bob Hyman
d899842b11 let tests run to completion 2020-08-08 14:37:13 -04:00
Gil Forsyth
3a09f3b936
Add OSX to gh actions matrix 2020-04-20 12:24:12 -04:00
Gil Forsyth
196e0159bc
Re-enable travis OSX checks 2020-04-08 10:16:12 -04:00
Gil Forsyth
8b43a2dfc3
Remove a bunch of existing CI checks
* Removes all circle jobs
* Removes all travis jobs except for the doc builds
* Removes appveyor jobs except for MSYS2
* Removes all azure pipelines jobs

Signed-off-by: Gil Forsyth <gil@forsyth.dev>
2020-04-07 11:20:29 -04:00
Gil Forsyth
f5f3893211
Update travis.yml for new req file path 2019-07-20 08:42:14 -04:00
Anthony Scopatz
543b27bfc5 Py38 2019-05-24 10:01:15 -05:00
Anthony Scopatz
1b27d8aa38 Initial CI for Python 3.8 2019-05-09 11:09:55 -04:00
cclauss
243fc01b1e
Travis CI: Add Python 3.7 and up-to-date nightly on Linux 2019-05-02 14:35:11 +02:00
Anthony Scopatz
7754c3b7b1 setup.py instead 2018-12-05 19:45:58 -05:00
Anthony Scopatz
a03e7d7797 try to fix CI tests 2018-12-05 19:17:26 -05:00
Anthony Scopatz
8018a35754 added run-test.xsh script for isolating tests in their own processes as needed 2018-12-05 18:53:33 -05:00
Anthony Scopatz
9ddd0aef4b forgot semicolon 2018-09-13 17:49:47 -04:00
Anthony Scopatz
0f08c7781d doc rebuilf 2018-09-13 17:38:57 -04:00
Gil Forsyth
4c63765d68 Remove extra cleans and resets from doc builds 2018-09-05 14:50:22 -04:00
Anthony Scopatz
5980cc9abb reset again 2018-09-04 20:49:47 -04:00
Anthony Scopatz
0883cc5a30 set -x 2018-09-04 20:39:53 -04:00
Anthony Scopatz
fe35bce20e reset everything differently 2018-09-04 20:32:55 -04:00
Anthony Scopatz
dea8c99df0 reset everything 2018-09-04 20:26:49 -04:00
Anthony Scopatz
4c4f7031d8 try git clean 2018-09-04 16:43:33 -04:00
Anthony Scopatz
6e876118a5 allow failures fix 2018-08-27 14:53:04 -05:00
traverseda
5b9bd2c445 Allowed pypy3 travis cases to fail. 2018-08-24 16:23:30 -04:00
traverseda
048c72ed9c Set build-docs to false to bypass miniconda. 2018-08-24 16:23:29 -04:00
traverseda
db8e4f22ec New travis matrix for pypy, hopefully avoids conda weirdness. 2018-08-24 16:23:29 -04:00
traverseda
7009fe98e3 Add pypy3 to test cases. 2018-08-24 16:23:29 -04:00
Anthony Scopatz
af9c106e6a add upgrade to pip install 2018-07-19 19:33:30 -04:00
Anthony Scopatz
4a2d8cfa81 disable 3.7 CI in some places 2018-07-19 19:21:52 -04:00
Anthony Scopatz
92a6af8c99 enable CI for Python 3.7 2018-07-19 19:08:00 -04:00
Anthony Scopatz
c9828a50ec update reqs and CI 2018-07-15 15:53:46 -05:00
Gil Forsyth
eda7e077bd Pin prompt_toolkit in travis setup
Temporary fix (that we implemented everywhere else) to prevent failures
due to the prompt_toolkit release
2018-06-05 17:05:32 -04:00
Gil Forsyth
fd21091c8c Remove "Try xonsh" and fix doctr release deploy
"try xonsh" link is non-functional and is likely disappointing to new users who
try to use it.

quick other doc-related fix to re-install xonsh before second `doctr deploy` to
make sure that documentation that is uploaded reflects the last tagged release.
2018-04-18 19:06:17 -04:00
Gil Forsyth
4aaff6bac4 fix for small changes to doctr API
doctr now requires the deploy directory as an argument and ``--gh-pages-docs``
is deprecated.

No news item on this since it's purely internal.
2017-03-17 11:38:12 -04:00
Anthony Scopatz
7f59cfc998 uggh more 2017-02-12 12:17:17 -05:00
Anthony Scopatz
b067e2f0c9 go for it 2017-02-12 12:05:32 -05:00
Jamie Bliss
12b9b514b1 Fixing up travis 2017-01-08 22:56:51 -05:00
Jamie Bliss
c1eac5ed9e Update CI for Python 3.6 2017-01-08 22:27:24 -05:00
Gil Forsyth
4bed3b768a try latest version of doctr master
hoping this fixes the test failures on master re: doc deployment
2016-12-31 14:34:01 -05:00
Gil Forsyth
1a6c15b2ce checkout HEAD before attempting second deploy
I think the errors that doctr encounters when pushing the second set of
docs has to do with trying to add to the gh-pages branch when we're
starting from non-HEAD location?

I'm hoping that by manually putting us back onto HEAD that this should
avoid that...

If this does work, it's probably worth putting into doctr itself.

Usually caveats that we can't test this until it's merged...
2016-12-23 18:42:45 -05:00
Gil Forsyth
711b7bac03 add make clean between doc builds 2016-12-21 13:38:02 -05:00
Gil Forsyth
07760b31c7 use doctr to also manage release docs
now that we have a release that contains the encrypted deploy key, we
can also have doctr always push the most recent release docs to
`xonsh-docs`.

there may be more fiddling to do to get a documentation selector
working but this is a start
2016-12-21 09:23:57 -05:00
Gil Forsyth
38c4a6b181 fix for shell_session_update error on travis
as per discussion in https://github.com/travis-ci/travis-ci/issues/6307 -- although that's old enough this might be a separate issue, but I'm trying it anyway.
2016-12-15 13:07:31 -05:00
Gil Forsyth
1304257464 stop travis if build fails
@asmeurer reported that travis doesn't stop a build if the docs fail to build unless there's a `set -e` in there.  Adding it in so that we don't accidentally push broken docs, potentially deleting what we have.
2016-12-13 17:05:38 -05:00
Gil Forsyth
cb796798b0 hold off on release docs until next release 2016-10-21 07:43:51 -04:00
Gil Forsyth
7bf2bcf9ac publish dev and latest release docs on xonsh-docs 2016-10-20 19:48:38 -04:00
Gil Forsyth
83a35470ad deploy dev docs to dev and most recent release docs to root 2016-10-20 18:12:54 -04:00
Gil Forsyth
a14d0c1957 add encrypted deploy key for use with doctr 2016-10-19 17:01:39 -04:00
Gil Forsyth
3052ad8230 use doctr to deploy dev docs on xonsh.github.io 2016-10-19 17:00:58 -04:00
Gil Forsyth
8c91e40a56 Allow failures on 3.6-dev 2016-10-12 08:32:20 -04:00