File: 2016-07-09-hypothesis-3.4.1-release.md

package info (click to toggle)
python-hypothesis 6.138.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,272 kB
  • sloc: python: 62,853; ruby: 1,107; sh: 253; makefile: 41; javascript: 6
file content (25 lines) | stat: -rw-r--r-- 878 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
tags: news, python, non-technical
date: 2016-07-09 00:00
title: Hypothesis for Python 3.4.1 Release
author: drmaciver
---

This is a bug fix release for a single bug:

*   On Windows when running two Hypothesis processes in parallel (e.g.
    using pytest-xdist) they could race with each other and one would
    raise an exception due to the non-atomic nature of file renaming on
    Windows and the fact that you can’t rename over an existing file.
    This is now fixed.

## Notes

My tendency of doing immediate patch releases for bugs is unusual but
generally seems to be appreciated. In this case this was a bug that was
blocking
[a py.test merge](https://github.com/pytest-dev/pytest/pull/1705).

I suspect this is not the last bug around atomic file creation on
Windows. Cross platform atomic file creation seems to be a harder
problem than I would have expected.