Debian Codegraph @

doc/changes.rst

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