This file contains hidden or 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
| +def get_name_version_doczip(path): | |
| + path = str(path) | |
| + DOCZIPSUFFIX = ".doc.zip" | |
| + assert path.endswith(DOCZIPSUFFIX) | |
| + fn = path[:-len(DOCZIPSUFFIX)] | |
| + # for documentation we presume that versions do not contain "-" | |
| + name, version = re.match("(.*)-([a-zA-Z0-9\.!]+)", fn).groups() | |
| + return name, version |
This file contains hidden or 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
| if self.name_version: | |
| name, version = self.name_version | |
| else: | |
| name, version = pkginfo.name, pkginfo.version |
This file contains hidden or 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
| Collecting devpi-common<2.1,>=2.0.6.dev2 (from devpi-server==2.2.0.dev1) | |
| Could not find a version that satisfies the requirement devpi-common<2.1,>=2.0.6.dev2 (from devpi-server==2.2.0.dev1) (from versions: 1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6.dev2) |
This file contains hidden or 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
| from setuptools import setup | |
| if __name__ == "__main__": | |
| setup( | |
| name='pytest-pep8', | |
| description='pytest plugin to check PEP8 requirements', | |
| long_description=open("README.txt").read(), | |
| license="MIT license", | |
| version='1.0.7.dev1', | |
| author='Holger Krekel and Ronny Pfannschmidt', |
This file contains hidden or 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
| from _pytest.core import PluginManager | |
| pm = PluginManager("devpi_server") | |
| class MyHooks: | |
| def devpi_server_whatever(self, arg1): | |
| pass | |
| pm.addhooks(MyHooks) |
This file contains hidden or 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
| from tox import hookimpl | |
| class GlobinterpreterPlugin: | |
| @hookimpl | |
| def tox_configure(self, config): | |
| self.config = config | |
| # postprocess config | |
| @hookimpl |
This file contains hidden or 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
| diff --git a/server/devpi_server/model.py b/server/devpi_server/model.py | |
| --- a/server/devpi_server/model.py | |
| +++ b/server/devpi_server/model.py | |
| @@ -421,6 +421,10 @@ class PrivateStage(BaseStage): | |
| def modify(self, index=None, **kw): | |
| attrs = get_ixconfigattrs(self.xom.config.hook, self.ixconfig["type"]) | |
| + if "type" in kw and kw["type"] not in ("mirror", "stage"): | |
| + raise InvalidIndexconfig( | |
| + ["invalid index type: %s" %(kw["type"],)]) |
This file contains hidden or 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
| diff --git a/server/tox.ini b/server/tox.ini | |
| --- a/server/tox.ini | |
| +++ b/server/tox.ini | |
| @@ -1,5 +1,5 @@ | |
| [tox] | |
| -envlist=py26,py27,py34,py35,pypy,py27-bare,flakes | |
| +envlist={py26,py27,py34,py35,pypy}-{sqlite,postgres},py27-bare,flakes | |
| #,gendeploy | |
| indexserver= | |
| pypi = https://pypi.python.org/simple |
This file contains hidden or 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
| ============================= test session starts ============================== | |
| platform linux -- Python 3.5.2, pytest-3.3.1, py-1.5.2, pluggy-0.6.0 | |
| rootdir: /home/hpk/p/pyac, inifile: tox.ini | |
| collected 27 items | |
| tests/test_crypto.py EEEEEEEE [ 29%] | |
| tests/test_message.py ..F..F..F.F...F.... [100%] | |
| ==================================== ERRORS ==================================== | |
| __________ ERROR at setup of TestCrypto.test_gen_key_and_get_keydata ___________ |
This file contains hidden or 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
| Return-Path: <holger@merlinux.eu> | |
| X-Original-To: holger@merlinux.eu | |
| Delivered-To: holger@merlinux.eu | |
| Received: from [127.0.0.1] (localhost [127.0.0.1]) | |
| (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) | |
| (No client certificate requested) | |
| by mail.merlinux.eu (Postfix) with ESMTPSA id 6DA04100406 | |
| for <holger@merlinux.eu>; Thu, 25 Jan 2018 17:45:35 +0000 (UTC) | |
| DMARC-Filter: OpenDMARC Filter v1.2.0 mail.merlinux.eu 6DA04100406 | |
| Authentication-Results: mail.merlinux.eu; dmarc=none header.from=merlinux.eu |