~ubuntu-branches/ubuntu/vivid/python-pex/vivid

« back to all changes in this revision

Viewing changes to CHANGES.rst

  • Committer: Package Import Robot
  • Author(s): Barry Warsaw
  • Date: 2015-02-19 14:13:25 UTC
  • Revision ID: package-import@ubuntu.com-20150219141325-w62bie95l6rawuuv
Tags: upstream-0.8.6
ImportĀ upstreamĀ versionĀ 0.8.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=======
 
2
CHANGES
 
3
=======
 
4
 
 
5
----------
 
6
0.8.6
 
7
----------
 
8
 
 
9
* Bug fix: Honor installed sys.excepthook in pex teardown.
 
10
  `RB #1733 <https://rbcommons.com/s/twitter/r/1733>`_
 
11
 
 
12
* Bug fix: ``UrllibContext`` used ``replace`` as a keyword argument for ``bytes.decode``
 
13
  but this only works on Python 3.  `Pull Request #46 <https://github.com/pantsbuild/pex/pull/46>`_
 
14
 
 
15
-----
 
16
0.8.5
 
17
-----
 
18
 
 
19
* Bug fix: Fixup string formatting in pex/bin/pex.py to support Python 2.6
 
20
  `Pull Request #40 <https://github.com/pantsbuild/pex/pull/40>`_
 
21
 
 
22
-----
 
23
0.8.4
 
24
-----
 
25
 
 
26
* Performance improvement: Speed up the best-case scenario of dependency resolution.
 
27
  `RB #1685 <https://rbcommons.com/s/twitter/r/1685>`_
 
28
 
 
29
* Bug fix: Change from ``uuid4().get_hex()`` to ``uuid4().hex`` to maintain Python3
 
30
  compatibility of pex.common.
 
31
  `Pull Request #39 <https://github.com/pantsbuild/pex/pull/39>`_
 
32
 
 
33
* Bug fix: Actually cache the results of translation.  Previously bdist translations
 
34
  would be created in a temporary directory even if a cache location was specified.
 
35
  `RB #1666 <https://rbcommons.com/s/twitter/r/1666>`_
 
36
 
 
37
* Bug fix: Support all potential abi tag permutations when determining platform
 
38
  compatibility.
 
39
  `Pull Request #33 <https://github.com/pantsbuild/pex/pull/33>`_
 
40
 
 
41
-----
 
42
0.8.3
 
43
-----
 
44
 
 
45
* Performance improvement: Don't always write packages to disk if they've already been
 
46
  cached.  This can significantly speed up launching PEX files with a large
 
47
  number of non-zip-safe dependencies.
 
48
  `RB #1642 <https://rbcommons.com/s/twitter/r/1642>`_
 
49
 
 
50
-----
 
51
0.8.2
 
52
-----
 
53
 
 
54
* Bug fix: Allow pex 0.8.x to parse pex files produced by earlier versions of
 
55
  pex and twitter.common.python.
 
56
 
 
57
* Pin pex to setuptools prior to 9.x until we have a chance to make changes
 
58
  related to PEP440 and the change of pkg_resources.py to a package.
 
59
 
 
60
-----
 
61
0.8.1
 
62
-----
 
63
 
 
64
* Bug fix: Fix issue where it'd be possible to ``os.path.getmtime`` on a remote ``Link`` object
 
65
  `Issue #29 <https://github.com/pantsbuild/pex/issues/29>`_
 
66
 
 
67
-----
 
68
0.8.0
 
69
-----
 
70
 
 
71
* *API change*: Decouple translation from package iteration.  This removes
 
72
  the Obtainer construct entirely, which likely means if you're using PEX as
 
73
  a library, you will need to change your code if you were doing anything
 
74
  nontrivial.  This adds a couple new options to ``resolve`` but simplifies
 
75
  the story around how to cache packages.
 
76
  `RB #785 <https://rbcommons.com/s/twitter/r/785/>`_
 
77
 
 
78
* Refactor http handling in pex to allow for alternate http implementations.  Adds support
 
79
  for `requests <https://github.com/kennethreitz/requests>`_,
 
80
  improving both performance and security.   For more information, read the commit notes at
 
81
  `91c7f32 <https://github.com/pantsbuild/pex/commit/91c7f324085c18af714d35947b603a5f60aeb682>`_.
 
82
  `RB #778 <https://rbcommons.com/s/twitter/r/778/>`_
 
83
 
 
84
* Improvements to API documentation throughout.
 
85
 
 
86
* Renamed ``Tracer`` to ``TraceLogger`` to prevent nondeterministic isort ordering.
 
87
 
 
88
* Refactor tox.ini to increase the number of environment combinations and improve coverage.
 
89
 
 
90
* Adds HTTP retry support for the RequestsContext.
 
91
  `RB #1303 <https://rbcommons.com/s/twitter/r/1303/>`_
 
92
 
 
93
* Make pex --version correct.
 
94
  `Issue #19 <https://github.com/pantsbuild/pex/issues/19>`_
 
95
 
 
96
* Bug fix: Fix over-aggressive sys.modules scrubbing for namespace packages.  Under
 
97
  certain circumstances, namespace packages in site-packages could conflict with packages
 
98
  within a PEX, causing them to fail importing.
 
99
  `RB #1378 <https://rbcommons.com/s/twitter/r/1378/>`_
 
100
 
 
101
* Bug fix: Replace uses of ``os.unsetenv(...)`` with ``del os.environ[...]``
 
102
  `Pull Request #11 <https://github.com/pantsbuild/pex/pull/11>`_
 
103
 
 
104
* Bug fix: Scrub sys.path and sys.modules based upon both supplied path and
 
105
  realpath of files and directories.  Newer versions of virtualenv on Linux symlink site-packages
 
106
  which caused those packages to not be removed from sys.path correctly.
 
107
  `Issue #21 <https://github.com/pantsbuild/pex/issues/21>`_
 
108
 
 
109
* Bug fix: The pex -s option was not correctly pulling in transitive dependencies.
 
110
  `Issue #22 <https://github.com/pantsbuild/pex/issues/22>`_
 
111
 
 
112
* Bug fix: Adds ``content`` method to HTTP contexts that does HTML content decoding, fixing
 
113
  an encoding issue only experienced when using Python 3.
 
114
  `Issue #10 <https://github.com/pantsbuild/pex/issues/10>`_
 
115
 
 
116
-----
 
117
0.7.0
 
118
-----
 
119
 
 
120
* Rename ``twitter.common.python`` to ``pex`` and split out from the
 
121
  `twitter/commons <http://github.com/twitter/commons>`_ repo.
 
122
 
 
123
-----
 
124
0.6.0
 
125
-----
 
