[petsc-dev] Sphinx error

Barry Smith bsmith at petsc.dev
Tue Jul 7 00:03:10 CDT 2020


  I never said there was anything wrong with Linux packaging, not at all. 

  NextStep had Frameworks that were adopted by Apple when it migrated to Unix and they looked pretty much the same as today, a wrapping up of a package, library and includes or applications, with versioning and dependencies on other Frameworks and certainly not carrying around inside them other pieces of packages. My point is Apple has a packaging system that goes way back, it is just that the open source community doesn't use it much hence you and others think it doesn't have a packaging system. It isn't really hard at all to make a Framework, just doesn't happen.

> On Jul 6, 2020, at 11:01 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> 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