Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15368

pybuild and optional dependencies

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 <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject pybuild and optional dependencies
Date Mon, 18 Dec 2023 11:10:01 +0100
Message-ID <HMiJr-eokf-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Dec 18 10:06:12 2023
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
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 <debian-python@lists.debian.org> archive/latest/21313
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

pybuild and optional dependencies PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-12-18 11:10 +0100
  Re: pybuild and optional dependencies Stefano Rivera <stefanor@debian.org> - 2023-12-24 14:00 +0100

csiph-web