126
 
 
127
* Change the interpretation of ``-i`` (and of PyPIFetcher's pypi_base)
 
128
  to match pip's ``-i``.  This is useful for compatibility with devpi.
 
129
 
 
130
------
 
131
0.5.10
 
132
------
 
133
 
 
134
* Ensures that .egg/.whl distributions on disk have their mtime updated
 
135
  even though we no longer overwrite them. This gives them a new time
 
136
  lease against their ttl.
 
137
 
 
138
  Without this change, once a distribution aged past the ttl it would
 
139
  never be used again, and builds would re-create the same distributions
 
140
  in tmpdirs over and over again.
 
141
 
 
142
-----
 
143
0.5.9
 
144
-----
 
145
 
 
146
* Fixes an issue where SourceTranslator would overwrite .egg/.whl
 
147
  distributions already on disk.  Instead it should always check to see if
 
148
  a copy already exists and reuse if there.
 
149
 
 
150
  This ordinarily should not be a problem but the zipimporter caches
 
151
  metadata by filename instead of stat/sha, so if the underlying contents
 
152
  changed a runtime error would be thrown due to seemingly corrupt zip file
 
153
  offsets. `RB #684 <https://rbcommons.com/s/twitter/r/684/>`_
 
154
 
 
155
-----
 
156
0.5.8
 
157
-----
 
158
 
 
159
* Adds ``-i/--index`` option to the pex tool.
 
160
 
 
161
-----
 
162
0.5.7
 
163
-----
 
164
 
 
165
* Adds ``twitter.common.python.pex_bootstrap`` ``bootstrap_pex_env`` function in
 
166
  order to initialize a PEX environment from within a python interpreter.
 
167
  (Patch contributed by @kwlzn)
 
168
 
 
169
* Adds stdin=,stdout=,stderr= keyword parameters to the ``PEX.run`` function.
 
170
  (Patch from @benjy)
 
171
 
 
172
-----
 
173
0.5.6
 
174
-----
 
175
 
 
176
* The crawler now defaults to not follow links for security reasons.
 
177
  (Before the default behavior was to implicitly ``--follow-links`` for all
 
178
  requirements.) `RB #293 <https://rbcommons.com/s/twitter/r/293/>`_
 
179
 
 
180
-----
 
181
0.5.5
 
182
-----
 
183
 
 
184
* Improves scrubbing of site-packages from PEX environments.
 
185
  `RB #289 <https://rbcommons.com/s/twitter/r/289/>`_
 
186
 
 
187
-------------
 
188
0.5.1 - 0.5.4
 
189
-------------
 
190
 
 
191
* Silences exceptions reported during interpreter teardown (the exceptions
 
192
  resulting from incorrect atexit handler behavior) introduced by 0.4.3
 
193
  `RB #253 <https://rbcommons.com/s/twitter/r/253/>`_
 
194
  `RB #249 <https://rbcommons.com/s/twitter/r/249/>`_
 
195
 
 
196
* Adds ``__hash__`` to ``Link`` so that Packages are hashed correctly in
 
197
  ``twitter.common.python.resolver`` ``resolve``
 
198
 
 
199
-----
 
200
0.5.0
 
201
-----
 
202
 
 
203
* Adds wheel support to ``twitter.common.python``
 
204
  `RB #94 <https://rbcommons.com/s/twitter/r/94/>`_
 
205
  `RB #154 <https://rbcommons.com/s/twitter/r/154/>`_
 
206
  `RB #148 <https://rbcommons.com/s/twitter/r/148/>`_
 
207
 
 
208
-----
 
209
0.4.3
 
210
-----
 
211
 
 
212
* Adds ``twitter.common.python.finders`` which are additional finders for
 
213
  setuptools including:
 
214
  - find eggs within a .zip
 
215
  - find wheels within a directory
 
216
  - find wheels within a .zip
 
217
  `RB #86 <https://rbcommons.com/s/twitter/r/86/>`_
 
218
 
 
219
* Adds a new Package abstraction by refactoring Link into Link and Package.
 
220
  `RB #92 <https://rbcommons.com/s/twitter/r/92/>`_
 
221
 
 
222
* Adds support for PEP425 tagging necessary for wheel support.
 
223
  `RB #87 <https://rbcommons.com/s/twitter/r/87/>`_
 
224
 
 
225
* Improves python environment isolation by correctly scrubbing namespace
 
226
  packages injected into module ``__path__`` attributes by nspkg pth files.
 
227
  `RB #116 <https://rbcommons.com/s/twitter/r/116/>`_
 
228
 
 
229
* Adds ``twitter.common.python.resolver`` ``resolve`` method that handles
 
230
  transitive dependency resolution better.  This means that if the
 
231
  requirement ``futures==2.1.2`` and an unqualified ``futures>=2`` is pulled in
 
232
  transitively, our resolver will correctly resolve futures 2.1.2 instead
 
233
  of reporting a VersionConflict if any version newer than 2.1.2 is
 
234
  available. `RB #129 <https://rbcommons.com/s/twitter/r/129/>`_
 
235
 
 
236
* Factors all ``twitter.common.python`` test helpers into
 
237
  ``twitter.common.python.testing``
 
238
  `RB #91 <https://rbcommons.com/s/twitter/r/91/>`_
 
239
 
 
240
* Bug fix: Fix ``OrderedSet`` atexit exceptions
 
241
  `RB #147 <https://rbcommons.com/s/twitter/r/147/>`_
 
242
 
 
243
* Bug fix: Fix cross-device symlinking (patch from @benjy)
 
244
 
 
245
* Bug fix: Raise a ``RuntimeError`` if we fail to write ``pkg_resources`` into a .pex
 
246
  `RB #115 <https://rbcommons.com/s/twitter/r/115/>`_
 
247
 
 
248
-----
 
249
0.4.2
 
250
-----
 
251
 
 
252
* Upgrade to ``setuptools>=1``
 
253
 
 
254
-----
 
255
0.4.1
 
256
-----
 
257
 
 
258
* ``twitter.common.python`` is no longer a namespace package
 
259
 
 
260
-----
 
261
0.4.0
 
262
-----
 
263
 
 
264
* Kill the egg distiller.  We now delegate .egg generation to bdist_egg.
 
265
  `RB #55 <https://rbcommons.com/s/twitter/r/55/>`_
 
266
 
 
267
-----
 
268
0.3.1
 
269
-----
 
270
 
 
271
* Short-circuit resolving a distribution if a local exact match is found.
 
272
  `RB #47 <https://rbcommons.com/s/twitter/r/47/>`_
 
273
 
 
274
* Correctly patch the global ``pkg_resources`` ``WorkingSet`` for the lifetime
 
275
  of the Python interpreter. `RB #52 <https://rbcommons.com/s/twitter/r/52/>`_
 
276
 
 
277
* Fixes a performance regression in setuptools ``build_zipmanifest``
 
278
  `Setuptools Issue #154 <https://bitbucket.org/pypa/setuptools/issue/154/build_zipmanifest-results-should-be>`_
 
279
  `RB #53 <https://rbcommons.com/s/twitter/r/53/>`_
 
280
 
 
281
-----
 
282
0.3.0
 
283
-----
 
284
 
 
285
* Plumb through the ``--zip-safe``, ``--always-write-cache``, ``--ignore-errors``
 
286
  and ``--inherit-path`` flags to the pex tool.
 
287
 
 
288
* Delete the unused ``PythonDirWrapper`` code.
 
289
 
 
290
* Split ``PEXEnvironment`` resolution into ``twitter.common.python.environment``
 
291
  and deconflate ``WorkingSet``/``Environment`` state.
 
292
 
 
293
* Removes the monkeypatched zipimporter in favor of keeping all eggs
 
294
  unzipped within PEX files.  Refactors the PEX dependency cache in
 
295
  ``util.py``
 
296
 
 
297
* Adds interpreter detection for Jython and PyPy.
 
298
 
 
299
* Dependency translation errors should be made uniform.
 
300
  (Patch from @johnsirois)
 
301
 
 
302
* Adds ``PEX_PROFILE_ENTRIES`` to limit the number of entries reported when
 
303
  ``PEX_PROFILE`` is enabled. (Patch from @rgs_)
 
304
 
 
305
* Bug fix: Several fixes to error handling in ``twitter.common.python.http``
 
306
  (From Marc Abramowitz)
 
307
 
 
308
* Bug fix: PEX should not always assume that ``$PATH`` was available.
 
309
  (Patch from @jamesbroadhead)
 
310
 
 
311
* Bug fix: Filename should be part of the .pex cache key or else multiple
 
312
  identical versions will incorrectly resolve (Patch from @tc)
 
313
 
 
314
* Bug fix: Executed entry points shouldn't be forced to run in an
 
315
  environment with ``__future__`` imports enabled. (Patch from
 
316
  @lawson_patrick)
 
317
 
 
318
* Bug fix: Detect versionless egg links and fail fast. (Patch from
 
319
  @johnsirois.)
 
320
 
 
321
* Bug fix: Handle setuptools>=2.1 correctly in the zipimport monkeypatch
 
322
  (Patch from @johnsirois.)
 
323
 
 
324
-----
 
325
0.2.3
 
326
-----
 
327
 
 
328
* Bug fix: Fix handling of Fetchers with ``file://`` urls.
 
329
 
 
330
-----
 
331
0.2.2
 
332
-----
 
333
 
 
334
* Adds the pex tool as a standalone tool.
 
335
 
 
336
-----
 
337
0.2.1
 
338
-----
 
339
 
 
340
* Bug fix: Bootstrapped ``twitter.common.python`` should declare ``twitter.common``
 
341
  as a namespace package.
 
342
 
 
343
-----
 
344
0.2.0
 
345
-----
 
346
 
 
347
* Make ``twitter.common.python`` fully standalone by consolidating
 
348
  external dependencies within ``twitter.common.python.common``.
 
349
 
 
350
-----
 
351
0.1.0
 
352
-----
 
353
 
 
354
* Initial published version of ``twitter.common.python``.