-
Notifications
You must be signed in to change notification settings - Fork 0
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
Commits on Mar 29, 2020
-
Force adding group for command-line arguments (wntrblm#306)
* Force adding group to an option * Update tests
Configuration menu - View commit details
-
Copy full SHA for b3c600c - Browse repository at this point
Copy the full SHA b3c600cView commit details
Commits on May 16, 2020
-
Add seasion.create_tmp (wntrblm#320)
* Address wntrblm#319: Give a create_tmp API * more stuff * fade to black * woops * calculate tmp directly from envdir * cleanup and fix tests
Configuration menu - View commit details
-
Copy full SHA for 9110f3e - Browse repository at this point
Copy the full SHA 9110f3eView commit details
Commits on May 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3e4eaff - Browse repository at this point
Copy the full SHA 3e4eaffView commit details -
Fix overwritten and environment typos in virtualenv.py (wntrblm#326)
Fix overwritten and environment typos in virtualenv.py
Configuration menu - View commit details
-
Copy full SHA for 7f00d10 - Browse repository at this point
Copy the full SHA 7f00d10View commit details -
Typo: Controling -> Controlling (wntrblm#325)
* Typo: Controling -> Controlling Typo in usage.rst * Update usage.rst Co-authored-by: Thea Flowers <magicalgirl@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9d2788d - Browse repository at this point
Copy the full SHA 9d2788dView commit details
Commits on May 24, 2020
-
venv_backend
new options and choices (wntrblm#316)* New global option `nox.options.venv_backend` to set the default backend. Fixes wntrblm#315 * Added doc about the new option * Blackened * fixed tests * Fixed docs * Fixed coverage by adding tests for the venv_backend_completer * fixed test * Added tests for short and long versions of the new option. * Replaced the venv_backend completer with a simple `choices` from argparse :) * Renamed venv_backend to default_venv_backend, and created new force_venv_backend * New "none" choice for venv_backends, equivalent to python=False * Updated doc concerning default_venv_backend and force_venv_backend, as well as the new 'none' backend * Fixed all manifest tests * Fixed test_tasks for venv_backend * Fixed coverage * Blackened code * The warning message was appearing for all sessions, even those deselected. It is now only logged when session is run. * Added `--no-venv` option. Fixes wntrblm#301 * Blackened * Fixed tests * Improved coverage * Blackened * Fixed an issue with parametrization: warning would not be issued. Added corresponding tests. This should make coverage happy, too. * Blackened * Now `install` and `conda_install` work when there is no venv backend (or python=False). Previously a `ValueError` was raised. Fixes wntrblm#318 * Fixed test * Minor edit to trigger CI build again as it seems stuck. * Minor doc fix to trigger the CI again (appveyor false fail) Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Configuration menu - View commit details
-
Copy full SHA for 271ff14 - Browse repository at this point
Copy the full SHA 271ff14View commit details
Commits on May 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a3cb034 - Browse repository at this point
Copy the full SHA a3cb034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4f54a - Browse repository at this point
Copy the full SHA 5a4f54aView commit details
Commits on Jun 8, 2020
-
Ran
nox -s blacken
. (wntrblm#332)Danny Hermes authoredJun 8, 2020 Configuration menu - View commit details
-
Copy full SHA for 323ab59 - Browse repository at this point
Copy the full SHA 323ab59View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d4696 - Browse repository at this point
Copy the full SHA e3d4696View commit details
Commits on Jun 18, 2020
-
Add --add-timestamp option (wntrblm#323)
* initial pass, some tests failing * lint * hopefully fixed linting on 3.5
Configuration menu - View commit details
-
Copy full SHA for 8dcefbf - Browse repository at this point
Copy the full SHA 8dcefbfView commit details
Commits on Jun 21, 2020
-
Fixed the default paths for conda on windows where the
python.exe
f……ound was not the correct one (wntrblm#310) * Virtual environments now have a `bin_paths` attribute instead of a single `bin`. `command.run` and `which` both have their `path` argument renamed `paths` and supporting a list of paths, to handle it. Fixes wntrblm#256 * Updated tests to handle the `paths` renaming of the `path` argument in `nox.command.run`, and the `bin` to `bin_paths` renaming in `virtualenv` * First conda test on windows * Black-ened code * As per code review: Added a backwards-compatible `session.bin` property * Fixed lint error * Added back `bin` to all envs for compatibility with legacy api Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Configuration menu - View commit details
-
Copy full SHA for ae3b37d - Browse repository at this point
Copy the full SHA ae3b37dView commit details -
Auto-offline for
conda_install
(wntrblm#314)* Offline mode is now auto-detected by default by `conda_install`. This allows users to continue executing nox sessions on already installed environments. This behaviour can be disabled by setting `auto_offline=False`. Fixes wntrblm#313 * Fixed args order for offline option and added tests * Black-ened code * Fixed conda options order again * Added a log message when doing auto-offline * Fixed mypy errors * Fixed mypy errors (2) * mypy fix (3) * Fixed last failing test * Improved coverage * Last coverage fix ? * Blackened * Last Flake8 fix * removed dependency to `requests` * removed dependency to `urllib3` * Simplified offline checks * fixed import * fixed test * Added pragma no cover Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Configuration menu - View commit details
-
Copy full SHA for 3098a7a - Browse repository at this point
Copy the full SHA 3098a7aView commit details
Commits on Jun 24, 2020
-
conda_install
andinstall
args are now automatically double-quote……d when needed. (wntrblm#312) * `conda_install` and `install` args are now automatically double-quoted when they contain a `<` or a `>`. Fixes wntrblm#311 * Added a test for the double-quoting fix * Black-ened * Improving coverage: added some tests and improved error checking in _dblquote_pkg_install_arg * Blackened * Fixed mypy error * Fixed test * Now double-quoting arguments only for `conda_install`, not `install`. Apparently, `pip` does not need it. * Fixed mock error in test * blackened * Fixed lint error and code review related mod of comments Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Configuration menu - View commit details
-
Copy full SHA for 00775b4 - Browse repository at this point
Copy the full SHA 00775b4View commit details
Commits on Aug 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7107cd5 - Browse repository at this point
Copy the full SHA 7107cd5View commit details
Commits on Sep 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b704678 - Browse repository at this point
Copy the full SHA b704678View commit details -
Fully annotate the session decorator (wntrblm#342)
* Fully annotate the session decorator Previously the decorator would obscure the function type. * Try to get setuptools working on Travis See pypa/setuptools#2353. * fixup! Fully annotate the session decorator * Add `@overload` to coverage excludes
Configuration menu - View commit details
-
Copy full SHA for 4deea88 - Browse repository at this point
Copy the full SHA 4deea88View commit details
Commits on Sep 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9caaba5 - Browse repository at this point
Copy the full SHA 9caaba5View commit details
Commits on Nov 13, 2020
-
Do not merge command-line options in place (wntrblm#357)
When merging options specified in the noxfile and on the command-line option, do not use the output parameter `command_args` as the input for the merge; instead, copy `command_args` initially and pass the copy to the merge functions. Merge functions such as `_session_filters_merge_func` inspect `command_args` to see if other options have been specified on the command-line. When the options are merged in place, this check produces false positives. For example, `nox.options.sessions` is copied into `command_args` as a part of the merge; so it will appear to have been specified on the command-line when merging `nox.options.pythons`, causing the latter to be ignored. Co-authored-by: Claudio Jolowicz <cjolowicz@localhost.localdomain>
Configuration menu - View commit details
-
Copy full SHA for e78d8d9 - Browse repository at this point
Copy the full SHA e78d8d9View commit details
Commits on Nov 14, 2020
-
Decouple merging of --python with nox.options from --sessions and --k…
…eywords (wntrblm#359) * Add test fixture to generate noxfile.py The noxfile.py is templated with the default session (`nox.options.sessions`), and the default Python version (`nox.options.pythons`), as well as an alternate Python version. This allows us to avoid the situation where a test case running on one Python version needs to launch Nox using another Python version. As a side-effect, it makes the test cases a bit more explicit. * Add test case for using --pythons with nox.options.sessions * Add test case for using --sessions with nox.options.pythons * Do not ignore nox.options.pythons when --{sessions,keywords} passed * Do not ignore nox.options.{sessions,keywords} when --pythons passed * Rename _{session_filters => sessions_and_keywords}_merge_func Revert function name to the one used before --pythons was introduced.
Configuration menu - View commit details
-
Copy full SHA for 6bdf51c - Browse repository at this point
Copy the full SHA 6bdf51cView commit details
Commits on Nov 21, 2020
-
Update nox to latest supported python versions. (wntrblm#362)
* Update parameters to match latest python releases. * update setup.py, other references to 3.5 * don't use miniconda 3.8 even though https://www.appveyor.com/docs/windows-images-software/ mentions it
Configuration menu - View commit details
-
Copy full SHA for e5e9869 - Browse repository at this point
Copy the full SHA e5e9869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 495b23f - Browse repository at this point
Copy the full SHA 495b23fView commit details
Commits on Nov 26, 2020
-
Run the blacken session on the codebase.
Configuration menu - View commit details
-
Copy full SHA for 6dc712a - Browse repository at this point
Copy the full SHA 6dc712aView commit details
Commits on Nov 30, 2020
-
Support double-digit minor version in
python
keyword (wntrblm#367)* Add test for resolving python3.10 * Support double-digit minor version in `python` keyword This fixes an issue where "3.10" is resolved as "python3".
Configuration menu - View commit details
-
Copy full SHA for bbe2cd8 - Browse repository at this point
Copy the full SHA bbe2cd8View commit details
Commits on Dec 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4e18422 - Browse repository at this point
Copy the full SHA 4e18422View commit details
Commits on Dec 19, 2020
-
Fix nested decorator annotation (wntrblm#370)
Type checkers cannot solve an aliased, generic callable.
Configuration menu - View commit details
-
Copy full SHA for a188be7 - Browse repository at this point
Copy the full SHA a188be7View commit details
Commits on Dec 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cdb391f - Browse repository at this point
Copy the full SHA cdb391fView commit details
Commits on Dec 29, 2020
-
feat: support users specifying an undeclared parametrization of python (
wntrblm#361) * feat: support users specifying an undeclared parametrization of python Co-authored-by: Danny Hermes <daniel.j.hermes@gmail.com> Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e2db5ed - Browse repository at this point
Copy the full SHA e2db5edView commit details
Commits on Dec 31, 2020
-
Use conda remove to clean up existing conda environment. Closes wntrb…
…lm#372. (wntrblm#373) Co-authored-by: Santos Gallegos <santos_g@outlook.com> Co-authored-by: Christopher Wilcox <crwilcox@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4d42022 - Browse repository at this point
Copy the full SHA 4d42022View commit details -
Fix NoxColoredFormatter.format (wntrblm#374)
That method is making use of `_simple_fmt`, but isn't defined in the class. I used the same value as `NoxFormatter`
Configuration menu - View commit details
-
Copy full SHA for 6f23914 - Browse repository at this point
Copy the full SHA 6f23914View commit details
Commits on Jan 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 319c796 - Browse repository at this point
Copy the full SHA 319c796View commit details
Commits on Jan 22, 2021
-
Allow passing PathLike types to Session.chdir() (wntrblm#376)
os.chdir() has supported PathLib since Python 3.6. Discovered while adding types pip's noxfile.py: pypa/pip#9411
Configuration menu - View commit details
-
Copy full SHA for 156765c - Browse repository at this point
Copy the full SHA 156765cView commit details
Commits on Feb 8, 2021
-
Make ProcessEnv.bin always return a str (wntrblm#378)
The property never returns None. This simplifies user code containing types that already knows a bin directory must exist. It avoids the need to pepper calling code with: assert session.bin is not None Or # type: ignore For example, in pip: https://github.com/pypa/pip/blob/062f0e54d99f58e53be36be5a45adad89e2429fb/tools/automation/release/__init__.py#L29 A noxfile that tries to access a bin directory that doesn't exist will now raise an exception.
Configuration menu - View commit details
-
Copy full SHA for 1025682 - Browse repository at this point
Copy the full SHA 1025682View commit details -
Define the location attribute on base class ProcessEnv (wntrblm#377)
Fixes errors when running mypy on a project's noxfile.py: noxfile.py:42: error: "ProcessEnv" has no attribute "location" Discovered while adding types pip's noxfile.py: pypa/pip#9411
Configuration menu - View commit details
-
Copy full SHA for d6a0ba5 - Browse repository at this point
Copy the full SHA d6a0ba5View commit details
Commits on Feb 10, 2021
-
Docs: remove outdated notes on Windows compatibility (wntrblm#382)
* Docs: remove outdated notes on Windows compatibility Closes wntrblm#379 * Docs: add Python Launcher notes to config section
Configuration menu - View commit details
-
Copy full SHA for a70df3c - Browse repository at this point
Copy the full SHA a70df3cView commit details
Commits on Feb 11, 2021
-
Decode popen output using the system locale if UTF-8 decoding fails. (w…
…ntrblm#380) * add decode_output func to decode popen output fixes wntrblm#309 by trying to decode popen output with utf8 first and on error tries other encodings provided by the systems preferences. * simplified decode_output function * fix linting issues * fix double hard coded utf8 * change utf8 to utf-8 * add tests for decode_output * fix linting issues * simplify nested try...except block and fix nested exception msg Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com> * fix tests for simplified deode_output Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 211702d - Browse repository at this point
Copy the full SHA 211702dView commit details
Commits on Feb 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for db63783 - Browse repository at this point
Copy the full SHA db63783View commit details
Commits on Feb 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d4cf547 - Browse repository at this point
Copy the full SHA d4cf547View commit details -
Add nox.needs_version to specify Nox version requirements (wntrblm#388)
* feat: Add nox.needs_version * build: Add dependency on packaging >= 20.9 The packaging library is needed to parse the version specifier in the `nox.needs_version` attribute set by user's `noxfile.py` files. We use the current version as the lower bound. The upper bound is omitted; packaging uses calendar versioning with a YY.N scheme. * Use admonition for version specification warning * Use a fixture to take care of common noxfile creation code Co-authored-by: Paulius Maruška <paulius.maruska@gmail.com> Co-authored-by: Thea Flowers <me@thea.codes>
Configuration menu - View commit details
-
Copy full SHA for 142092f - Browse repository at this point
Copy the full SHA 142092fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a078d3c - Browse repository at this point
Copy the full SHA a078d3cView commit details
Commits on Mar 4, 2021
-
Gracefully shutdown child processes (wntrblm#393)
* Allow child processes to handle keyboard interrupts * Add tests for keyboard interrupts during commands * Remove obsolete u"" literal * Fix spurious interrupts in Windows tests * Do not send keyboard interrupts in Windows CI * Run keyboard interrupt tests on Windows detached from console * Avoid misleading naming in interrupt tests * Do not assume that the correct pytest is on PATH
Configuration menu - View commit details
-
Copy full SHA for 7ad30a0 - Browse repository at this point
Copy the full SHA 7ad30a0View commit details
Commits on Mar 8, 2021
-
Improve automated tests support on Windows (wntrblm#300)
* Allow sphinx-autobuild to run on Windows * Improve coverage when selecting bin folder * Test CondaEnv interpreter on Windows * Test VirtualEnv interpreter on Windows * Merge coverage results. * Undo changes to `test_create_interpreter`. * Remove an unused shutil import
Configuration menu - View commit details
-
Copy full SHA for 082c266 - Browse repository at this point
Copy the full SHA 082c266View commit details
Commits on Mar 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1228981 - Browse repository at this point
Copy the full SHA 1228981View commit details
Commits on Mar 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5525832 - Browse repository at this point
Copy the full SHA 5525832View commit details -
Preserve the order of parameterized arguments (wntrblm#401)
* Swap param order in multiple args test * Remove arg sorting in Param repr Co-authored-by: Claudio Jolowicz <mail@claudiojolowicz.com>
Configuration menu - View commit details
-
Copy full SHA for de3d9c5 - Browse repository at this point
Copy the full SHA de3d9c5View commit details -
set local session posargs via notify (wntrblm#397)
* add local session posargs via notify * add docs for notify(posargs=...) Also SessionRunner.notify did not need to be a property. * fix tests after notify(posargs=...) addition * add test for notified posargs * Add posargs to docstring for Manifest.notify * Fix typo in docstring
Configuration menu - View commit details
-
Copy full SHA for 3240441 - Browse repository at this point
Copy the full SHA 3240441View commit details
Commits on Apr 24, 2021
-
Check whether interpreter changed and type (wntrblm#123) (wntrblm#418)
Co-authored-by: Diego <dpalma@evernote.com>
Configuration menu - View commit details
-
Copy full SHA for a67c9a2 - Browse repository at this point
Copy the full SHA a67c9a2View commit details -
fix position of venv_params within conda create (wntrblm#420)
Fixes wntrblm#419 by moving 'pip' to after venv_params
Configuration menu - View commit details
-
Copy full SHA for 7f3b8da - Browse repository at this point
Copy the full SHA 7f3b8daView commit details -
Add normalized comparison to check sessions (wntrblm#396) (wntrblm#417)
Co-authored-by: Diego <dpalma@evernote.com>
Configuration menu - View commit details
-
Copy full SHA for a9bd872 - Browse repository at this point
Copy the full SHA a9bd872View commit details -
Allow nox.parametrize to select the session Python (wntrblm#413)
* Enable nox.parametrize to determine the session Python * Add tests * Add documentation
Configuration menu - View commit details
-
Copy full SHA for 9cd5b78 - Browse repository at this point
Copy the full SHA 9cd5b78View commit details
Commits on May 23, 2021
-
Fix regression in check for stale environments (wntrblm#425)
* Add test case for reusing environments * Fix crash due to unconditional use of `sys.real_prefix` - `sys.real_prefix` was set by virtualenv < 20.0. - `sys.base_prefix` is used by virtualenv >= 20.0 and python -m venv (PEP 405) * Fix disabled reuse due to comparing sys.prefix with sys.base_prefix When comparing the resolved interpreter to the interpreter in an existing virtualenv, we need to use sys.base_prefix (or sys.real_prefix) for both. The resolved interpreter is located in the virtualenv, so its sys.prefix would point into the virtualenv instead of the base installation. This bug results in virtualenvs never being reused. * Add test for reusing stale venv-style environment * Add test for reusing stale virtualenv-style environment * Fix crash when reusing environment of unexpected type * Use realistic pyvenv.cfg syntax in test for interpreter check * Add test for venv-style pyvenv.cfg with spurious "virtualenv" string * Fix false positive for venv-style environment * Fix crash on Windows due to hardcoded POSIX-style interpreter path * Add test for virtualenv without pyvenv.cfg file * Fix crash when virtualenv does not contain a pyvenv.cfg file Environments created by virtualenv < 20.0.0 do not have pyvenv.cfg files. * Rename Virtualenv._check_reused_environment{ => _type} * Extract function Virtualenv._check_reused_environment_interpreter * Refactor test reusing environments with different interpreter * Extend test to check that the stale environment is removed * Fix missing directory removal when re-creating environment * Reformat with Black
Configuration menu - View commit details
-
Copy full SHA for 99c5910 - Browse repository at this point
Copy the full SHA 99c5910View commit details -
Drop contexter from test requirements (wntrblm#426)
The contexter package is a third-party backport of contextlib (with some extensions). It is no longer required because Nox does not support Python 2 anymore, and we only ever used the standard ExitStack interface. The contexter package was used only in the test suite.
Configuration menu - View commit details
-
Copy full SHA for a6539a7 - Browse repository at this point
Copy the full SHA a6539a7View commit details
Commits on May 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e012b60 - Browse repository at this point
Copy the full SHA e012b60View commit details
Commits on May 27, 2021
-
Allow colorlog <7.0.0 (wntrblm#431)
5 is the latest release, and 6.x just drops support for Python 2, so we should be good.
Configuration menu - View commit details
-
Copy full SHA for 1d0ff6f - Browse repository at this point
Copy the full SHA 1d0ff6fView commit details -
Add --force-python option as shorthand for --python and --extra-python (
wntrblm#427) * Add test for --force-python option * Add --force-python option as shorthand for --python and --extra-python * Document the --force-python option
Configuration menu - View commit details
-
Copy full SHA for e9945ef - Browse repository at this point
Copy the full SHA e9945efView commit details
Commits on Jun 1, 2021
-
Add option --no-install to skip install commands in reused environmen…
…ts (wntrblm#432) Use either of these to reuse a virtualenv without re-installing packages: ``` nox -R nox --reuse-existing-virtualenvs --no-install ``` The `--no-install` option causes the following session methods to return early: - `session.install` - `session.conda_install` - `session.run_always` This option has no effect if the virtualenv is not being reused. Co-authored-by: Jam <jam@jamandbees.net> * Add option --no-install * Add test for VirtualEnv._reused * Add test for CondaEnv._reused * Add {Virtual,Conda,Process}Env._reused * Add test for session.install with --no-install * Skip session.install when --no-install is given * Add test for session.conda_install with --no-install * Skip session.conda_install when --no-install is given * Add test for session.run_always with --no-install * Skip session.run_always when --no-install is given * Add test for short option -R * Add short option -R for `--reuse-existing-virtualenvs --no-install` * Document the --no-install and -R options * Update broken link to pip documentation * Clarify documentation of session.run_always
Configuration menu - View commit details
-
Copy full SHA for 56c7d56 - Browse repository at this point
Copy the full SHA 56c7d56View commit details
Commits on Jun 3, 2021
-
Fix garbled error message when session not found (wntrblm#434)
* Add Noxfile for testing normalized session names * Add tests for normalized session names * Add failing test for regression when session not found * Fix garbled error message when session not found
Configuration menu - View commit details
-
Copy full SHA for 4ddd055 - Browse repository at this point
Copy the full SHA 4ddd055View commit details
Commits on Jun 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 41b9c79 - Browse repository at this point
Copy the full SHA 41b9c79View commit details
Commits on Jun 6, 2021
-
Prevent sessions from modifying each other's posargs (wntrblm#439)
* test: Do not compare posargs using `is` * test: Do not set posargs to mock sentinel This breaks tests because sentinels cannot be subscripted. * test: Initialize posargs to an empty list, not None * test: Add failing test for bleed-through of posargs between sessions * Give each session its own copy of posargs
Configuration menu - View commit details
-
Copy full SHA for bcaa5ff - Browse repository at this point
Copy the full SHA bcaa5ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for da48d3c - Browse repository at this point
Copy the full SHA da48d3cView commit details
Commits on Jun 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 24fc263 - Browse repository at this point
Copy the full SHA 24fc263View commit details
Commits on Jun 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0fb841d - Browse repository at this point
Copy the full SHA 0fb841dView commit details
Commits on Jun 12, 2021
-
Fix crash on Python 2 when reusing environments (wntrblm#450)
* Remove redundant mock in test for environment reuse This breaks tests comparing a string from pyvenv.cfg to command output, because the latter will be a mock. There is no inherent need for this mock. It was added recently, and probably speculatively or for performance reasons. * Add test case for reusing Python 2 environments * Read base prefix from pyvenv.cfg if present * Remove trailing newline when querying interpreter base prefix
Configuration menu - View commit details
-
Copy full SHA for 2791b70 - Browse repository at this point
Copy the full SHA 2791b70View commit details -
Hide staleness check behind a feature flag (wntrblm#451)
* Hide staleness check behind a feature flag * Set feature flag for staleness check in unit tests * Set feature flag for staleness check in Python 2 test
Configuration menu - View commit details
-
Copy full SHA for 950015e - Browse repository at this point
Copy the full SHA 950015eView commit details
Commits on Jun 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 787dfaa - Browse repository at this point
Copy the full SHA 787dfaaView commit details
Commits on Jun 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d977535 - Browse repository at this point
Copy the full SHA d977535View commit details -
chore: upgrade to mypy 0.902 (wntrblm#455)
* chore: upgrade to mypy 0.902 Uses the new pyproject.toml configuration and much tighter checking, nearly --strict * fix: adding pragma no cover for static if Co-authored-by: Claudio Jolowicz <mail@claudiojolowicz.com>
Configuration menu - View commit details
-
Copy full SHA for 4ea2051 - Browse repository at this point
Copy the full SHA 4ea2051View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba939a - Browse repository at this point
Copy the full SHA 0ba939aView commit details
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6cb0376 - Browse repository at this point
Copy the full SHA 6cb0376View commit details
Commits on Jul 4, 2021
-
* Remove setup.py Editable installs for projects with a setup.cfg no longer require a setup.py shim. This requires pip >= 21.1 (2021-04-24). * Remove setup.py from blacken and lint sessions * CI: Use python -m build in deploy job
Configuration menu - View commit details
-
Copy full SHA for 5ac156f - Browse repository at this point
Copy the full SHA 5ac156fView commit details -
Add header from noxfile.py docstring wntrblm#454 (wntrblm#459)
* Add header from noxfile.py docstring wntrblm#454 This commit adds the functionality for using the `noxfile.py` module docstring as a header description for the `nox -l` option. The module docstring is now an attribute in `Manifest` which is now populated in `discover_manifest` which is in-turn passed to `honor_list_request` which will print the docstring if it is present, and do nothing if it is not present. I've also added two tests which cover these conditions (existent and non-existent module docstring) and added to an existing parametrized test. * Standardise printed docstring whitespace Co-authored-by: Claudio Jolowicz <mail@claudiojolowicz.com>
Configuration menu - View commit details
-
Copy full SHA for 0d4764e - Browse repository at this point
Copy the full SHA 0d4764eView commit details
Commits on Jul 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 98e8c24 - Browse repository at this point
Copy the full SHA 98e8c24View commit details
Commits on Jul 10, 2021
-
Add friendlier message if no noxfile.py (wntrblm#463)
* Add friendlier message if no noxfile.py Fixes wntrblm#462. Add a friendlier message on the specific case that user is calling nox from within a directory with no noxfile. Existing test for this case modified and two additional tests added to ensure lower level errors are still handled further down. * Standardise no noxfile found message for noxfile with different names Co-authored-by: Claudio Jolowicz <mail@claudiojolowicz.com>
Configuration menu - View commit details
-
Copy full SHA for 8ee3ebe - Browse repository at this point
Copy the full SHA 8ee3ebeView commit details
Commits on Sep 9, 2021
-
Add python 3.10.0-rc2 to GitHub Actions (wntrblm#475)
* Add python 3.10.0-rc.2 to GitHub Actions * Make separate CI job for 3.10 to avoid conda failure * Fix docs job in CI so that it now executes correctly
Configuration menu - View commit details
-
Copy full SHA for d537c55 - Browse repository at this point
Copy the full SHA d537c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9cffa - Browse repository at this point
Copy the full SHA 5f9cffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2821216 - Browse repository at this point
Copy the full SHA 2821216View commit details -
Run Flynt to convert str.format to f-strings (wntrblm#464)
* chore: Convert old style str.format to f strings Ran `flynt`: https://github.com/ikamensh/flynt against nox to automatically convert `"{}".format` style strings to the newer `f"{}"` style strings. * Fix Lint failure by running black * Improve readibility of some converted strings * Run Flynt string conversion against tests/ * Change remaining str.format calls to f-strings
Configuration menu - View commit details
-
Copy full SHA for 9c696e2 - Browse repository at this point
Copy the full SHA 9c696e2View commit details
Commits on Sep 11, 2021
-
Add session.invoked_from (wntrblm#472)
* Add original cwd to session properties * Fix test * Rename original_wd to invoked_from * Hoist invoked_from up to the options parser * Add test case for hidden options * Add test case for groupless options Co-authored-by: Thea Flowers <me@thea.codes>
Configuration menu - View commit details
-
Copy full SHA for 74f8793 - Browse repository at this point
Copy the full SHA 74f8793View commit details
Commits on Sep 15, 2021
-
Add a "shared cache" directory (wntrblm#476)
* Add a "shared cache" directory Add an "{envdir}/.shared" directory, and create an API for accesing to it. * Don't fail if the ".shared" directory exists Don't raise an exception. * Update sessions.py Move the "shared cache" API inside of nox.sessions.Session * Update sessions.py Convert the "shared cache" path into a property. Now, it returns a "pathlib.Path". * Update test_sessions.py Make a test for the recent changes. * Update sessions.py Use the "pathlib.Path" methods to reduce the variable usage. * Update test_sessions.py Make some modifications to the tests. * Update test_sessions.py Fix an import error. * Update sessions.py Use the parent directory to create the cache dir. * Update test_sessions.py Use a tempfile to test the session properties. * Fix test indent * Update nox/sessions.py This avoids some unnecessary path manipulations, and using the parent directory of a virtualenv which does not necessarily exist (`PassthroughEnv` does not create a virtualenv). Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com> * Update sessions.py Use ".cache" instead of ".shared". * Update test_sessions.py Use ".cache" instead of ".shared". Co-authored-by: Tom Fleet <tomfleet2018@gmail.com> Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9ebae0a - Browse repository at this point
Copy the full SHA 9ebae0aView commit details
Commits on Sep 16, 2021
-
CI: Python 3.10.0-rc.2 coverage fix (wntrblm#479)
* Hopeful python3.10.0-rc.2 CI fix * Lets get the correct syntax this time * Lower coverage requirement if 3.10 * Fix failing test coupled to now modified noxfile.py * Explicitly run cover session in GHA * Remove parametrisation in favour of explicit sys.version_info check * Change CI workflow now cover is no longer parametrised * Remove redundant cover session in GHA
Configuration menu - View commit details
-
Copy full SHA for f584aed - Browse repository at this point
Copy the full SHA f584aedView commit details
Commits on Sep 17, 2021
-
Decouple
test_session_completer
from project level noxfile (wntrblm……#480) * Decouple test_session_completer from project's root noxfile * Make test variables a bit more intuitive
Configuration menu - View commit details
-
Copy full SHA for e7d4f5a - Browse repository at this point
Copy the full SHA e7d4f5aView commit details
Commits on Sep 21, 2021
-
Add
session.warn
to output warnings (wntrblm#482)* Add `session.warn` to output warnings Show warnings during the session. * Update test_sessions.py Add a test for "session.warn" (It is pretty similar to "test_log", but it has changed the logging level to be tested). * Update test_sessions.py Run black to fix linting errors. * Update test_sessions.py Remove an additional whiespace.
Configuration menu - View commit details
-
Copy full SHA for 7f63350 - Browse repository at this point
Copy the full SHA 7f63350View commit details
Commits on Sep 25, 2021
-
Move configs into pyproject.toml or setup.cfg(flake8) (wntrblm#484)
* Move configs into pyproject.toml or setup.cfg(flake8) * Drop redundant isort multi-line-output setting
Configuration menu - View commit details
-
Copy full SHA for e679b77 - Browse repository at this point
Copy the full SHA e679b77View commit details
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 73d14b1 - Browse repository at this point
Copy the full SHA 73d14b1View commit details
Commits on Oct 2, 2021
-
Using
shlex.join()
when logging a command (wntrblm#490)* Using `shlex.join()` when logging a command * Backport `shlex.join()` * Fix copy-pasta
Danny Hermes authoredOct 2, 2021 Configuration menu - View commit details
-
Copy full SHA for d95c57c - Browse repository at this point
Copy the full SHA d95c57cView commit details
Commits on Oct 5, 2021
-
Add
session.debug
to show debug-level messages (wntrblm#489)* Add `session.debug` to show debug-level messages A logging function to show debug-level messages. * Add `session.debug` to show debug-level messages Add a coverage test.
Configuration menu - View commit details
-
Copy full SHA for a2bd140 - Browse repository at this point
Copy the full SHA a2bd140View commit details
Commits on Oct 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f1b01e2 - Browse repository at this point
Copy the full SHA f1b01e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 536e9d1 - Browse repository at this point
Copy the full SHA 536e9d1View commit details
Commits on Oct 7, 2021
-
Bump the ReadTheDocs Python version to 3.8 (wntrblm#496)
Python 3.9 is not supported yet, and 3.6 could reach its EOL soon.
Configuration menu - View commit details
-
Copy full SHA for 39b8dd4 - Browse repository at this point
Copy the full SHA 39b8dd4View commit details
Commits on Oct 8, 2021
-
Replace deprecated
load_module
withexec_module
(wntrblm#498)* Replace to be deprecated load_module * Satisfy mypy (sort of) * Add tests to cover new statements * Factor out the loader function and test seperately
Configuration menu - View commit details
-
Copy full SHA for e9f7f03 - Browse repository at this point
Copy the full SHA e9f7f03View commit details
Commits on Oct 13, 2021
-
Improve the Sphinx config file (wntrblm#499)
* Remove redundancies on the Sphinx config file - Remove a (duplicated?) commentary. - Remove the "u" prefix on strngs, since they are set to Unicode by default. * Run black * Add `docs/conf.py` to the `blacken` session Run black on that file, too.
Configuration menu - View commit details
-
Copy full SHA for cbd9d2d - Browse repository at this point
Copy the full SHA cbd9d2dView commit details