Skip to content

Analyze Lobster with dependency tool to understand how to plan Py3 migration #656

@klannon

Description

@klannon

For converting from Py2 to Py3, it's helpful to know if we can work in subsets. However, you can't convert c.py to Py3 if it imports a and b from a.py and b.py which are still written in Py2. There are techniques for analyzing your tree of imports/dependencies. For example, Dario Mapelli used pydeps for the WMCore py3 migration.

See: https://cms-dmwm-test.docs.cern.ch/py2py3/tools/pydeps/

(Actually, that whole site is a really great resource, but note that we don't need to make Lobster compatible with both Py2 and Py3. We can just update it to Py3 and move forward, which is a bit simpler than what Dario was working on.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions