Debian Codegraph @

doc/changes.rst

raw ◀ ▶
1 Debian patch touch this file
1 ===========
2 Changelog
3 ===========
4
5 Following list contains the most notable changes by version.
6 For a full list, consult the `git history`_ of the project.
7
8 .. _`git history`: https://github.com/spotify/dh-virtualenv/commits/master
9
10
•11 Unreleased
12 ==========
13
14 * Fix --verbose and --setuptools command line argument usage together with --builtin-venv
15
16 1.2.2
17 =====
18
19 * Bugfix release: Addresses removal of python3-venv on Debian testing/sid
20
21 1.2.1
22 =====
23
24 * Bugfix release: Fixes a binary dependency to depend on Python 3 version of virtualenv
25
26 1.2
27 ===
28
29 * Requires Python 3 to build (`#300 <https://github.com/spotify/dh-virtualenv/issues/300>`_) [`@richvdh <https://github.com/richvdh>`_]
30 * Removed deprecated / disappeared virtualenv option (`#293 <https://github.com/spotify/dh-virtualenv/issues/293>`_)
31 [`@jhermann <https://github.com/jhermann>`_]
32 * Add support for DEB_BUILD_OPTIONS=nodoc (`#289 <https://github.com/spotify/dh-virtualenv/issues/289>`_) [`@mgagne <https://github.com/mgagne>`_]
33 * Support venv options for builtin venv (`#276 <https://github.com/spotify/dh-virtualenv/issues/276>`_) [`@paulbovbel <https://github.com/paulbovbel>`_]
34 * New option :option:`--upgrade-pip-to` for increased build stability
35 (#266) [`@jhermann <https://github.com/jhermann>`_]
36
37
38 1.1
39 ===
40
41 * Support new style shebangs generated by recent pip (`#226 <https://github.com/spotify/dh-virtualenv/issues/226>`_) [`@nailor <https://github.com/nailor>`_]
42 * Add :option:`--extras` option (`#243 <https://github.com/spotify/dh-virtualenv/issues/243>`_) [`@jhermann <https://github.com/jhermann>`_]
43 * Python 3.4 and 3.5 added to test environments (`#238 <https://github.com/spotify/dh-virtualenv/issues/238>`_) [`@jhermann <https://github.com/jhermann>`_]
44 * New build dependendcies (dh-exec + python-sphinx-rtd-theme) (`#231 <https://github.com/spotify/dh-virtualenv/issues/231>`_) [`@labeneator <https://github.com/labeneator>`_]
45 * Disallow building a package whilst within an activated virtualenv (`#224 <https://github.com/spotify/dh-virtualenv/issues/224>`_) [`@lamby <https://github.com/lamby>`_]
46 * Use ``python -m pip`` instead of direct pip calls (`#219 <https://github.com/spotify/dh-virtualenv/issues/219>`_) [`@moritz <https://github.com/moritz>`_]
47 * Ignore :option:`--extra-pip-arg` in call for :option:`--upgrade-pip` (`#197 <https://github.com/spotify/dh-virtualenv/issues/197>`_) [`@jhermann <https://github.com/jhermann>`_]
48 * buildsystem: Allow to specify a virtualenv name (`#180 <https://github.com/spotify/dh-virtualenv/issues/180>`_) [`@dzen <https://github.com/dzen>`_]
49 * docs: Improved structure, new chapters [`@jhermann <https://github.com/jhermann>`_]
50 * docs: Fix reference to pbuilder's USENETWORK option (`#246 <https://github.com/spotify/dh-virtualenv/issues/246>`_) [`@mkohler <https://github.com/mkohler>`_]
51 * Fix setuptools and pip setup when using built-in virtualenv with
52 `--system-site-packages` (`#247 <https://github.com/spotify/dh-virtualenv/issues/247>`_) [`@lucasrangit <https://github.com/lucasrangit>`_]
53
54
55 1.0
56 ===
57
58 * **Backwards incompatible** Change the default install root to
59 ``/opt/venvs``. This is due to the old installation root
60 (``/usr/share/python``) clashing with Debian provided Python
61 utilities. To maintain the old install location, use
62 :envvar:`DH_VIRTUALENV_INSTALL_ROOT` and point it to
63 ``/usr/share/python``.
64 * **Backwards incompatible** By default, do not run `setup.py test`
65 upon building. The :option:`--no-test` flag has no longer has any
66 effect. To get the old behaviour, use the
67 :option:`--setuptools-test` flag instead.
68 * **Backwards incompatible** Buildsystem: Move files into build folder
69 in install step instead of build step. Thanks to `Ludwig Hähne
70 <https://github.com/Pankrat>`_ for the patch!
71 * Deprecate :option:`--pypi-url` in favour of :option:`--index-url`
72 * Support upgrading pip to the latest release with :option:`--upgrade-pip`
73 flag.
74 * Buildsystem: Add support for :envvar:`DH_UPGRADE_PIP`,
75 :envvar:`DH_UPGRADE_SETUPTOOLS` and :envvar:`DH_UPGRADE_WHEEL`. Thanks
76 to `Kris Kvilekval <https://github.com/kkvilekval>`_ for the
77 implementation!
78 * Buildsystem: Add support for custom requirements file location
79 using :envvar:`DH_REQUIREMENTS_FILE` and for custom ``pip`` command
80 line arguments using :envvar:`DH_PIP_EXTRA_ARGS`. Thanks to `Einar
81 Forselv <https://github.com/einarf>`_ for implementing!
82 * Fixing shebangs now supports multiple interpreters. Thanks `Javier
83 Santacruz <https://github.com/jvrsantacruz>`_!
84 * Allow a custom pip executable via :option:`--pip-tool` flag. Thanks
85 `Anthony Sottile <https://github.com/asottile>`_ for the
86 implementation!
87 * Fix handling of shebang lines for cases where interpreter was
88 wrapped in quotes. Thanks to `Kamil Niechajewicz
89 <https://github.com/noizex>`_ for fixing!
90 * Support extra arguments to be passed at virtualenv using
91 :option:`--extra-virtualenv-arg`. Thanks to `Julien Duponchelle
92 <https://github.com/noplay>`_ for the fix.
93
94 0.11
95 ====
96
97 * Allow passing explicit filename for `requirements.txt` using
98 :option:`--requirements` option. Thanks to `Eric Larson
99 <https://github.com/ionrock>`_ for implementing!
100 * Ensure that venv is configured before starting any daemons. Thanks
101 to `Chris Lamb <https://github.com/lamby>`_ for fixing this!
102 * Make sure `fix_activate_path` updates all activate scripts. Thanks
103 to `walrusVision <https://github.com/walrusVision>`_ for fixing
104 this!
105
106 0.10
107 ====
108
109 * **Backwards incompatible** Fix installation using the built-in
110 virtual environment on 3.4. This might break installation on Python
111 versions prior to 3.4 when using :option:`--builtin-venv` flag.
112 Thanks to `Elonen <https://github.com/elonen>`_ for fixing!
113 * Honor :envvar:`DH_VIRTUALENV_INSTALL_ROOT` in build system. Thanks to
114 `Ludwig Hähne <https://github.com/Pankrat>`_ for implementing!
115 * Allow overriding virtualenv arguments by using the
116 :envvar:`DH_VIRTUALENV_ARGUMENTS` environment variable when using the
117 build system. Thanks to `Ludwig Hähne <https://github.com/Pankrat>`_
118 for implementing!
119 * Add option to skip installation of the actual project. In other
120 words using :option:`--skip-install` installs only the dependencies
121 of the project found in requirements.txt. Thanks to `Phillip
122 O'Donnell <https://github.com/phillipod>`_ for implementing!
123 * Support custom installation suffix instead of the package name via
124 :option:`--install-suffix`. Thanks to `Phillip O'Donnell
125 <https://github.com/phillipod>`_ for implementing!
126
127 0.9
128 ===
129
130 * Support using system packages via a command line flag
131 :option:`--use-system-packages`. Thanks to `Wes Mason
132 <https://github.com/1stvamp>`_ for implementing this feature!
133 * Introduce a new, experimental, more modular build system. See the
134 :doc:`usage` for documentation.
135 * Respect the :envvar:`DEB_NO_CHECK` environment variable.
136
137 0.8
138 ===
139
140 * Support for running triggers upon host interpreter update. This new
141 feature makes it possible to upgrade the host Python interpreter
142 and avoid breakage of all the virtualenvs installed with
143 dh-virtualenv. For usage, see the the :doc:`tutorial`. Huge thanks to
144 `Jürgen Hermann <https://github.com/jhermann>`_ for implementing
145 this long wanted feature!
146 * Add support for the built-in ``venv`` module. Thanks to `Petri
147 Lehtinen <https://github.com/akheron>`_!
148 * Allow custom ``pip`` flags to be passed via the
149 :option:`--extra-pip-arg` flag. Thanks to `@labeneator
150 <https://github.com/labeneator>`_ for the feature.
151
152 0.7
153 ===
154
155 * **Backwards incompatible** Support running tests. This change
156 breaks builds that use distutils. For those cases a flag
157 :option:`--no-test` needs to be passed.
158 * Add tutorial to documentation
159 * Don't crash on debbuild parameters ``-i`` and ``-a``
160 * Support custom source directory (debhelper's flag ``-D``)
161
162 0.6
163 ===
164
165 First public release of *dh-virtualenv*