[Distutils] Facing a strange issue while uploading my package using devpi

Dustin Ingram di at di.codes
Sun Apr 8 08:16:21 EDT 2018


This is likely the reason why:
https://github.com/devpi/devpi/issues/524#comment-379020251

On Sat, Apr 7, 2018, 10:45 PM Vinay Sharma <vinays75 at gmail.com> wrote:

> Thanks to all who provided their valuable comments for this Issue.
>
> Based upon the pointer provided by Dan, figured out there was a
> discrepancy in the devpi version on my machine vs Jenkins build machine.
> After upgrading the devpi on the Jenkins build machine the problem went
> away although I am still puzzled why it came in the first place. Anyways
> problem resolved.
>
> Learned my lesson in a hard way : always keep the build and configuration
> tools up-to-date.
>
> Regards
> -Vinay Sharma
>
> On Mon, Apr 2, 2018 at 7:54 PM, Dan Stromberg <drsalists at gmail.com> wrote:
>
>> On Mon, Apr 2, 2018 at 4:38 PM, Vinay Sharma <vinays75 at gmail.com> wrote:
>> > Here are the answers to your questions and some new insights which I
>> found
>> > today :-
>> > a) This problem happens during the Jenkins Job only. I tried the build
>> steps
>> > manually on my local code base (which were exactly same as my Jenkins
>> Job)
>> > and it uploaded the distribution file perfectly.
>>
>> Often when the same commands produce different results under 2
>> different accounts on the same computer, it's because of an
>> environment variable difference:
>>
>> I wrote this years ago to help track down env var issues:
>> http://stromberg.dnsalias.org/~strombrg/env-search.html
>>
>> HTH
>>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20180408/6b237d0f/attachment.html>


More information about the Distutils-SIG mailing list