[Bug 2231848] New: kernel module drpm incorrectly packaged
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2231848
Bug ID: 2231848
Summary: kernel module drpm incorrectly packaged
Product: Fedora
Version: 38
Hardware: x86_64
OS: Linux
Status: NEW
Component: fedora-packager
Keywords: Regression
Severity: medium
Assignee: mboddu(a)bhujji.com
Reporter: john.mellor(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: davide(a)cavalca.name,
epel-packagers-sig(a)lists.fedoraproject.org,
infra-sig(a)lists.fedoraproject.org, mboddu(a)bhujji.com,
rhbugs(a)n-dimensional.de
Target Milestone: ---
Classification: Fedora
ownloading Packages:
(1/7): kernel-modules-extra-6.4.9-200.fc38_6.4. 2.9 MB/s | 1.2 MB 00:00
(2/7): kernel-6.4.10-200.fc38.x86_64.rpm 1.5 MB/s | 140 kB 00:00
(3/7): kernel-modules-6.4.9-200.fc38_6.4.10-200 15 MB/s | 35 MB 00:02
(4/7): kernel-modules-core-6.4.9-200.fc38_6.4.1 7.2 MB/s | 20 MB 00:02
(5/7): kernel-core-6.4.10-200.fc38.x86_64.rpm 5.8 MB/s | 16 MB 00:02
(6/7): highway-1.0.5-1.fc38.x86_64.rpm 470 kB/s | 478 kB 00:01
(7/7): libxmlb-0.3.12-1.fc38.x86_64.rpm 186 kB/s | 116 kB 00:00
/var/cache/dnf/updates-b7ba662710b98f1a/packages/kernel-modules-extra-6.4.9-200.fc38_6.4.10-200.fc38.x86_64.drpm:
md5 mismatch of result
/var/cache/dnf/updates-b7ba662710b98f1a/packages/kernel-modules-core-6.4.9-200.fc38_6.4.10-200.fc38.x86_64.drpm:
md5 mismatch of result
/var/cache/dnf/updates-b7ba662710b98f1a/packages/kernel-modules-6.4.9-200.fc38_6.4.10-200.fc38.x86_64.drpm:
md5 mismatch of result
Some packages were not downloaded. Retrying.
(1/3): kernel-modules-extra-6.4.10-200.fc38.x86_64.rpm
4.3 MB/s | 2.6 MB 00:00
(2/3): kernel-modules-core-6.4.10-200.fc38.x86_64.rpm
17 MB/s | 31 MB 00:01
(3/3): kernel-modules-6.4.10-200.fc38.x86_64.rpm
15 MB/s | 56 MB 00:03
-------------------------------------------------------------------------------------------------------------------------------------------------------
Total
3.5 MB/s | 162 MB 00:45
Failed Delta RPMs increased 105.5 MB of updates to 162.3 MB (35.0% wasted)
Reproducible: Didn't try
Steps to Reproduce:
1.Download today's updates
2.Note failed drpm checksum, causing fallback to rpm download
Actual Results:
download falls back to rpm, increasing download costs
Expected Results:
drpm should work properly
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2231848
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
9 months, 1 week
[Bug 2219975] New: F39FailsToInstall: python3-dlrn
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2219975
Bug ID: 2219975
Summary: F39FailsToInstall: python3-dlrn
Product: Fedora
Version: rawhide
Status: NEW
Component: dlrn
Assignee: kkula(a)redhat.com
Reporter: fti-bugs(a)fedoraproject.org
QA Contact: extras-qa(a)fedoraproject.org
CC: epel-packagers-sig(a)lists.fedoraproject.org,
jpena(a)redhat.com, kkula(a)redhat.com,
openstack-sig(a)lists.fedoraproject.org
Blocks: 2168845 (F39FailsToInstall,RAWHIDEFailsToInstall)
Target Milestone: ---
Classification: Fedora
Hello,
Please note that this comment was generated automatically by
https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at
https://pagure.io/releng/
Your package (dlrn) Fails To Install in Fedora 39:
can't install python3-dlrn:
- nothing provides python(abi) = 3.11 needed by
python3-dlrn-0.14.0-12.fc37.noarch
If you know about this problem and are planning on fixing it, please
acknowledge so by setting the bug status to ASSIGNED. If you don't have time to
maintain this package, consider orphaning it, so maintainers of dependent
packages realize the problem.
If you don't react accordingly to the policy for FTBFS/FTI bugs
(https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fai...),
your package may be orphaned in 8+ weeks.
P.S. The data was generated solely from koji buildroot, so it might be newer
than the latest compose or the content on mirrors. To reproduce, use the
koji/local repo only, e.g. in mock:
$ mock -r fedora-39-x86_64 --config-opts mirrored=False install
python3-dlrn
P.P.S. If this bug has been reported in the middle of upgrading multiple
dependent packages, please consider using side tags:
https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter...
Thanks!
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2168845
[Bug 2168845] Fedora 39 Fails To install Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2219975
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
9 months, 1 week
[Bug 2221987] New: python-matplotlib fails to build with Sphinx 7.x
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2221987
Bug ID: 2221987
Summary: python-matplotlib fails to build with Sphinx 7.x
Product: Fedora
Version: rawhide
Status: NEW
Component: python-matplotlib
Assignee: quantum.analyst(a)gmail.com
Reporter: ksurma(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: epel-packagers-sig(a)lists.fedoraproject.org,
gwync(a)protonmail.com,
paulo.cesar.pereira.de.andrade(a)gmail.com,
python-packagers-sig(a)lists.fedoraproject.org,
quantum.analyst(a)gmail.com, tomspur(a)fedoraproject.org
Blocks: 2188968
Target Milestone: ---
Classification: Fedora
python-matplotlib fails to build with Sphinx 7.x in Fedora 39 (currently
Rawhide).
The issue detected - 6 tests fail
________________________________ test_tinypages
________________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0')
def test_tinypages(tmp_path):
shutil.copytree(Path(__file__).parent / 'tinypages', tmp_path,
dirs_exist_ok=True)
html_dir = tmp_path / '_build' / 'html'
img_dir = html_dir / '_images'
doctree_dir = tmp_path / 'doctrees'
# Build the pages with warnings turned into errors
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir),
str(Path(__file__).parent / 'tinypages'), str(html_dir)]
# On CI, gcov emits warnings (due to agg headers being included with
the
# same name in multiple extension modules -- but we don't care about
their
# coverage anyways); hide them using GCOV_ERROR_FILE.
proc = Popen(
cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": "", "GCOV_ERROR_FILE":
os.devnull})
out, err = proc.communicate()
# Build the pages with warnings turned into errors
> build_sphinx_html(tmp_path, doctree_dir, html_dir)
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:53:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_tinypages0/_build/html')
extra_args = []
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29:
Failed
_______________________ test_plot_html_show_source_link
________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0')
def test_plot_html_show_source_link(tmp_path):
parent = Path(__file__).parent
shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
doctree_dir = tmp_path / 'doctrees'
(tmp_path / 'index.rst').write_text("""
.. plot::
plt.plot(range(2))
""")
# Make sure source scripts are created by default
html_dir1 = tmp_path / '_build' / 'html1'
> build_sphinx_html(tmp_path, doctree_dir, html_dir1)
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:133:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_plot_html_show_source_lin0/_build/html1')
extra_args = []
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29:
Failed
________________________ test_show_source_link_true[0]
_________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0')
plot_html_show_source_link = 0
@pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
def test_show_source_link_true(tmp_path, plot_html_show_source_link):
# Test that a source link is generated if :show-source-link: is true,
# whether or not plot_html_show_source_link is true.
parent = Path(__file__).parent
shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
doctree_dir = tmp_path / 'doctrees'
(tmp_path / 'index.rst').write_text("""
.. plot::
:show-source-link: true
plt.plot(range(2))
""")
html_dir = tmp_path / '_build' / 'html'
> build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
'-D', f'plot_html_show_source_link={plot_html_show_source_link}'])
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_0_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=0']
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29:
Failed
________________________ test_show_source_link_true[1]
_________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0')
plot_html_show_source_link = 1
@pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
def test_show_source_link_true(tmp_path, plot_html_show_source_link):
# Test that a source link is generated if :show-source-link: is true,
# whether or not plot_html_show_source_link is true.
parent = Path(__file__).parent
shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
doctree_dir = tmp_path / 'doctrees'
(tmp_path / 'index.rst').write_text("""
.. plot::
:show-source-link: true
plt.plot(range(2))
""")
html_dir = tmp_path / '_build' / 'html'
> build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
'-D', f'plot_html_show_source_link={plot_html_show_source_link}'])
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_true_1_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=1']
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29:
Failed
________________________ test_show_source_link_false[0]
________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0')
plot_html_show_source_link = 0
@pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
def test_show_source_link_false(tmp_path, plot_html_show_source_link):
# Test that a source link is NOT generated if :show-source-link: is
false,
# whether or not plot_html_show_source_link is true.
parent = Path(__file__).parent
shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
doctree_dir = tmp_path / 'doctrees'
(tmp_path / 'index.rst').write_text("""
.. plot::
:show-source-link: false
plt.plot(range(2))
""")
html_dir = tmp_path / '_build' / 'html'
> build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
'-D', f'plot_html_show_source_link={plot_html_show_source_link}'])
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_0_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=0']
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:29:
Failed
________________________ test_show_source_link_false[1]
________________________
[gw0] linux -- Python 3.12.0 /usr/bin/python3
tmp_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0')
plot_html_show_source_link = 1
@pytest.mark.parametrize('plot_html_show_source_link', [0, 1])
def test_show_source_link_false(tmp_path, plot_html_show_source_link):
# Test that a source link is NOT generated if :show-source-link: is
false,
# whether or not plot_html_show_source_link is true.
parent = Path(__file__).parent
shutil.copyfile(parent / 'tinypages/conf.py', tmp_path / 'conf.py')
shutil.copytree(parent / 'tinypages/_static', tmp_path / '_static')
doctree_dir = tmp_path / 'doctrees'
(tmp_path / 'index.rst').write_text("""
.. plot::
:show-source-link: false
plt.plot(range(2))
""")
html_dir = tmp_path / '_build' / 'html'
> build_sphinx_html(tmp_path, doctree_dir, html_dir, extra_args=[
'-D', f'plot_html_show_source_link={plot_html_show_source_link}'])
../../BUILDROOT/python-matplotlib-3.7.2-1.fc39.x86_64/usr/lib64/python3.12/site-packages/matplotlib/tests/test_sphinxext.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0')
doctree_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0/doctrees')
html_dir =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test_show_source_link_false_1_0/_build/html')
extra_args = ['-D', 'plot_html_show_source_link=1']
def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):
# Build the pages with warnings turned into errors
extra_args = [] if extra_args is None else extra_args
cmd = [sys.executable, '-msphinx', '-W', '-b', 'html',
'-d', str(doctree_dir), str(source_dir), str(html_dir),
*extra_args]
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, universal_newlines=True,
env={**os.environ, "MPLBACKEND": ""})
out, err = proc.communicate()
assert proc.returncode == 0, \
f"sphinx build failed with stdout:\n{out}\nstderr:\n{err}\n"
if err:
> pytest.fail(f"sphinx build emitted the following warnings:\n{err}")
E Failed: sphinx build emitted the following warnings:
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is
deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check
CHANGES for Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import SkipProgressMessage, progress_message
E
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26:
RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is
deprecated, use 'sphinx.http_date.epoch_to_rfc1123' instead. Check CHANGES for
Sphinx API modifications.
E from sphinx.util import progress_message
For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/doc-stack/package/python-m...
You can test you package in mock running:
$ mock -r fedora-rawhide-x86_64
--addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/
--no-clean your.src.rpm
$ mock -r fedora-rawhide-x86_64
--addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/doc-stack/fedora-rawhide-x86_64/
shell
We'd like to include Sphinx 7 in Fedora 39.
Let us know here if you have any questions. Thank you!
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2188968
[Bug 2188968] python-sphinx-7.0.1 is available
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2221987
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
9 months, 1 week