Re: Is missing python3-docs in EL9 a problem?

2022-03-05 Thread Miro Hrončok

On 05. 03. 22 19:34, Orion Poplawski wrote:
I've been poking at some packages that BR python3-docs, like 
python-zope-event.  This apparently comes from a sphinx inventory:


# Use local objects.inv for intersphinx
sed -i "s|\('https://docs\.python\.org/': 
\)None|\1'%{_docdir}/python3-docs/html/objects.inv'|" docs/conf.py


If I build without python3-docs present I get the following message but the 
build succeeds:


Running Sphinx v3.4.3
making output directory... done
loading intersphinx inventory from 
/usr/share/doc/python3-docs/html/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python3-docs/html/objects.inv' not 
fetchable due to : [Errno 2] No such file or 
directory: '/usr/share/doc/python3-docs/html/objects.inv'



Is this a problem or can we safely ignore it?


If docs/conf.py wasn't patched, you would get a standard error that objects.inv 
cannot be fetched from https://docs.python.org.


I suspect many packages have that error and only couple of packagers started to 
pacth docs/conf.py to use python3-docs. I always considered that quite 
interesting but not important enough to do it myself.


Is there a better way to remove 
the intersphinx dep?


Don't patch/sed docs/conf.py and let it do what it does by default.


If not, how best to get python3-docs into EL9?


Package it into EPEL 9 if you really thing the instersphinx links are worth it.

It is a separate component, not a python3(.9) subpackage.

https://src.fedoraproject.org/rpms/python3-docs/


On 05. 03. 22 19:52, Neal Gompa wrote:

File a BZ against python3 in RHEL 9 to ask for it to be shipped.


That is not helpful. It's not built from python3(.9), it cannot just be 
shipped, it would need to be added to RHEL 9 as a new component.


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is missing python3-docs in EL9 a problem?

2022-03-05 Thread Orion Poplawski

On 3/5/22 11:52, Neal Gompa wrote:

On Sat, Mar 5, 2022 at 1:35 PM Orion Poplawski  wrote:


I've been poking at some packages that BR python3-docs, like
python-zope-event.  This apparently comes from a sphinx inventory:

# Use local objects.inv for intersphinx
sed -i "s|\('https://docs\.python\.org/':
\)None|\1'%{_docdir}/python3-docs/html/objects.inv'|" docs/conf.py

If I build without python3-docs present I get the following message but
the build succeeds:

Running Sphinx v3.4.3
making output directory... done
loading intersphinx inventory from
/usr/share/doc/python3-docs/html/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python3-docs/html/objects.inv' not
fetchable due to : [Errno 2] No such file or
directory: '/usr/share/doc/python3-docs/html/objects.inv'


Is this a problem or can we safely ignore it?  Is there a better way to
remove the intersphinx dep?

If not, how best to get python3-docs into EL9?



File a BZ against python3 in RHEL 9 to ask for it to be shipped.


Okay, I've filed https://bugzilla.redhat.com/show_bug.cgi?id=2061108

--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/


smime.p7s
Description: S/MIME Cryptographic Signature
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is missing python3-docs in EL9 a problem?

2022-03-05 Thread Neal Gompa
On Sat, Mar 5, 2022 at 1:35 PM Orion Poplawski  wrote:
>
> I've been poking at some packages that BR python3-docs, like
> python-zope-event.  This apparently comes from a sphinx inventory:
>
> # Use local objects.inv for intersphinx
> sed -i "s|\('https://docs\.python\.org/':
> \)None|\1'%{_docdir}/python3-docs/html/objects.inv'|" docs/conf.py
>
> If I build without python3-docs present I get the following message but
> the build succeeds:
>
> Running Sphinx v3.4.3
> making output directory... done
> loading intersphinx inventory from
> /usr/share/doc/python3-docs/html/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory '/usr/share/doc/python3-docs/html/objects.inv' not
> fetchable due to : [Errno 2] No such file or
> directory: '/usr/share/doc/python3-docs/html/objects.inv'
>
>
> Is this a problem or can we safely ignore it?  Is there a better way to
> remove the intersphinx dep?
>
> If not, how best to get python3-docs into EL9?
>

File a BZ against python3 in RHEL 9 to ask for it to be shipped.



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Is missing python3-docs in EL9 a problem?

2022-03-05 Thread Orion Poplawski
I've been poking at some packages that BR python3-docs, like 
python-zope-event.  This apparently comes from a sphinx inventory:


# Use local objects.inv for intersphinx
sed -i "s|\('https://docs\.python\.org/': 
\)None|\1'%{_docdir}/python3-docs/html/objects.inv'|" docs/conf.py


If I build without python3-docs present I get the following message but 
the build succeeds:


Running Sphinx v3.4.3
making output directory... done
loading intersphinx inventory from 
/usr/share/doc/python3-docs/html/objects.inv...

WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory '/usr/share/doc/python3-docs/html/objects.inv' not 
fetchable due to : [Errno 2] No such file or 
directory: '/usr/share/doc/python3-docs/html/objects.inv'



Is this a problem or can we safely ignore it?  Is there a better way to 
remove the intersphinx dep?


If not, how best to get python3-docs into EL9?

Thanks.


--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/


smime.p7s
Description: S/MIME Cryptographic Signature
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure