-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "pypy3" testenv on Windows, Fix MacOS flakeyness (#254)
## Change shared ctypes to MP.Queue PyPy has problems with shared ctypes Value, especially on Windows. Not sure why. This resulted in flakey pypy3-* tests. Converting to MP.Queue might be slightly slower, but it's much more stable/deterministic. And since this change impacts only 3 tests out of several hundreds, it's worth it for the expansion of Windows test scope. ## Activate pypy3 testing in tox.ini ## Specify non-"win32" platforms for "static" This enables us to add "static" into tox/envlist, for easier invocation. ## Change "_dynamic" to "_dump" ## Make ENV dump ".py" So we can leverage syntax-highlighting when checking ## Also delete temporary "parallel" coverage files ## Move coverage/diffcov files Temporary/intermediate files go to _dump Reports go to htmlcov ## Exclude _dump from pytype ## Prefix ENV dump file with "ENV = \" To reduce IDE protests ## Extend watched process delay by 50% Exact same with AUTOSTOP_DELAY makes the test flakey. ## Up version to 1.4.0a4 and NEWS.rst ## Replace ConnectionError with OSError (for MacOS) Refs: - racitup/static-ranges#1 - benoitc/gunicorn#1487 - http://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ ## Update README.rst - Now pypy3 is no longer a stepchild. - Notes on which testenvs work/don't work on Cygwin.
- Loading branch information
Showing
10 changed files
with
117 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2014-2021 The aiosmtpd Developers | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
__version__ = "1.4.0a3" | ||
__version__ = "1.4.0a4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ zip_ok = false | |
[pytype] | ||
exclude = | ||
aiosmtpd/docs/_exts/* | ||
_dump/* | ||
disable = | ||
not-supported-yet | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters