A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-May/157480.html below:

[Python-Dev] Feature request: Change a Dependency Package Version During Package Initiation

[Python-Dev] Feature request: Change a Dependency Package Version During Package Initiation [Python-Dev] Feature request: Change a Dependency Package Version During Package InitiationQ qiang.fang at zoho.com.cn
Fri May 17 04:09:45 EDT 2019
A lot of the Python code we use in production are used directly as imports in other python



distributions (such as the python comes with the finite element software Abaqus and MSC Marc), many

packages (such as matplotlib, numpy) that may have varying versioned dependencies, which makes it is

a pain to get all these dependencies met in those close source python distributions.



The work around is to let a version to be set within a package and have that propagate to all

modules in that package. For example in the root init.py if I set tonado version to be 2.2.1 then

all modules in that package will use tornado 2.2.1 when I import tornado.



See a relevant issue of a similar package on github:

https://github.com/mitsuhiko/multiversion/issues/1



Thank you!

Qiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190517/6df771b2/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4