Skip to content

Update modulegraph to 0.17#75

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-modulegraph-0.12-to-0.17
Closed

Update modulegraph to 0.17#75
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-modulegraph-0.12-to-0.17

Conversation

@pyup-bot
Copy link

@pyup-bot pyup-bot commented Nov 1, 2018

This PR updates modulegraph from 0.12 to 0.17.

Changelog

0.17

----

* The .pyc format changed a little in Python 3.7

0.16

----

Features:

* Add LICENSE file to distribution

* Don't rely on pkg_resources to calculate package version

* Replace use of ``optparse`` by ``argparse`` as the former is deprecated

Patch by htgoebel

* Attempt to reduce the maximum recursion needed to create the ModuleGraph

* Don't include the file type in the result from ``zipio.getmode``

* Fix mismatched indents/dedents in ModuleGraph debug output

Patch by codewarrior0

Bug fixes:

* Testsuite now passes on Windows (testd through appveyor)

This only required changes to remove platform dependencies
from the test suite.

0.15

----

Features:

* Issue 39: Traceback with for a syntax error when compiling async function

On Python 3.5 some (invalid) async function definitions caused a modulegraph
traceback, instead of adding "InvalidSourceModule" nodes to the graph.

* Issue 40: The graph now contains nodes of type "InvalidRelativeImport" for
attempts to use relative imports that walk outside of a toplevel
package.

* Module ``modulegraph.find_modules`` can no longer be used a script,
use ``python -m modulegraph`` instead.

Bugfixes:

* Issue 38: Dot output broken in Python 3

Patch by user elnuno on bitbucket.

* Issue 36: Make sure test suite works on systems other than macOS

Patch by Hartmut Goebel

* Add support for "async def" to the AST scanner, needed to
properly recognize imports in async function definitions.

0.14

----

Bugfixes:

* 33: Error scanning bytecode on python 3.4 or later

The code using ``dis.get_instructions`` to scan the bytecode
on Python 3.4 or later didn't work properly causing problems
when trying to scan bytecode.

0.13

----

* Various documentation fixes by Thomas Kluyver.

* Fix incompatibility with recent versions of setuptools

See also `issue 206 in py2apps tracker <https://bitbucket.org/ronaldoussoren/py2app/issues/206/py2app-doesnt-work-with-release-433-of>`_ for more information.

* Python 3: Ignore BOM at start of input files when compiling them.

This matches the behavior of CPython, and avoids hard to diagnose problems.
See also `issue 178 in the py2app tracker <https://bitbucket.org/ronaldoussoren/py2app/issues/178/python-3-syntaxerror-invalid-character-in>`_

* Python 3.6 introduced a new bytecode format (wordcode), adjust the
bytecode scanner for that.

0.12.1

------

* Issue 25: Complex python files could cause an "maximum recursion depth exceeded"
exception due to using stack-based recursion to walk the module AST.
Links

@pyup-bot
Copy link
Author

Closing this in favor of #94

@pyup-bot pyup-bot closed this Jan 15, 2020
@wettenhj wettenhj deleted the pyup-update-modulegraph-0.12-to-0.17 branch January 15, 2020 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments