[petsc-dev] Sphinx error

Jed Brown jed at jedbrown.org
Mon Jul 6 23:01:55 CDT 2020


Barry Smith <bsmith at petsc.dev> writes:

>   Apple introduced the concept of Framework for packaging long before
>   Linux had half-way decent package managers. 

Debian debuted in 1996 with hundreds of packages and sufficient package management to enable continuous upgrades through to the modern era (no reinstall; e.g., https://lwn.net/Articles/226110/).

You can blame Linux distros for lots of things, but reliable package management ain't one of them.

>   And it is not bad, manages versions, packaging, all the stuff you
>   need. But because it is slightly different than the traditional Unix
>   approaches and the Apple world used to be much smaller in open
>   source users the open source community never adopted it as the way
>   to deliver packages on Apple, they instead built Linux like package
>   manager clones and totally by-passed the Framework approach. I don't
>   think you can blame Apple; they do have a reasonable packaging
>   system, the open source community just doesn't use it. I use to
>   build PETSc frameworks for Apple but doubt that a single person used
>   them so I stopped.
>
>
>
>> On Jul 6, 2020, at 10:08 PM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> I don't envy the Brew developers who take the blame when Apple breaks things underneath them.  I still boggle at the fact that the clear majority of people use operating systems that lack integrated package management.  This problem has been solved for 25 years.
>> 
>> Barry Smith <bsmith at petsc.dev> writes:
>> 
>>>  My fault, for some reason sphinx from brew installed its own private python so I had to do the pip at that.
>>> 
>>> 
>>> 
>>>> On Jul 6, 2020, at 9:03 PM, Jed Brown <jed at jedbrown.org> wrote:
>>>> 
>>>> Barry Smith <bsmith at petsc.dev> writes:
>>>> 
>>>>> Apple's python 2 doesn't use pip
>>>>> 
>>>>> $ sudo easy_install src/docs/sphinx_docs/requirements.txt
>>>>> Processing requirements.txt
>>>>> error: Not a recognized archive type: src/docs/sphinx_docs/requirements.txt
>>>>> 
>>>>> Is this thing supported only for python3?
>>>> 
>>>> Perhaps.  Python2 is EOL.  Try this
>>>> 
>>>> python3 -m pip install --user -r src/docs/sphinx_docs/requirements.txt


More information about the petsc-dev mailing list