Nox v2018.8.23 Release Notes

Release Date: 2018-08-24 // over 5 years ago
  • Heads up! This is a very big release for Nox. Please read these release notes thoroughly and reach out to us on GitHub if you run into issues.

    ๐Ÿ’ฅ Breaking changes and other important notes:

    • ๐Ÿš€ Nox is now published as "nox" on PyPI. This means that Nox is installed via pip install nox instead of nox-automation. Since the new release makes so many breaking changes, we won't be updating the old nox-automation package.
    • ๐Ÿ”ง Nox's configuration file is now called noxfile.py instead of nox.py.
    • ๐Ÿ‘ Nox no longer supports Python 2.7. You can still create and run Python 2.7 sessions, but Nox itself must be installed using Python 3.5+.
    • Nox's behavior has been changed from declarative to imperative. Session actions now run immediately. Existing code to setup session virtualenv, such as session.interpreter will break! Please consult the documention on how to use @nox.session(python=[...]) to configure virtualenvs for sessions.
    • ๐Ÿš€ Nox now uses CalVer for releases.
    • ๐Ÿ‘Œ Support for the legacy naming convention (for example, session_tests) has been removed.

    Other changes:

    • โšก๏ธ Update colorlog dependency range.
    • โšก๏ธ Update installation command in contributing. (#101)
    • โœ‚ Remove Python 2.x object inheritance. (#109)
    • ๐Ÿ›  Fix python syntax error on docs. (#111)
    • ๐Ÿ‘‰ Show additional links on PyPI. (#108)
    • โž• Add contributors file. (#113)
    • โš™ Run sphinx with -W option. (#115)
    • Using os.pathsep instead of a hardcoded ':'. (#105)
    • ๐Ÿ”ง Use a configuration file for readthedocs. (#107)
    • โž• Add 'py' alias for nox.session(python=...).
    • ๐Ÿ›  Fix processing of numeric Python versions that specify a patch version.
    • ๐Ÿ‘‰ Use Black to format code.
    • ๐Ÿ‘Œ Support invoking Nox using python -m nox.
    • ๐Ÿ‘ Produce better error message when sessions can't be found.
    • ๐Ÿ›  Fix missing links in README.rst.
    • โœ‚ Remove usage of future imports.
    • โœ‚ Remove usage of six.
    • ๐Ÿ‘‰ Make session.install a simple alias for session.run.
    • ๐Ÿ”จ Refactor nox.command.Command as nox.command.run, reducing complexity.
    • โž• Add list of projects that use Nox.
    • ๐Ÿ‘‰ Use witchhazel pygments theme.