=========== Changelog =========== Following list contains the most notable changes by version. For a full list, consult the `git history`_ of the project. .. _`git history`: https://github.com/spotify/dh-virtualenv/commits/master Unreleased ========== * Fix --verbose and --setuptools command line argument usage together with --builtin-venv 1.2.2 ===== * Bugfix release: Addresses removal of python3-venv on Debian testing/sid 1.2.1 ===== * Bugfix release: Fixes a binary dependency to depend on Python 3 version of virtualenv 1.2 === * Requires Python 3 to build (`#300 `_) [`@richvdh `_] * Removed deprecated / disappeared virtualenv option (`#293 `_) [`@jhermann `_] * Add support for DEB_BUILD_OPTIONS=nodoc (`#289 `_) [`@mgagne `_] * Support venv options for builtin venv (`#276 `_) [`@paulbovbel `_] * New option :option:`--upgrade-pip-to` for increased build stability (#266) [`@jhermann `_] 1.1 === * Support new style shebangs generated by recent pip (`#226 `_) [`@nailor `_] * Add :option:`--extras` option (`#243 `_) [`@jhermann `_] * Python 3.4 and 3.5 added to test environments (`#238 `_) [`@jhermann `_] * New build dependendcies (dh-exec + python-sphinx-rtd-theme) (`#231 `_) [`@labeneator `_] * Disallow building a package whilst within an activated virtualenv (`#224 `_) [`@lamby `_] * Use ``python -m pip`` instead of direct pip calls (`#219 `_) [`@moritz `_] * Ignore :option:`--extra-pip-arg` in call for :option:`--upgrade-pip` (`#197 `_) [`@jhermann `_] * buildsystem: Allow to specify a virtualenv name (`#180 `_) [`@dzen `_] * docs: Improved structure, new chapters [`@jhermann `_] * docs: Fix reference to pbuilder's USENETWORK option (`#246 `_) [`@mkohler `_] * Fix setuptools and pip setup when using built-in virtualenv with `--system-site-packages` (`#247 `_) [`@lucasrangit `_] 1.0 === * **Backwards incompatible** Change the default install root to ``/opt/venvs``. This is due to the old installation root (``/usr/share/python``) clashing with Debian provided Python utilities. To maintain the old install location, use :envvar:`DH_VIRTUALENV_INSTALL_ROOT` and point it to ``/usr/share/python``. * **Backwards incompatible** By default, do not run `setup.py test` upon building. The :option:`--no-test` flag has no longer has any effect. To get the old behaviour, use the :option:`--setuptools-test` flag instead. * **Backwards incompatible** Buildsystem: Move files into build folder in install step instead of build step. Thanks to `Ludwig Hähne `_ for the patch! * Deprecate :option:`--pypi-url` in favour of :option:`--index-url` * Support upgrading pip to the latest release with :option:`--upgrade-pip` flag. * Buildsystem: Add support for :envvar:`DH_UPGRADE_PIP`, :envvar:`DH_UPGRADE_SETUPTOOLS` and :envvar:`DH_UPGRADE_WHEEL`. Thanks to `Kris Kvilekval `_ for the implementation! * Buildsystem: Add support for custom requirements file location using :envvar:`DH_REQUIREMENTS_FILE` and for custom ``pip`` command line arguments using :envvar:`DH_PIP_EXTRA_ARGS`. Thanks to `Einar Forselv `_ for implementing! * Fixing shebangs now supports multiple interpreters. Thanks `Javier Santacruz `_! * Allow a custom pip executable via :option:`--pip-tool` flag. Thanks `Anthony Sottile `_ for the implementation! * Fix handling of shebang lines for cases where interpreter was wrapped in quotes. Thanks to `Kamil Niechajewicz `_ for fixing! * Support extra arguments to be passed at virtualenv using :option:`--extra-virtualenv-arg`. Thanks to `Julien Duponchelle `_ for the fix. 0.11 ==== * Allow passing explicit filename for `requirements.txt` using :option:`--requirements` option. Thanks to `Eric Larson `_ for implementing! * Ensure that venv is configured before starting any daemons. Thanks to `Chris Lamb `_ for fixing this! * Make sure `fix_activate_path` updates all activate scripts. Thanks to `walrusVision `_ for fixing this! 0.10 ==== * **Backwards incompatible** Fix installation using the built-in virtual environment on 3.4. This might break installation on Python versions prior to 3.4 when using :option:`--builtin-venv` flag. Thanks to `Elonen `_ for fixing! * Honor :envvar:`DH_VIRTUALENV_INSTALL_ROOT` in build system. Thanks to `Ludwig Hähne `_ for implementing! * Allow overriding virtualenv arguments by using the :envvar:`DH_VIRTUALENV_ARGUMENTS` environment variable when using the build system. Thanks to `Ludwig Hähne `_ for implementing! * Add option to skip installation of the actual project. In other words using :option:`--skip-install` installs only the dependencies of the project found in requirements.txt. Thanks to `Phillip O'Donnell `_ for implementing! * Support custom installation suffix instead of the package name via :option:`--install-suffix`. Thanks to `Phillip O'Donnell `_ for implementing! 0.9 === * Support using system packages via a command line flag :option:`--use-system-packages`. Thanks to `Wes Mason `_ for implementing this feature! * Introduce a new, experimental, more modular build system. See the :doc:`usage` for documentation. * Respect the :envvar:`DEB_NO_CHECK` environment variable. 0.8 === * Support for running triggers upon host interpreter update. This new feature makes it possible to upgrade the host Python interpreter and avoid breakage of all the virtualenvs installed with dh-virtualenv. For usage, see the the :doc:`tutorial`. Huge thanks to `Jürgen Hermann `_ for implementing this long wanted feature! * Add support for the built-in ``venv`` module. Thanks to `Petri Lehtinen `_! * Allow custom ``pip`` flags to be passed via the :option:`--extra-pip-arg` flag. Thanks to `@labeneator `_ for the feature. 0.7 === * **Backwards incompatible** Support running tests. This change breaks builds that use distutils. For those cases a flag :option:`--no-test` needs to be passed. * Add tutorial to documentation * Don't crash on debbuild parameters ``-i`` and ``-a`` * Support custom source directory (debhelper's flag ``-D``) 0.6 === First public release of *dh-virtualenv*