Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda python310 #1

Closed
wants to merge 91 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
b3c600c
Force adding group for command-line arguments (#306)
maciej-lech Mar 29, 2020
9110f3e
Add seasion.create_tmp (#320)
moshez May 16, 2020
3e4eaff
Typo - formater to formatter (#324)
kkirsche May 20, 2020
7f00d10
Fix overwritten and environment typos in virtualenv.py (#326)
kkirsche May 20, 2020
9d2788d
Typo: Controling -> Controlling (#325)
kkirsche May 20, 2020
271ff14
`venv_backend` new options and choices (#316)
smarie May 24, 2020
a3cb034
Release 2020.5.24 (#327)
theacodes May 25, 2020
5a4f54a
Fix version number
theacodes May 25, 2020
323ab59
Ran `nox -s blacken`. (#332)
dhermes Jun 8, 2020
e3d4696
Add `Session.run_always()`. (#331)
dhermes Jun 8, 2020
8dcefbf
Add --add-timestamp option (#323)
omry Jun 18, 2020
ae3b37d
Fixed the default paths for conda on windows where the `python.exe` f…
smarie Jun 21, 2020
3098a7a
Auto-offline for `conda_install` (#314)
smarie Jun 21, 2020
00775b4
`conda_install` and `install` args are now automatically double-quote…
smarie Jun 24, 2020
7107cd5
Release 2020.8.22 (#341)
theacodes Aug 23, 2020
b704678
Export `Session` in `__init__` (#344)
layday Sep 4, 2020
4deea88
Fully annotate the session decorator (#342)
layday Sep 4, 2020
9caaba5
Fix typo in Tutorial (#351)
srenfo Sep 22, 2020
e78d8d9
Do not merge command-line options in place (#357)
cjolowicz Nov 13, 2020
6bdf51c
Decouple merging of --python with nox.options from --sessions and --k…
cjolowicz Nov 14, 2020
e5e9869
Update nox to latest supported python versions. (#362)
crwilcox Nov 21, 2020
495b23f
Add py.typed to manifest.in (#360)
V1NAY8 Nov 21, 2020
6dc712a
Sort imports using isort
Nov 9, 2020
bbe2cd8
Support double-digit minor version in `python` keyword (#367)
cjolowicz Nov 30, 2020
4e18422
Add isort check to lint session (#366)
cjolowicz Dec 1, 2020
a188be7
Fix nested decorator annotation (#370)
layday Dec 19, 2020
cdb391f
Refactor pip as python -m pip (#363)
V1NAY8 Dec 28, 2020
e2db5ed
feat: support users specifying an undeclared parametrization of pytho…
crwilcox Dec 29, 2020
4d42022
Use conda remove to clean up existing conda environment. Closes https…
Tolker-KU Dec 31, 2020
6f23914
Fix NoxColoredFormatter.format (#374)
stsewd Dec 31, 2020
319c796
Release 2020.12.31 (#375)
crwilcox Jan 1, 2021
156765c
Allow passing PathLike types to Session.chdir() (#376)
jdufresne Jan 22, 2021
1025682
Make ProcessEnv.bin always return a str (#378)
jdufresne Feb 8, 2021
d6a0ba5
Define the location attribute on base class ProcessEnv (#377)
jdufresne Feb 8, 2021
a70df3c
Docs: remove outdated notes on Windows compatibility (#382)
brechtm Feb 10, 2021
211702d
Decode popen output using the system locale if UTF-8 decoding fails. …
Cielquan Feb 11, 2021
db63783
Add `Session.name` (#386)
drhagen Feb 14, 2021
d4cf547
Setup GitHub actions, remove Travis (#389)
theacodes Feb 20, 2021
142092f
Add nox.needs_version to specify Nox version requirements (#388)
cjolowicz Feb 20, 2021
a078d3c
Add Windows to GitHub Actions, remove AppVeyor (#390)
theacodes Feb 20, 2021
7ad30a0
Gracefully shutdown child processes (#393)
cjolowicz Mar 4, 2021
082c266
Improve automated tests support on Windows (#300)
Peilonrayz Mar 8, 2021
1228981
Remove Travis references (#403)
paw-lu Mar 11, 2021
5525832
Ignore mypy configuration file (#402)
paw-lu Mar 12, 2021
de3d9c5
Preserve the order of parameterized arguments (#401)
paw-lu Mar 12, 2021
3240441
set local session posargs via notify (#397)
rmorshea Mar 12, 2021
a67c9a2
Check whether interpreter changed and type (#123) (#418)
dpalmasan Apr 24, 2021
7f3b8da
fix position of venv_params within conda create (#420)
wholtz Apr 24, 2021
a9bd872
Add normalized comparison to check sessions (#396) (#417)
dpalmasan Apr 24, 2021
9cd5b78
Allow nox.parametrize to select the session Python (#413)
cjolowicz Apr 24, 2021
99c5910
Fix regression in check for stale environments (#425)
cjolowicz May 23, 2021
a6539a7
Drop contexter from test requirements (#426)
cjolowicz May 23, 2021
e012b60
Fix environments not being reused due to wrong Python lookup (#428)
cjolowicz May 24, 2021
1d0ff6f
Allow colorlog <7.0.0 (#431)
theacodes May 27, 2021
e9945ef
Add --force-python option as shorthand for --python and --extra-pytho…
cjolowicz May 27, 2021
56c7d56
Add option --no-install to skip install commands in reused environmen…
cjolowicz Jun 1, 2021
4ddd055
Fix garbled error message when session not found (#434)
cjolowicz Jun 3, 2021
41b9c79
Upgrade linters to the latest version (#438)
cjolowicz Jun 5, 2021
bcaa5ff
Prevent sessions from modifying each other's posargs (#439)
cjolowicz Jun 6, 2021
da48d3c
Release 2021.6.6 (#440)
cjolowicz Jun 6, 2021
24fc263
Avoid polluting tests/resources with a .nox directory (#445)
cjolowicz Jun 10, 2021
0fb841d
Group CLI arguments in functional groups (#305) (#442)
DrGFreeman Jun 11, 2021
2791b70
Fix crash on Python 2 when reusing environments (#450)
cjolowicz Jun 12, 2021
950015e
Hide staleness check behind a feature flag (#451)
cjolowicz Jun 12, 2021
787dfaa
Release 2021.6.12 (#452)
cjolowicz Jun 13, 2021
d977535
chore: Use PEP 517 build system (#456)
henryiii Jun 20, 2021
4ea2051
chore: upgrade to mypy 0.902 (#455)
henryiii Jun 20, 2021
0ba939a
chore: use setup.cfg (#457)
henryiii Jun 20, 2021
6cb0376
docs: mention more projects that use Nox (#460)
henryiii Jul 2, 2021
5ac156f
Remove setup.py (#458)
cjolowicz Jul 4, 2021
0d4764e
Add header from noxfile.py docstring #454 (#459)
FollowTheProcess Jul 4, 2021
98e8c24
ci: simpler build (#461)
henryiii Jul 8, 2021
8ee3ebe
Add friendlier message if no noxfile.py (#463)
FollowTheProcess Jul 10, 2021
d537c55
Add python 3.10.0-rc2 to GitHub Actions (#475)
FollowTheProcess Sep 9, 2021
5f9cffa
Add session.notify example to docs (#467)
FollowTheProcess Sep 9, 2021
2821216
Conda logs now respect nox.options.verbose. (#466)
FollowTheProcess Sep 9, 2021
9c696e2
Run Flynt to convert str.format to f-strings (#464)
FollowTheProcess Sep 9, 2021
74f8793
Add session.invoked_from (#472)
franekmagiera Sep 11, 2021
9ebae0a
Add a "shared cache" directory (#476)
DiddiLeija Sep 15, 2021
f584aed
CI: Python 3.10.0-rc.2 coverage fix (#479)
FollowTheProcess Sep 16, 2021
e7d4f5a
Decouple `test_session_completer` from project level noxfile (#480)
FollowTheProcess Sep 17, 2021
7f63350
Add `session.warn` to output warnings (#482)
DiddiLeija Sep 21, 2021
e679b77
Move configs into pyproject.toml or setup.cfg(flake8) (#484)
FollowTheProcess Sep 25, 2021
73d14b1
Release 2021.10.1
theacodes Oct 1, 2021
d95c57c
Using `shlex.join()` when logging a command (#490)
dhermes Oct 2, 2021
a2bd140
Add `session.debug` to show debug-level messages (#489)
DiddiLeija Oct 5, 2021
f1b01e2
Add python 3.10.0 to GitHub actions and a 3.10 classifier setup.cfg (…
FollowTheProcess Oct 6, 2021
536e9d1
Show error message when keywords expression contains a syntax error (…
nawatts Oct 6, 2021
39b8dd4
Bump the ReadTheDocs Python version to 3.8 (#496)
DiddiLeija Oct 7, 2021
e9f7f03
Replace deprecated `load_module` with `exec_module` (#498)
FollowTheProcess Oct 8, 2021
cbd9d2d
Improve the Sphinx config file (#499)
DiddiLeija Oct 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 0 additions & 9 deletions .coveragerc

This file was deleted.

6 changes: 0 additions & 6 deletions .flake8

This file was deleted.

84 changes: 84 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,84 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install Nox-under-test
run: |
python -m pip install --disable-pip-version-check .
- name: Run tests on ${{ matrix.os }}
run: nox --non-interactive --session "tests-${{ matrix.python-version }}" -- --full-trace

build-py310:
name: Build python 3.10
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.10"
# Conda does not support 3.10 yet, hence why it's skipped here
# TODO: Merge the two build jobs when 3.10 is released for conda
- name: Install Nox-under-test
run: |
python -m pip install --disable-pip-version-check .
- name: Run tests on ${{ matrix.os }}
run: nox --non-interactive --session "tests-3.10" -- --full-trace

lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Nox-under-test
run: |
python -m pip install --disable-pip-version-check .
- name: Lint
run: nox --non-interactive --session "lint"
docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Nox-under-test
run: |
python -m pip install --disable-pip-version-check .
- name: Docs
run: nox --non-interactive --session "docs"
deploy:
needs: build
runs-on: ubuntu-20.04
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- name: Build sdist and wheel
run: pipx run build
- name: Publish distribution PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 0 additions & 6 deletions .isort.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion .readthedocs.yml
Expand Up @@ -4,7 +4,7 @@ build:
image: latest

python:
version: 3.6
version: 3.8
pip_install: true

requirements_file: requirements-test.txt
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

97 changes: 97 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,102 @@
# Changelog

## 2021.10.1

New features:
- Add `session.warn` to output warnings (#482)
- Add a shared session cache directory (#476)
- Add `session.invoked_from` (#472)

Improvements:
- Conda logs now respect `nox.options.verbose` (#466)
- Add `session.notify` example to docs (#467)
- Add friendlier message if no `noxfile.py` is found (#463)
- Show the `noxfile.py` docstring when using `nox -l` (#459)
- Mention more projects that use Nox in the docs (#460)

Internal changes:
- Move configs into pyproject.toml or setup.cfg (flake8) (#484)
- Decouple `test_session_completer` from project level noxfile (#480)
- Run Flynt to convert str.format to f-strings (#464)
- Add python 3.10.0-rc2 to GitHub Actions (#475, #479)
- Simplify CI build (#461)
- Use PEP 517 build system, remove `setup.py`, use `setup.cfg` (#456, #457, #458)
- Upgrade to mypy 0.902 (#455)

Special thanks to our contributors:
- @henryiii
- @cjolowicz
- @FollowTheProcess
- @franekmagiera
- @DiddiLeija

## 2021.6.12

- Fix crash on Python 2 when reusing environments. (#450)
- Hide staleness check behind a feature flag. (#451)
- Group command-line options in `--help` message by function. (#442)
- Avoid polluting tests with a .nox directory. (#445)

## 2021.6.6

- Add option `--no-install` to skip install commands in reused environments. (#432)
- Add option `--force-python` as shorthand for `--python` and `--extra-python`. (#427)
- Do not reuse environments if the interpreter or the environment type has changed. (#418, #425, #428)
- Allow common variations in session names with parameters, such as double quotes instead of single quotes. Session names are considered equal if they produce the same Python AST. (#417, #434)
- Preserve the order of parameters in session names. (#401)
- Allow `@nox.parametrize` to select the session Python. (#413)
- Allow passing `posargs` when scheduling another session via `session.notify`. (#397)
- Prevent sessions from modifying each other's posargs. (#439)
- Add `nox.needs_version` to specify Nox version requirements. (#388)
- Add `session.name` to get the session name. (#386)
- Gracefully shutdown child processes. (#393)
- Decode command output using the system locale if UTF-8 decoding fails. (#380)
- Fix creation of Conda environments when `venv_params` is used. (#420)
- Various improvements to Nox's type annotations. (#376, #377, #378)
- Remove outdated notes on Windows compatibility from the documentation. (#382)
- Increase Nox's test coverage on Windows. (#300)
- Avoid mypy searching for configuration files in other directories. (#402)
- Replace AppVeyor and Travis CI by GitHub Actions. (#389, #390, #403)
- Allow colorlog <7.0.0. (#431)
- Drop contexter from test requirements. (#426)
- Upgrade linters to the latest version. (#438)

## 2020.12.31

- Fix `NoxColoredFormatter.format` (#374)
- Use conda remove to clean up existing conda environments (#373)
- Support users specifying an undeclared parametrization of python via `--extra-python` (#361)
- Support double-digit minor version in `python` keyword (#367)
- Add `py.typed` to `manifest.in` (#360)
- Update nox to latest supported python versions. (#362)
- Decouple merging of `--python` with `nox.options` from `--sessions` and `--keywords` (#359)
- Do not merge command-line options in place (#357)

## 2020.8.22

- `conda_install` and `install` args are now automatically double-quoted when needed. (#312)
- Offline mode is now auto-detected by default by `conda_install`. This allows users to continue executing Nox sessions on already installed environments. (#314)
- Fix the default paths for Conda on Windows where the `python.exe` found was not the correct one. (#310)
- Add the `--add-timestamp` option (#323)
- Add `Session.run_always()`. (#331)

## 2020.5.24

- Add new options for `venv_backend`, including the ability to set the backend globally. (#326)
- Fix various typos in the documentation. (#325, #326, #281)
- Add `session.create_tmp`. (#320)
- Place all of Nox's command-line options into argparse groups. (#306)
- Add the `--pythons` command-line option to allow specifying which versions of Python to run. (#304)
- Add a significant amount of type annotations. (#297, #294, #290, #282, #274)
- Stop building universal wheels since we don't support Python 2. (#293)
- Add the ability to specify additional options for the virtualenv backend using `venv_params`. (#280)
- Prefer `importlib.metadata` for metadata loading, removing our dependency on `pkg_resources`. (#277)
- Add OmegaConf and Hydra to list of projects that use Nox. (#279)
- Use a more accurate error message, along with the cause, if loading of noxfile runs into error. (#272)
- Test against Python 3.8. (#270)
- Fix a syntax highlighting mistake in configuration docs. (#268)
- Use `stdout.isatty` to finalize color instead of `stdin.isatty`. (#267)

## 2019.11.9

- Fix example installation call for pip. (#259)
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -39,12 +39,13 @@ To just check for lint errors, run:

To run against a particular Python version:

nox --session tests-3.5
nox --session tests-3.6
nox --session tests-3.7
nox --session tests-3.8
nox --session tests-3.9

When you send a pull request Travis will handle running everything, but it is

When you send a pull request the CI will handle running everything, but it is
recommended to test as much as possible locally before pushing.

## Getting a sticker
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,2 +1,3 @@
include LICENSE
recursive-include nox *.jinja2
include nox/py.typed
87 changes: 0 additions & 87 deletions appveyor.yml

This file was deleted.