{"action":"closed","number":116,"pull_request":{"url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116","id":193475638,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDc1NjM4","html_url":"https://github.com/alphagov/notifications-ftp/pull/116","diff_url":"https://github.com/alphagov/notifications-ftp/pull/116.diff","patch_url":"https://github.com/alphagov/notifications-ftp/pull/116.patch","issue_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/116","number":116,"state":"closed","locked":false,"title":"Update cffi to 1.11.5","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"body":"\nThis PR updates [cffi](https://pypi.org/project/cffi) from **1.10.0** to **1.11.5**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 1.11.5\n   ```\n   =======\n\n* `Issue 357`_: fix ``ffi.emit_python_code()`` which generated a buggy\n  Python file if you are using a ``struct`` with an anonymous ``union``\n  field or vice-versa.\n\n* Windows: ``ffi.dlopen()`` should now handle unicode filenames.\n\n* ABI mode: implemented ``ffi.dlclose()`` for the in-line case (it used\n  to be present only in the out-of-line case).\n\n* Fixed a corner case for ``setup.py install --record=xx --root=yy``\n  with an out-of-line ABI module.  Also fixed `Issue 345`_.\n\n* More hacks on Windows for running CFFI&#39;s own ``setup.py``.\n\n* `Issue 358`_: in embedding, to protect against (the rare case of)\n  Python initialization from several threads in parallel, we have to use\n  a spin-lock.  On CPython 3 it is worse because it might spin-lock for\n  a long time (execution of ``Py_InitializeEx()``).  Sadly, recent\n  changes to CPython make that solution needed on CPython 2 too.\n\n* CPython 3 on Windows: we no longer compile with ``Py_LIMITED_API``\n  by default because such modules cannot be used with virtualenv.\n  `Issue 350`_ mentions a workaround if you still want that and are not\n  concerned about virtualenv: pass a ``define_macros=[(&quot;Py_LIMITED_API&quot;,\n  None)]`` to the ``ffibuilder.set_source()`` call.\n\n.. _`Issue 345`: https://bitbucket.org/cffi/cffi/issues/345/\n.. _`Issue 350`: https://bitbucket.org/cffi/cffi/issues/350/\n.. _`Issue 358`: https://bitbucket.org/cffi/cffi/issues/358/\n.. _`Issue 357`: https://bitbucket.org/cffi/cffi/issues/357/\n   ```\n   \n  \n  \n   ### 1.11.4\n   ```\n   =======\n\n* Windows: reverted linking with ``python3.dll``, because\n  virtualenv does not make this DLL available to virtual environments\n  for now.  See `Issue 355`_.  On Windows only, the C extension\n  modules created by cffi follow for now the standard naming scheme\n  ``foo.cp36-win32.pyd``, to make it clear that they are regular\n  CPython modules depending on ``python36.dll``.\n\n.. _`Issue 355`: https://bitbucket.org/cffi/cffi/issues/355/\n   ```\n   \n  \n  \n   ### 1.11.3\n   ```\n   =======\n\n* Fix on CPython 3.x: reading the attributes ``__loader__`` or\n  ``__spec__`` from the cffi-generated lib modules gave a buggy\n  SystemError.  (These attributes are always None, and provided only to\n  help compatibility with tools that expect them in all modules.)\n\n* More Windows fixes: workaround for MSVC not supporting large\n  literal strings in C code (from\n  ``ffi.embedding_init_code(large_string)``); and an issue with\n  ``Py_LIMITED_API`` linking with ``python35.dll/python36.dll`` instead\n  of ``python3.dll``.\n\n* Small documentation improvements.\n   ```\n   \n  \n  \n   ### 1.11.2\n   ```\n   =======\n\n* Fix Windows issue with managing the thread-state on CPython 3.0 to 3.5\n   ```\n   \n  \n  \n   ### 1.11.1\n   ```\n   =======\n\n* Fix tests, remove deprecated C API usage\n\n* Fix (hack) for 3.6.0/3.6.1/3.6.2 giving incompatible binary extensions\n  (cpython issue `29943`_)\n\n* Fix for 3.7.0a1+\n\n.. _`29943`: https://bugs.python.org/issue29943\n   ```\n   \n  \n  \n   ### 1.11\n   ```\n   =====\n\n* Support the modern standard types ``char16_t`` and ``char32_t``.\n  These work like ``wchar_t``: they represent one unicode character, or\n  when used as ``charN_t *`` or ``charN_t[]`` they represent a unicode\n  string.  The difference with ``wchar_t`` is that they have a known,\n  fixed size.  They should work at all places that used to work with\n  ``wchar_t`` (please report an issue if I missed something).  Note\n  that with ``set_source()``, you need to make sure that these types are\n  actually defined by the C source you provide (if used in ``cdef()``).\n\n* Support the C99 types ``float _Complex`` and ``double _Complex``.\n  Note that libffi doesn&#39;t support them, which means that in the ABI\n  mode you still cannot call C functions that take complex numbers\n  directly as arguments or return type.\n\n* Fixed a rare race condition when creating multiple ``FFI`` instances\n  from multiple threads.  (Note that you aren&#39;t meant to create many\n  ``FFI`` instances: in inline mode, you should write ``ffi =\n  cffi.FFI()`` at module level just after ``import cffi``; and in\n  out-of-line mode you don&#39;t instantiate ``FFI`` explicitly at all.)\n\n* Windows: using callbacks can be messy because the CFFI internal error\n  messages show up to stderr---but stderr goes nowhere in many\n  applications.  This makes it particularly hard to get started with the\n  embedding mode.  (Once you get started, you can at least use\n  ``ffi.def_extern(onerror=...)`` and send the error logs where it\n  makes sense for your application, or record them in log files, and so\n  on.)  So what is new in CFFI is that now, on Windows CFFI will try to\n  open a non-modal MessageBox (in addition to sending raw messages to\n  stderr).  The MessageBox is only visible if the process stays alive:\n  typically, console applications that crash close immediately, but that\n  is also the situation where stderr should be visible anyway.\n\n* Progress on support for `callbacks in NetBSD`__.\n\n* Functions returning booleans would in some case still return 0 or 1\n  instead of False or True.  Fixed.\n\n* `ffi.gc()`__ now takes an optional third parameter, which gives an\n  estimate of the size (in bytes) of the object.  So far, this is only\n  used by PyPy, to make the next GC occur more quickly (`issue 320`__).\n  In the future, this might have an effect on CPython too (provided\n  the CPython `issue 31105`__ is addressed).\n\n* Add a note to the documentation: the ABI mode gives function objects\n  that are *slower* to call than the API mode does.  For some reason it\n  is often thought to be faster.  It is not!\n\n.. __: https://bitbucket.org/cffi/cffi/issues/321/cffi-191-segmentation-fault-during-self\n.. __: ref.htmlffi-gc\n.. __: https://bitbucket.org/cffi/cffi/issues/320/improve-memory_pressure-management\n.. __: http://bugs.python.org/issue31105\n\n\nOlder Versions\n==============\n   ```\n   \n  \n  \n   ### 1.10.1\n   ```\n   -------\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/cffi\n  - Changelog: https://pyup.io/changelogs/cffi/\n  - Docs: http://cffi.readthedocs.org\n</details>\n\n","created_at":"2018-06-07T23:43:21Z","updated_at":"2018-07-13T09:48:51Z","closed_at":"2018-07-13T09:48:51Z","merged_at":null,"merge_commit_sha":"a5062deee50f9c33bd44e214936023c6baed5868","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116/commits","review_comments_url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116/comments","review_comment_url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/116/comments","statuses_url":"https://api.github.com/repos/alphagov/notifications-ftp/statuses/92fa99e0006d682838a0aad107ffee0c05ce5f57","head":{"label":"alphagov:pyup-update-cffi-1.10.0-to-1.11.5","ref":"pyup-update-cffi-1.10.0-to-1.11.5","sha":"92fa99e0006d682838a0aad107ffee0c05ce5f57","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":59823639,"node_id":"MDEwOlJlcG9zaXRvcnk1OTgyMzYzOQ==","name":"notifications-ftp","full_name":"alphagov/notifications-ftp","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/notifications-ftp","description":"Sends letters from GOV.UK Notify to DVLA over FTP","fork":false,"url":"https://api.github.com/repos/alphagov/notifications-ftp","forks_url":"https://api.github.com/repos/alphagov/notifications-ftp/forks","keys_url":"https://api.github.com/repos/alphagov/notifications-ftp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/notifications-ftp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/notifications-ftp/teams","hooks_url":"https://api.github.com/repos/alphagov/notifications-ftp/hooks","issue_events_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/notifications-ftp/events","assignees_url":"https://api.github.com/repos/alphagov/notifications-ftp/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/notifications-ftp/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/notifications-ftp/tags","blobs_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/notifications-ftp/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/notifications-ftp/languages","stargazers_url":"https://api.github.com/repos/alphagov/notifications-ftp/stargazers","contributors_url":"https://api.github.com/repos/alphagov/notifications-ftp/contributors","subscribers_url":"https://api.github.com/repos/alphagov/notifications-ftp/subscribers","subscription_url":"https://api.github.com/repos/alphagov/notifications-ftp/subscription","commits_url":"https://api.github.com/repos/alphagov/notifications-ftp/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/notifications-ftp/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/notifications-ftp/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/notifications-ftp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/notifications-ftp/merges","archive_url":"https://api.github.com/repos/alphagov/notifications-ftp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/notifications-ftp/downloads","issues_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/notifications-ftp/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/notifications-ftp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/notifications-ftp/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/notifications-ftp/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/notifications-ftp/deployments","created_at":"2016-05-27T09:41:19Z","updated_at":"2018-07-13T09:47:04Z","pushed_at":"2018-07-13T09:48:48Z","git_url":"git://github.com/alphagov/notifications-ftp.git","ssh_url":"git@github.com:alphagov/notifications-ftp.git","clone_url":"https://github.com/alphagov/notifications-ftp.git","svn_url":"https://github.com/alphagov/notifications-ftp","homepage":"","size":208,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"8122b60c962f2d75c25adae8aedf48b3980caf0a","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":59823639,"node_id":"MDEwOlJlcG9zaXRvcnk1OTgyMzYzOQ==","name":"notifications-ftp","full_name":"alphagov/notifications-ftp","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/notifications-ftp","description":"Sends letters from GOV.UK Notify to DVLA over FTP","fork":false,"url":"https://api.github.com/repos/alphagov/notifications-ftp","forks_url":"https://api.github.com/repos/alphagov/notifications-ftp/forks","keys_url":"https://api.github.com/repos/alphagov/notifications-ftp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/notifications-ftp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/notifications-ftp/teams","hooks_url":"https://api.github.com/repos/alphagov/notifications-ftp/hooks","issue_events_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/notifications-ftp/events","assignees_url":"https://api.github.com/repos/alphagov/notifications-ftp/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/notifications-ftp/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/notifications-ftp/tags","blobs_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/notifications-ftp/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/notifications-ftp/languages","stargazers_url":"https://api.github.com/repos/alphagov/notifications-ftp/stargazers","contributors_url":"https://api.github.com/repos/alphagov/notifications-ftp/contributors","subscribers_url":"https://api.github.com/repos/alphagov/notifications-ftp/subscribers","subscription_url":"https://api.github.com/repos/alphagov/notifications-ftp/subscription","commits_url":"https://api.github.com/repos/alphagov/notifications-ftp/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/notifications-ftp/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/notifications-ftp/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/notifications-ftp/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/notifications-ftp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/notifications-ftp/merges","archive_url":"https://api.github.com/repos/alphagov/notifications-ftp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/notifications-ftp/downloads","issues_url":"https://api.github.com/repos/alphagov/notifications-ftp/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/notifications-ftp/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/notifications-ftp/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/notifications-ftp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/notifications-ftp/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/notifications-ftp/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/notifications-ftp/deployments","created_at":"2016-05-27T09:41:19Z","updated_at":"2018-07-13T09:47:04Z","pushed_at":"2018-07-13T09:48:48Z","git_url":"git://github.com/alphagov/notifications-ftp.git","ssh_url":"git@github.com:alphagov/notifications-ftp.git","clone_url":"https://github.com/alphagov/notifications-ftp.git","svn_url":"https://github.com/alphagov/notifications-ftp","homepage":"","size":208,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116"},"html":{"href":"https://github.com/alphagov/notifications-ftp/pull/116"},"issue":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/issues/116"},"comments":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/notifications-ftp/statuses/92fa99e0006d682838a0aad107ffee0c05ce5f57"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"leohemsted"}}