It appears that I'm going to have to abandon my Pipenv setup and start 
again from scratch using the more traditional virtualenv setup.  I've run 
into another issue with Pipenv which is due to the Python 2.7 environment 
I'm  currently locked in to and which the Pipenv developer isn't interested 
in addressing because Python 2.7 is EOL.

It's a shame as I've found with my other Python projects (albeit all Python 
3) that Pipenv provides *much* simpler installation/deployment work 
environment management than the older virtualenv+pip system.

Cheers,

On Sunday, 26 June 2022 at 10:14:15 UTC+8 Jun Omae wrote:

> If the version "0.0" leads the issue, that is a pipenv issue. Please ask 
> on pipenv community rather than here.
>
> On Sun, Jun 26, 2022 at 10:51 Rob Hills <rcp....@gmail.com> wrote:
>
>> Hi Jun,
>>
>> Many thanks for your reply.  Unfortunately it does not resolve my 
>> problem. 
>>
>> Pipenv also permits installation from SVN repositories and even zipped 
>> filesets.  In my installation, I have already installed TracSqlHelperScript 
>> and TicketSidebarProviderPlugin.  Here are the relevant entries from my 
>> Pipfile:
>>
>> tracsqlhelper = {file = "
>> https://trac-hacks.org/browser/tracsqlhelperscript/1.2?format=zip"}
>> ticketsidebarprovider = {svn = "
>> https://trac-hacks.org/svn/ticketsidebarproviderplugin/0.11"}
>>
>> I've checked my .venv/lib/python2.7/site-packages/ folder and both those 
>> pre-requisite packages seem to be installed:
>>
>> $ ls -al .venv/lib/python2.7/site-packages/
>> drwxr-sr-x   3 admin webapps   4096 Jun 25 16:34 ticketsidebarprovider
>> drwxr-sr-x   2 admin webapps   4096 Jun 25 16:34 
>> TicketSidebarProvider-0.0.dist-info
>> <..>
>> drwxr-sr-x   2 admin webapps   4096 Jun 25 16:39 tracsqlhelper
>> drwxr-sr-x   2 admin webapps   4096 Jun 25 16:39 
>> TracSQLHelper-0.3.1.dist-info
>>
>> When I remove TracHours from my build, Pipenv builds it all without an 
>> error.  When I try and add Trachours, Pipenv complains with the error I 
>> detailed in my OP.   For the record, I have tried the suggestions outlined 
>> in the Pipenv error message, they haven't changed anything.
>>
>> Has anybody else built, using Pipenv, a Trac project that includes the 
>> TracHours plugin?
>>
>> TIA,
>>
>> Rob
>> Waikiki, Western Australia
>> On Saturday, 25 June 2022 at 23:53:35 UTC+8 Jun Omae wrote:
>>
>>> On Sat, Jun 25, 2022 at 6:35 PM Rob Hills <rcp....@gmail.com> wrote: 
>>> > I think this might be because the version specified in 
>>> TicketSidebarProviderPlugin's setup.py is 0.0. AFAICT, this should be set 
>>> to 0.11, the current version. 
>>> > Is there any reason the version should still be specified as 0.0? 
>>>
>>> No. The "0.11" means supports for Trac 0.11 (and maybe later). The 
>>> "0.0" version has no issues. 
>>>
>>> TicketSidebarProviderPlugin is unable to install via pip because the 
>>> plugin is not published on PyPI. Instead, required plugins should be 
>>> explicitly installed like: 
>>>
>>> $ pip install svn+https://trac-hacks.org/svn/tracsqlhelperscript/1.2/ \ 
>>> svn+https://trac-hacks.org/svn/ticketsidebarproviderplugin/0.11/ \ 
>>> svn+https://trac-hacks.org/svn/trachoursplugin/trunk/ 
>>>
>>>
>>>
>>> -- 
>>> Jun Omae <jun...@gmail.com> (大前 潤) 
>>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/trac-users/4f31a124-6f2e-407c-a1f1-10eba38796b8n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/trac-users/4f31a124-6f2e-407c-a1f1-10eba38796b8n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> Jun Omae <jun...@gmail.com> (大前 潤)
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6e8c839b-928b-4d6c-bcf5-b59b0a6d2815n%40googlegroups.com.

Reply via email to