<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="2">Sorry,</font></p>
<p><font size="2">forgot the list in the To: adress.</font></p>
<div class="moz-forward-container"><br>
<br>
-------- Weitergeleitete Nachricht --------
<table cellpadding="0" cellspacing="0" border="0"
class="moz-email-headers-table">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Betreff:
</th>
<td>Re: How to define conditional dependencies in
pyproject.toml</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Datum: </th>
<td>Sun, 10 Aug 2025 12:11:40 +0200</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Von: </th>
<td>Detlev Offenbach <a class="moz-txt-link-rfc2396E" href="mailto:detlev@die-offenbachs.de"><detlev@die-offenbachs.de></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">An: </th>
<td>JakobDev <a class="moz-txt-link-rfc2396E" href="mailto:jakobdev@gmx.de"><jakobdev@gmx.de></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="2">Hi,</font></p>
<p><font size="2">that is what I expected (unfortunately). My
issue is not so much related to building the wheel but
installing it. As my tests showed, when there is an
'unsuitable' version of PyQt6 already installed (e.g. 6.7.0),
installing any other PyQt6 package (e.g. pyqt6-webengine) with
a newer version (e.g. with pip install
pyqt6-webengine>=6.2.0) will neither upgrade the already
installed PyQt6 package nor throw an error. However, when
trying to import the newer package, an error will be thrown. I
hoped for a way to avoid such a nasty situation already during
the installation process.</font></p>
<p><font size="2">Regards,<br>
Detlev</font></p>
<div class="moz-cite-prefix">Am 10.08.25 um 10:01 schrieb
JakobDev:<br>
</div>
<blockquote type="cite"
cite="mid:b6db7b06-2348-4658-96e7-32e77e4093af@gmx.de">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<p>As far as I know this can't be done in a pyproject.toml
directly. But you can write a custom build backend with a
python function that returns the requirements. So you can sue
custom code to finding out the requirements. See <a
class="moz-txt-link-freetext"
href="https://setuptools.pypa.io/en/latest/build_meta.html"
moz-do-not-send="true">https://setuptools.pypa.io/en/latest/build_meta.html</a>.</p>
<div class="moz-cite-prefix">Am 09.08.25 um 18:41 schrieb Detlev
Offenbach:<br>
</div>
<blockquote type="cite"
cite="mid:13667f5f-dccd-4fa5-80a5-39c78c6cd269@die-offenbachs.de">
<meta http-equiv="content-type"
content="text/html; charset=UTF-8">
<p><font size="2">Hello,</font></p>
<p><font size="2">I would like to modify the eric-ide
pyproject.toml file such, that some dependencies get
installed depending on the PyQt6 version installed (or
selected). Specifically I would like PyQt6-Graphs being
installed, if PyQt6 version is >= 6.8.0, and
PyQt6-Charts gets installed, if PyQt6 version is <
6.8.0. </font></p>
<p><font size="2">How do I specify that in the pyproject.toml
file?</font></p>
<p><font size="2">Regards,<br>
Detlev</font></p>
<pre class="moz-signature" cols="72">--
Detlev Offenbach
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:detlev@die-offenbachs.de" moz-do-not-send="true">detlev@die-offenbachs.de</a></pre>
</blockquote>
</blockquote>
<pre class="moz-signature" cols="72">--
Detlev Offenbach
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:detlev@die-offenbachs.de" moz-do-not-send="true">detlev@die-offenbachs.de</a></pre>
</div>
</body>
</html>