Re: [Trac] CustomFieldAdminPlugin pip installation error

Jun Omae <[email protected]> Thu, 25 Jun 2026 04:26:10 +0900
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <CAEVLMahmh9DkoZarWAJ0Xi0_sW6vnsqEkLyJ27ZV0ipeVE42rw@mail.gmail.com>
--000000000000b9544c065504d91e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Try --no-build-isolation option for pip install.

E.g.
pip install --no-build-isolation
svn+https://trac-hacks.org/svn/customfieldadminplugin/1.2

Jun Omae <[email protected]> (=E5=A4=A7=E5=89=8D =E6=BD=A4)

On Thu, Jun 25, 2026 at 1:09 Jon McGlone <[email protected]> wrote:

> Running Trac 1.6 on a Windows 11 machine. Trac runs without any issues.
> I've installed several plugins without any issues.
>
> Yes, I know, Windows, it is the environment I'm forced to use.
>
> However when I try to install the CustomFieldAdminPlugin using the comman=
d:
>     pip install svn+https://trac-hacks.org/svn/customfieldadminplugin/1.2
>
> I get the following errors:
>
> C:\Users\jm\Downloads\Trac_Plugins>pip install svn+
> https://trac-hacks.org/svn/customfieldadminplugin/1.2
> Collecting svn+https://trac-hacks.org/svn/customfieldadminplugin/1.2
>   Checking out https://trac-hacks.org/svn/customfieldadminplugin/1.2 to
> C:\Users\jm\AppData\Local\Temp\pip-req-build-xdp5ppa1
>   Running command svn checkout --quiet --force-interactive
> https://trac-hacks.org/svn/customfieldadminplugin/1.2
> 'C:\Users\jm\AppData\Local\Temp\pip-req-build-xdp5ppa1'
>   Installing build dependencies ... done
>   Getting requirements to build wheel ... error
>   error: subprocess-exited-with-error
>
>   =C3=97 Getting requirements to build wheel did not run successfully.
>   =E2=94=82 exit code: 1
>   =E2=95=B0=E2=94=80> [20 lines of output]
>       Traceback (most recent call last):
>         File
> "C:\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_=
in_process.py",
> line 389, in <module>
>           main()
>         File
> "C:\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_=
in_process.py",
> line 373, in main
>           json_out["return_val"] =3D hook(**hook_input["kwargs"])
>                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>         File
> "C:\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_=
in_process.py",
> line 143, in get_requires_for_build_wheel
>           return hook(config_settings)
>                  ^^^^^^^^^^^^^^^^^^^^^
>         File
> "C:\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\overlay\Lib\site-p=
ackages\setuptools\build_meta.py",
> line 333, in get_requires_for_build_wheel
>           return self._get_build_requires(config_settings, requirements=
=3D[])
>                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=
^^
>         File
> "C:\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\overlay\Lib\site-p=
ackages\setuptools\build_meta.py",
> line 301, in _get_build_requires
>           self.run_setup()
>         File
> "C:\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\overlay\Lib\site-p=
ackages\setuptools\build_meta.py",
> line 520, in run_setup
>           super().run_setup(setup_script=3Dsetup_script)
>         File
> "C:\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\overlay\Lib\site-p=
ackages\setuptools\build_meta.py",
> line 317, in run_setup
>           exec(code, locals())
>         File "<string>", line 5, in <module>
>       ModuleNotFoundError: No module named 'trac'
>       [end of output]
>
>   note: This error originates from a subprocess, and is likely not a
> problem with pip.
> ERROR: Failed to build 'svn+
> https://trac-hacks.org/svn/customfieldadminplugin/1.2' when getting
> requirements to build wheel
>
> Can't figure out why this plugin installation is failing when all the
> other plugins I use install without issue.
>
> Thanks,
>
> -J
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To view this discussion visit
> https://groups.google.com/d/msgid/trac-users/5040b90c-5165-498d-a085-07cd=
f80cac07n%40googlegroups.com
> <https://groups.google.com/d/msgid/trac-users/5040b90c-5165-498d-a085-07c=
df80cac07n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
> .
>

