Path: csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: pybuild and optional dependencies Date: Mon, 18 Dec 2023 11:10:01 +0100 Message-ID: X-Original-To: debian-python X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 18 10:06:12 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-2.208 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 X-Greylist: delayed 494 seconds by postgrey-1.36 at bendel; Mon, 18 Dec 2023 09:50:11 UTC Dkim-Filter: OpenDKIM Filter v2.10.3 zmtaout06.partage.renater.fr 86CF9100148 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_4562 (ZimbraWebClient - FF115 (Linux)/8.8.15_GA_3) Thread-Index: S9LLh/xeVV532rnSPcBK/Hd/p75tIQ== Thread-Topic: pybuild and optional dependencies X-Virus-Status: Clean X-Renater-Ptge-Spamstate: clean X-Renater-Ptge-Spamcause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddtkedgtdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvkffugggtgffothesthejtgdtiidtjeenucfhrhhomheprffkveevtecuhfhrvgguvghrihgtqdfgmhhmrghnuhgvlhcuoehfrhgvuggvrhhitgdqvghmmhgrnhhuvghlrdhpihgttggrsehshihntghhrhhothhrohhnqdhsohhlvghilhdrfhhrqeenucggtffrrghtthgvrhhnpedvveduiefgkeelieejkeehfedtiefhheefkeduvdfhleduudefkeeujeekuedtgeenucfkphepuddtrddvheegrddvgedtrddugeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddtrddvheegrddvgedtrddugeehpdhhvghlohepiihsthhorhgvqdgsfedqtdduvddrphgrrhhtrghgvgdrrhgvnhgrthgvrhdrfhhrpdhmrghilhhfrhhomheprffkveevtecuhfhrvgguvghrihgtqdfgmhhmrghnuhgvlhcuoehfrhgvuggvrhhitgdqvghmmhgrnhhuvghlrdhpihgttggrsehshihntghhrhhothhrohhnqdhsohhlvghilhdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeguvggsihgrnhdqphihthhhohhnsehlihhsthhsrdguvggsihgrnhdrohhrgh X-Mailing-List: archive/latest/21313 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1767546796.1460425.1702892512835.JavaMail.zimbra@synchrotron-soleil.fr Approved: robomod@news.nic.it Lines: 105 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 18 Dec 2023 10:41:52 +0100 (CET) X-Original-Message-ID: <1767546796.1460425.1702892512835.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:15368 Hello, I am updating the xraylarch package which contain something like this in the setup.cfg ``` install_requires = asteval>=0.9.28 numpy>=1.20 scipy>=1.7 uncertainties>=3.1.4 lmfit>=1.2.1 pyshortcuts>=1.9.0 xraydb>=4.5 silx>=0.15.2 matplotlib>=3.5 sqlalchemy>=2.0 sqlalchemy_utils h5py>=3.2 hdf5plugin pillow>=8.3.2 numdifftools pandas packaging pip pyyaml toml termcolor dill imageio charset-normalizer peakutils requests scikit-image scikit-learn psutil pymatgen mp_api pycifrw fabio pyfai numexpr==2.8.4; python_version < '3.9' numexpr>=2.8.7; python_version > '3.8' [options.extras_require] wxgui = wxpython>=4.1 wxutils>=0.3.0 wxmplot>=0.9.57 qtgui = PyQt5 pyqtwebengine pyqtgraph epics = pyepics>=3.5.0 psycopg2-binary jupyter = jupyter_core>=5.0 jupyter_client jupyter_server notebook nbformat ipywidgets plotly py3dmol doc = sphinx numpydoc sphinxcontrib-bibtex sphinxcontrib-argdoc pycairo; platform_system=="Windows" dev = pytest pytest-cov coverage build pre-commit twine larix = %(wxgui)s %(jupyter)s all = %(dev)s %(doc)s %(wxgui)s %(qtgui)s %(jupyter)s %(epics)s ``` When I compile the package, I got the dh_python3 computed runtime dependencies from the install_requires. Now I would like to build this package but with the larix optional dependencies. so I added all the dependencies in the Build-Depends, but dh_python3 still produce the previous dependencies. How can I teach pybuild that I really want xraylarch[larix] ? thanks Frederic