{"action":"created","issue":{"url":"https://api.github.com/repos/eliben/pycparser/issues/147","repository_url":"https://api.github.com/repos/eliben/pycparser","labels_url":"https://api.github.com/repos/eliben/pycparser/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/eliben/pycparser/issues/147/comments","events_url":"https://api.github.com/repos/eliben/pycparser/issues/147/events","html_url":"https://github.com/eliben/pycparser/issues/147","id":180541300,"number":147,"title":"pycparser-2.14-py2.py3-none-any.whl causes AssertionError: sorry, but this version only supports 100 named groups","user":{"login":"smtakeda","id":169573,"avatar_url":"https://avatars.githubusercontent.com/u/169573?v=3","gravatar_id":"","url":"https://api.github.com/users/smtakeda","html_url":"https://github.com/smtakeda","followers_url":"https://api.github.com/users/smtakeda/followers","following_url":"https://api.github.com/users/smtakeda/following{/other_user}","gists_url":"https://api.github.com/users/smtakeda/gists{/gist_id}","starred_url":"https://api.github.com/users/smtakeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smtakeda/subscriptions","organizations_url":"https://api.github.com/users/smtakeda/orgs","repos_url":"https://api.github.com/users/smtakeda/repos","events_url":"https://api.github.com/users/smtakeda/events{/privacy}","received_events_url":"https://api.github.com/users/smtakeda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-02T22:59:59Z","updated_at":"2016-10-05T15:41:08Z","closed_at":"2016-10-03T14:53:19Z","body":"Looks like `pycparser-2.14-py2.py3-none-any.whl` is broken or something misconfigured, while `pycparser-2.14.tar.gz` is ok. After installing a Snowflake Connector for Python, a connector for Snowflake DB, this error happen: \r\n\r\n```\r\n>pip install -U snowflake-connector-python\r\n>python -c \"import snowflake.connector\"\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/tmp/t/lib/python2.7/site-packages/snowflake/connector/__init__.py\", line 21, in <module>\r\n    from .connection import SnowflakeConnection\r\n  File \"/tmp/t/lib/python2.7/site-packages/snowflake/connector/connection.py\", line 16, in <module>\r\n    from .cursor import SnowflakeCursor\r\n  File \"/tmp/t/lib/python2.7/site-packages/snowflake/connector/cursor.py\", line 30, in <module>\r\n    from .file_transfer_agent import (SnowflakeFileTransferAgent)\r\n  File \"/tmp/t/lib/python2.7/site-packages/snowflake/connector/file_transfer_agent.py\", line 29, in <module>\r\n    from .s3_util import (SnowflakeS3FileEncryptionMaterial, SnowflakeS3Util,\r\n  File \"/tmp/t/lib/python2.7/site-packages/snowflake/connector/s3_util.py\", line 25, in <module>\r\n    from Crypto.Cipher import AES\r\n  File \"/tmp/t/lib/python2.7/site-packages/Crypto/Cipher/__init__.py\", line 78, in <module>\r\n    from Crypto.Cipher._mode_ecb import _create_ecb_cipher\r\n  File \"/tmp/t/lib/python2.7/site-packages/Crypto/Cipher/_mode_ecb.py\", line 29, in <module>\r\n    from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,\r\n  File \"/tmp/t/lib/python2.7/site-packages/Crypto/Util/_raw_api.py\", line 89, in <module>\r\n    Array = ffi.new(\"char[1]\").__class__.__bases__\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/api.py\", line 248, in new\r\n    cdecl = self._typeof(cdecl)\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/api.py\", line 168, in _typeof\r\n    result = self._typeof_locked(cdecl)\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/api.py\", line 153, in _typeof_locked\r\n    type = self._parser.parse_type(cdecl)\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/cparser.py\", line 448, in parse_type\r\n    return self.parse_type_and_quals(cdecl)[0]\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/cparser.py\", line 451, in parse_type_and_quals\r\n    ast, macros = self._parse('void __dummy(\\n%s\\n);' % cdecl)[:2]\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/cparser.py\", line 260, in _parse\r\n    ast = _get_parser().parse(csource)\r\n  File \"/tmp/t/lib/python2.7/site-packages/cffi/cparser.py\", line 40, in _get_parser\r\n    _parser_cache = pycparser.CParser()\r\n  File \"/tmp/t/lib/python2.7/site-packages/pycparser/c_parser.py\", line 87, in __init__\r\n    outputdir=taboutputdir)\r\n  File \"/tmp/t/lib/python2.7/site-packages/pycparser/c_lexer.py\", line 66, in build\r\n    self.lexer = lex.lex(object=self, **kwargs)\r\n  File \"/tmp/t/lib/python2.7/site-packages/pycparser/ply/lex.py\", line 911, in lex\r\n    lexobj.readtab(lextab, ldict)\r\n  File \"/tmp/t/lib/python2.7/site-packages/pycparser/ply/lex.py\", line 233, in readtab\r\n    titem.append((re.compile(pat, lextab._lexreflags | re.VERBOSE), _names_to_funcs(func_name, fdict)))\r\n  File \"/tmp/t/lib/python2.7/re.py\", line 194, in compile\r\n    return _compile(pattern, flags)\r\n  File \"/tmp/t/lib/python2.7/re.py\", line 249, in _compile\r\n    p = sre_compile.compile(pattern, flags)\r\n  File \"/tmp/t/lib/python2.7/sre_compile.py\", line 583, in compile\r\n    \"sorry, but this version only supports 100 named groups\"\r\nAssertionError: sorry, but this version only supports 100 named groups\r\n```\r\n\r\nBut if I install it from source `pycparser-2.14.tar.gz`, it works\r\n\r\n```\r\n>pip install -U ~/Downloads/pycparser-2.14.tar.gz\r\nProcessing /Users/stakeda/Downloads/pycparser-2.14.tar.gz\r\nBuilding wheels for collected packages: pycparser\r\n  Running setup.py bdist_wheel for pycparser ... done\r\n  Stored in directory: /Users/stakeda/Library/Caches/pip/wheels/6e/f1/96/de2b8478c77d89fe540a5709a70e2cdc4e7331a3543cada3c1\r\nSuccessfully built pycparser\r\nInstalling collected packages: pycparser\r\n  Found existing installation: pycparser 2.13\r\n    Uninstalling pycparser-2.13:\r\n      Successfully uninstalled pycparser-2.13\r\nSuccessfully installed pycparser-2.14\r\n>python -c \"import snowflake.connector\"\r\n>\r\n```\r\n\r\nCould you rebuild a new wheel or remove it? Thanks."},"comment":{"url":"https://api.github.com/repos/eliben/pycparser/issues/comments/251712802","html_url":"https://github.com/eliben/pycparser/issues/147#issuecomment-251712802","issue_url":"https://api.github.com/repos/eliben/pycparser/issues/147","id":251712802,"user":{"login":"mriedem","id":3237936,"avatar_url":"https://avatars.githubusercontent.com/u/3237936?v=3","gravatar_id":"","url":"https://api.github.com/users/mriedem","html_url":"https://github.com/mriedem","followers_url":"https://api.github.com/users/mriedem/followers","following_url":"https://api.github.com/users/mriedem/following{/other_user}","gists_url":"https://api.github.com/users/mriedem/gists{/gist_id}","starred_url":"https://api.github.com/users/mriedem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriedem/subscriptions","organizations_url":"https://api.github.com/users/mriedem/orgs","repos_url":"https://api.github.com/users/mriedem/repos","events_url":"https://api.github.com/users/mriedem/events{/privacy}","received_events_url":"https://api.github.com/users/mriedem/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T15:41:08Z","updated_at":"2016-10-05T15:41:08Z","body":"I can say that OpenStack has been publishing wheels for it's many packages for awhile now."}}
{"actor":{"display_login":"mriedem"}}