--=20
You received this message because you are subscribed to the Google Groups "=
Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion visit https://groups.google.com/d/msgid/trac-users/=
CAEVLMahmh9DkoZarWAJ0Xi0_sW6vnsqEkLyJ27ZV0ipeVE42rw%40mail.gmail.com.

--000000000000b9544c065504d91e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Try=C2=A0<span style=3D"font-size:inherit;font-family:-ap=
ple-system,sans-serif">--no-build-isolation option for pip install.</span><=
/div><div dir=3D"auto"><span style=3D"font-size:inherit;font-family:-apple-=
system,sans-serif"><br></span></div><div dir=3D"auto"><span style=3D"font-s=
ize:inherit;font-family:-apple-system,sans-serif">E.g.</span></div><div dir=
=3D"auto"><span style=3D"font-size:inherit;font-family:-apple-system,sans-s=
erif">pip install=C2=A0</span><span style=3D"font-size:inherit;font-family:=
-apple-system,sans-serif">--no-build-isolation=C2=A0<div style=3D"font-size=
:inherit">svn+<a href=3D"https://trac-hacks.org/svn/customfieldadminplugin/=
1.2">https://trac-hacks.org/svn/customfieldadminplugin/1.2</a></div></span>=
</div><div><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature=
" data-smartmail=3D"gmail_signature">Jun Omae &lt;<a href=3D"mailto:jun66j5=
@gmail.com" target=3D"_blank">[email protected]</a>&gt; (=E5=A4=A7=E5=89=8D=
 =E6=BD=A4)</div></div></div><div><br><div class=3D"gmail_quote gmail_quote=
_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jun 25, 2026 at 1=
:09 Jon McGlone &lt;<a href=3D"mailto:[email protected]">[email protected]=
m</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Running Trac 1.6 o=
n a Windows 11 machine. Trac runs without any issues. I&#39;ve installed se=
veral plugins without any issues.=C2=A0<div><br></div><div>Yes, I know, Win=
dows, it is the environment I&#39;m forced to use.<div><br></div><div>Howev=
er when I try to install the=C2=A0CustomFieldAdminPlugin using the command:=
</div><div>=C2=A0 =C2=A0=C2=A0<span style=3D"color:rgb(102,0,0);font-size:1=
3px">pip install svn+<a href=3D"https://trac-hacks.org/svn/customfieldadmin=
plugin/1.2" target=3D"_blank">https://trac-hacks.org/svn/customfieldadminpl=
ugin/1.2</a></span></div><div><span style=3D"color:rgb(102,0,0);font-size:1=
3px"><br></span></div>I get the following errors:<div><span style=3D"color:=
rgb(102,0,0);font-size:13px"><br></span></div><div>C:\Users\jm\Downloads\Tr=
ac_Plugins&gt;pip install svn+<a href=3D"https://trac-hacks.org/svn/customf=
ieldadminplugin/1.2" target=3D"_blank">https://trac-hacks.org/svn/customfie=
ldadminplugin/1.2</a><br>Collecting svn+<a href=3D"https://trac-hacks.org/s=
vn/customfieldadminplugin/1.2" target=3D"_blank">https://trac-hacks.org/svn=
/customfieldadminplugin/1.2</a><br>=C2=A0 Checking out <a href=3D"https://t=
rac-hacks.org/svn/customfieldadminplugin/1.2" target=3D"_blank">https://tra=
c-hacks.org/svn/customfieldadminplugin/1.2</a> to C:\Users\jm\AppData\Local=
\Temp\pip-req-build-xdp5ppa1<br>=C2=A0 Running command svn checkout --quiet=
 --force-interactive <a href=3D"https://trac-hacks.org/svn/customfieldadmin=
plugin/1.2" target=3D"_blank">https://trac-hacks.org/svn/customfieldadminpl=
ugin/1.2</a> &#39;C:\Users\jm\AppData\Local\Temp\pip-req-build-xdp5ppa1&#39=
;<br>=C2=A0 Installing build dependencies ... done<br>=C2=A0 Getting requir=
ements to build wheel ... error<br>=C2=A0 error: subprocess-exited-with-err=
or<br><br>=C2=A0 =C3=97 Getting requirements to build wheel did not run suc=
cessfully.<br>=C2=A0 =E2=94=82 exit code: 1<br>=C2=A0 =E2=95=B0=E2=94=80&gt=
; [20 lines of output]<br>=C2=A0 =C2=A0 =C2=A0 Traceback (most recent call =
last):<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 File &quot;C:\Python311\Lib\site-pack=
ages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py&quot;, line 389=
, in &lt;module&gt;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 main()<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 File &quot;C:\Python311\Lib\site-packages\pip\_vendor\=
pyproject_hooks\_in_process\_in_process.py&quot;, line 373, in main<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 json_out[&quot;return_val&quot;] =3D hook(*=
*hook_input[&quot;kwargs&quot;])<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Fi=
le &quot;C:\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_pro=
cess\_in_process.py&quot;, line 143, in get_requires_for_build_wheel<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return hook(config_settings)<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 File &quot;C:\Users\jm\AppData\Local\Temp\pip=
-build-env-x8arqra6\overlay\Lib\site-packages\setuptools\build_meta.py&quot=
;, line 333, in get_requires_for_build_wheel<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 return self._get_build_requires(config_settings, requirements=3D[])=
<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^=
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 File &quot;C:\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\ove=
rlay\Lib\site-packages\setuptools\build_meta.py&quot;, line 301, in _get_bu=
ild_requires<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.run_setup()<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 File &quot;C:\Users\jm\AppData\Local\Temp\pip-buil=
d-env-x8arqra6\overlay\Lib\site-packages\setuptools\build_meta.py&quot;, li=
ne 520, in run_setup<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 super().run_setu=
p(setup_script=3Dsetup_script)<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 File &quot;C:=
\Users\jm\AppData\Local\Temp\pip-build-env-x8arqra6\overlay\Lib\site-packag=
es\setuptools\build_meta.py&quot;, line 317, in run_setup<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 exec(code, locals())<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Fi=
le &quot;&lt;string&gt;&quot;, line 5, in &lt;module&gt;<br>=C2=A0 =C2=A0 =
=C2=A0 ModuleNotFoundError: No module named &#39;trac&#39;<br>=C2=A0 =C2=A0=
 =C2=A0 [end of output]<br><br>=C2=A0 note: This error originates from a su=
bprocess, and is likely not a problem with pip.<br>ERROR: Failed to build &=
#39;svn+<a href=3D"https://trac-hacks.org/svn/customfieldadminplugin/1.2" t=
arget=3D"_blank">https://trac-hacks.org/svn/customfieldadminplugin/1.2</a>&=
#39; when getting requirements to build wheel<span style=3D"color:rgb(102,0=
,0);font-size:13px"></span></div><div><br></div><div>Can&#39;t figure out w=
hy this plugin installation is failing when all the other plugins I use ins=
tall without issue.</div><div><br></div><div>Thanks,</div><div><br></div><d=
iv>-J</div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]" target=
=3D"_blank">trac-users+unsubscribe-/[email protected]</a>.<br>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/5040b90c-5165-498d-a085-07cdf80cac07n%40googlegroups.com?utm_med=
ium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">https://groups.googl=
e.com/d/msgid/trac-users/5040b90c-5165-498d-a085-07cdf80cac07n%40googlegrou=
ps.com</a>.<br>
</blockquote></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use=
rs+unsubscribe-/[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/CAEVLMahmh9DkoZarWAJ0Xi0_sW6vnsqEkLyJ27ZV0ipeVE42rw%40mail.gmail=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/trac-users/CAEVLMahmh9DkoZarWAJ0Xi0_sW6vnsqEkLyJ27ZV0ipeVE42rw%40mail.g=
mail.com</a>.<br />

--000000000000b9544c065504d91e--