Bug 2098857 - F37FailsToInstall: python3-cartopy
Summary: F37FailsToInstall: python3-cartopy
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cartopy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2098793 2098799 2101991
Blocks: PYTHON3.11 F37FailsToInstall 2098788 2098922
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:34 UTC by Miro Hrončok
Modified: 2022-06-29 22:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-29 22:30:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SciTools cartopy issues 2051 0 None open Test failures with PROJ 9.0.1 2022-06-28 02:25:28 UTC

Description Miro Hrončok 2022-06-20 09:34:49 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (python-cartopy) Fails To Install in Fedora 37:

can't install python3-cartopy:
  - nothing provides python(abi) = 3.10 needed by python3-cartopy-0.20.2-2.fc37.x86_64
  - nothing provides python3.10dist(numpy) >= 1.18 needed by python3-cartopy-0.20.2-2.fc37.x86_64
  - nothing provides python3.10dist(matplotlib) >= 3.1 needed by python3-cartopy-0.20.2-2.fc37.x86_64
  - nothing provides python3.10dist(pyshp) >= 2.1 needed by python3-cartopy-0.20.2-2.fc37.x86_64
  - nothing provides python3.10dist(shapely) >= 1.6.4 needed by python3-cartopy-0.20.2-2.fc37.x86_64
  
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_Fails_to_install/), 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-37-x86_64 --disablerepo='*' --enablerepo=local install python3-cartopy


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-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:06:03 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Ben Beasley 2022-06-26 16:35:57 UTC
Failing scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=88763107

Failing test output (x86_64):

============================= test session starts ==============================
platform linux -- Python 3.11.0b3, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/build/BUILD/Cartopy-0.20.2
plugins: forked-1.4.0, xdist-2.5.0
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I
gw0 [622] / gw1 [622] / gw2 [622] / gw3 [622] / gw4 [622] / gw5 [622]
....s..................................................................... [ 11%]
........................................................................ [ 23%]
.....................................x.................................. [ 35%]
........................................................................ [ 46%]
..............F..F.....F..F.F..F.....FF....F..F......................... [ 58%]
..................................x..................................... [ 69%]
...................F....F............................................... [ 81%]
........................................................................ [ 92%]
............................................                             [100%]
=================================== FAILURES ===================================
______________________________ test_default[land] ______________________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'land'
    @pytest.mark.parametrize("emphasis", ["land", "ocean"])
    def test_default(emphasis):
        igh = ccrs.InterruptedGoodeHomolosine(emphasis=emphasis)
        other_args = {"ellps=WGS84", "lon_0=0"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
        assert_almost_equal(
            np.array(igh.x_limits), [-20037508.3427892, 20037508.3427892]
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:30: AssertionError
_____________________________ test_default[ocean] ______________________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'ocean'
    @pytest.mark.parametrize("emphasis", ["land", "ocean"])
    def test_default(emphasis):
        igh = ccrs.InterruptedGoodeHomolosine(emphasis=emphasis)
        other_args = {"ellps=WGS84", "lon_0=0"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
        assert_almost_equal(
            np.array(igh.x_limits), [-20037508.3427892, 20037508.3427892]
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:30: AssertionError
______________________________ test_ellipse_globe ______________________________
[gw5] linux -- Python 3.11.0 /usr/bin/python3
    def test_ellipse_globe():
        globe = ccrs.Globe(ellipse='WGS84')
        with pytest.warns(UserWarning,
                          match='does not handle elliptical globes.') as w:
            moll = ccrs.Mollweide(globe=globe)
            assert len(w) == 1
    
        other_args = {'ellps=WGS84', 'lon_0=0'}
        check_proj_params('moll', moll, other_args)
    
        # Limits are the same as default since ellipses are not supported.
        assert_almost_equal(moll.x_limits, [-18040095.6961473, 18040095.6961473])
>       assert_almost_equal(moll.y_limits, [-9020047.8480736, 9020047.8480736])
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017584
E       Max relative difference: 1.94946876e-11
E        x: array([-9020047.8478978,  9020047.8478978])
E        y: array([-9020047.8480736,  9020047.8480736])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_mollweide.py:52: AssertionError
______________________ test_central_longitude[land--10.0] ______________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'land', lon = -10.0
    @pytest.mark.parametrize(
        ("emphasis", "lon"),
        [("land", -10.0), ("land", 10.0), ("ocean", -10.0), ("ocean", 10.0)],
    )
    def test_central_longitude(emphasis, lon):
        igh = ccrs.InterruptedGoodeHomolosine(
            central_longitude=lon, emphasis=emphasis
        )
        other_args = {"ellps=WGS84", f"lon_0={lon}"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
    
        assert_almost_equal(
            np.array(igh.x_limits),
            [-20037508.3427892, 20037508.3427892],
            decimal=5,
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:68: AssertionError
_________________________________ test_default _________________________________
[gw4] linux -- Python 3.11.0 /usr/bin/python3
    def test_default():
        moll = ccrs.Mollweide()
        other_args = {'a=6378137.0', 'lon_0=0'}
        check_proj_params('moll', moll, other_args)
    
        assert_almost_equal(np.array(moll.x_limits),
                            [-18040095.6961473, 18040095.6961473])
>       assert_almost_equal(np.array(moll.y_limits),
                            [-9020047.8480736, 9020047.8480736])
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017584
E       Max relative difference: 1.94946876e-11
E        x: array([-9020047.8478978,  9020047.8478978])
E        y: array([-9020047.8480736,  9020047.8480736])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_mollweide.py:26: AssertionError
______________________ test_central_longitude[land-10.0] _______________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'land', lon = 10.0
    @pytest.mark.parametrize(
        ("emphasis", "lon"),
        [("land", -10.0), ("land", 10.0), ("ocean", -10.0), ("ocean", 10.0)],
    )
    def test_central_longitude(emphasis, lon):
        igh = ccrs.InterruptedGoodeHomolosine(
            central_longitude=lon, emphasis=emphasis
        )
        other_args = {"ellps=WGS84", f"lon_0={lon}"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
    
        assert_almost_equal(
            np.array(igh.x_limits),
            [-20037508.3427892, 20037508.3427892],
            decimal=5,
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:68: AssertionError
_____________________ test_central_longitude[ocean--10.0] ______________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'ocean', lon = -10.0
    @pytest.mark.parametrize(
        ("emphasis", "lon"),
        [("land", -10.0), ("land", 10.0), ("ocean", -10.0), ("ocean", 10.0)],
    )
    def test_central_longitude(emphasis, lon):
        igh = ccrs.InterruptedGoodeHomolosine(
            central_longitude=lon, emphasis=emphasis
        )
        other_args = {"ellps=WGS84", f"lon_0={lon}"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
    
        assert_almost_equal(
            np.array(igh.x_limits),
            [-20037508.3427892, 20037508.3427892],
            decimal=5,
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:68: AssertionError
________________________ test_central_longitude[-10.0] _________________________
[gw5] linux -- Python 3.11.0 /usr/bin/python3
lon = -10.0
    @pytest.mark.parametrize('lon', [-10.0, 10.0])
    def test_central_longitude(lon):
        moll = ccrs.Mollweide(central_longitude=lon)
        other_args = {'a=6378137.0', f'lon_0={lon}'}
        check_proj_params('moll', moll, other_args)
    
        assert_almost_equal(np.array(moll.x_limits),
                            [-18040095.6961473, 18040095.6961473],
                            decimal=5)
>       assert_almost_equal(np.array(moll.y_limits),
                            [-9020047.8480736, 9020047.8480736])
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017584
E       Max relative difference: 1.94946876e-11
E        x: array([-9020047.8478978,  9020047.8478978])
E        y: array([-9020047.8480736,  9020047.8480736])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_mollweide.py:89: AssertionError
______________________ test_central_longitude[ocean-10.0] ______________________
[gw0] linux -- Python 3.11.0 /usr/bin/python3
emphasis = 'ocean', lon = 10.0
    @pytest.mark.parametrize(
        ("emphasis", "lon"),
        [("land", -10.0), ("land", 10.0), ("ocean", -10.0), ("ocean", 10.0)],
    )
    def test_central_longitude(emphasis, lon):
        igh = ccrs.InterruptedGoodeHomolosine(
            central_longitude=lon, emphasis=emphasis
        )
        other_args = {"ellps=WGS84", f"lon_0={lon}"}
        if emphasis == "land":
            check_proj_params("igh", igh, other_args)
        elif emphasis == "ocean":
            check_proj_params("igh_o", igh, other_args)
    
        assert_almost_equal(
            np.array(igh.x_limits),
            [-20037508.3427892, 20037508.3427892],
            decimal=5,
        )
>       assert_almost_equal(
            np.array(igh.y_limits), [-8683259.7164347, 8683259.7164347]
        )
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017592
E       Max relative difference: 2.02598163e-11
E        x: array([-8683259.7162588,  8683259.7162588])
E        y: array([-8683259.7164347,  8683259.7164347])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_interrupted_goode_homolosine.py:68: AssertionError
_________________________ test_central_longitude[10.0] _________________________
[gw5] linux -- Python 3.11.0 /usr/bin/python3
lon = 10.0
    @pytest.mark.parametrize('lon', [-10.0, 10.0])
    def test_central_longitude(lon):
        moll = ccrs.Mollweide(central_longitude=lon)
        other_args = {'a=6378137.0', f'lon_0={lon}'}
        check_proj_params('moll', moll, other_args)
    
        assert_almost_equal(np.array(moll.x_limits),
                            [-18040095.6961473, 18040095.6961473],
                            decimal=5)
>       assert_almost_equal(np.array(moll.y_limits),
                            [-9020047.8480736, 9020047.8480736])
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 2 / 2 (100%)
E       Max absolute difference: 0.00017584
E       Max relative difference: 1.94946876e-11
E        x: array([-9020047.8478978,  9020047.8478978])
E        y: array([-9020047.8480736,  9020047.8480736])
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/crs/test_mollweide.py:89: AssertionError
________________________________ test_igh_land _________________________________
[gw5] linux -- Python 3.11.0 /usr/bin/python3
args = (), kwargs = {}, orig_backend = 'agg', r = None
figures = [<Figure size 640x480 with 1 Axes>]
figure = <Figure size 640x480 with 1 Axes>
    def wrapped(*args, **kwargs):
        orig_backend = plt.get_backend()
        plt.switch_backend('agg')
        mpl_setup()
    
        if plt.get_fignums():
            warnings.warn('Figures existed before running the %s %s test.'
                          ' All figures should be closed after they run. '
                          'They will be closed automatically now.' %
                          (mod_name, test_name))
            plt.close('all')
    
        with mpl.style.context(self.style):
            if MPL_VERSION >= packaging.version.parse('3.2.0'):
                mpl.rcParams['text.kerning_factor'] = 6
    
            r = test_func(*args, **kwargs)
    
            figures = [plt.figure(num) for num in plt.get_fignums()]
    
            try:
>               self.run_figure_comparisons(figures, test_name=mod_name)
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:212: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:146: in run_figure_comparisons
    self.do_compare(result_path, expected_path, self.tolerance)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <cartopy.tests.mpl.ImageTesting object at 0x7f018a317310>
result_fname = '/builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_land.png'
expected_fname = '/builddir/build/BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/baseline_images/mpl/test_crs/igh_land.png'
tol = 0.5
    def do_compare(self, result_fname, expected_fname, tol):
        """
        Runs the comparison of the result file with the expected file.
    
        If an RMS difference greater than ``tol`` is found an assertion
        error is raised with an appropriate message with the paths to
        the files concerned.
    
        """
        if not os.path.exists(expected_fname):
            warnings.warn('Created image in %s' % expected_fname)
            shutil.copy2(result_fname, expected_fname)
    
        err = mcompare.compare_images(expected_fname, result_fname,
                                      tol=tol, in_decorator=True)
    
        if err:
>           assert False, (
                f"Images were different (RMS: {err['rms']}).\n"
                f"{err['actual']} {err['expected']} {err['diff']}\n"
                f"Consider running idiff to inspect these differences.")
E           AssertionError: Images were different (RMS: 3.5342001688265103).
E           /builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_land.png /builddir/build/BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/baseline_images/mpl/test_crs/igh_land.png /builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_land-failed-diff.png
E           Consider running idiff to inspect these differences.
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:176: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
________________________________ test_igh_ocean ________________________________
[gw5] linux -- Python 3.11.0 /usr/bin/python3
args = (), kwargs = {}, orig_backend = 'agg', r = None
figures = [<Figure size 640x480 with 1 Axes>]
figure = <Figure size 640x480 with 1 Axes>
    def wrapped(*args, **kwargs):
        orig_backend = plt.get_backend()
        plt.switch_backend('agg')
        mpl_setup()
    
        if plt.get_fignums():
            warnings.warn('Figures existed before running the %s %s test.'
                          ' All figures should be closed after they run. '
                          'They will be closed automatically now.' %
                          (mod_name, test_name))
            plt.close('all')
    
        with mpl.style.context(self.style):
            if MPL_VERSION >= packaging.version.parse('3.2.0'):
                mpl.rcParams['text.kerning_factor'] = 6
    
            r = test_func(*args, **kwargs)
    
            figures = [plt.figure(num) for num in plt.get_fignums()]
    
            try:
>               self.run_figure_comparisons(figures, test_name=mod_name)
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:212: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:146: in run_figure_comparisons
    self.do_compare(result_path, expected_path, self.tolerance)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <cartopy.tests.mpl.ImageTesting object at 0x7f0189d79490>
result_fname = '/builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_ocean.png'
expected_fname = '/builddir/build/BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/baseline_images/mpl/test_crs/igh_ocean.png'
tol = 0.5
    def do_compare(self, result_fname, expected_fname, tol):
        """
        Runs the comparison of the result file with the expected file.
    
        If an RMS difference greater than ``tol`` is found an assertion
        error is raised with an appropriate message with the paths to
        the files concerned.
    
        """
        if not os.path.exists(expected_fname):
            warnings.warn('Created image in %s' % expected_fname)
            shutil.copy2(result_fname, expected_fname)
    
        err = mcompare.compare_images(expected_fname, result_fname,
                                      tol=tol, in_decorator=True)
    
        if err:
>           assert False, (
                f"Images were different (RMS: {err['rms']}).\n"
                f"{err['actual']} {err['expected']} {err['diff']}\n"
                f"Consider running idiff to inspect these differences.")
E           AssertionError: Images were different (RMS: 4.482087729693236).
E           /builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_ocean.png /builddir/build/BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/baseline_images/mpl/test_crs/igh_ocean.png /builddir/build/BUILD/Cartopy-0.20.2/cartopy_test_output/test_crs/result-igh_ocean-failed-diff.png
E           Consider running idiff to inspect these differences.
../../BUILDROOT/python-cartopy-0.20.2-3.fc37.x86_64/usr/lib64/python3.11/site-packages/cartopy/tests/mpl/__init__.py:176: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.testing:__init__.py:38 Could not set locale to English/United States. Some date-related tests may fail.
=============================== warnings summary ===============================
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
../../../../usr/lib/python3.11/site-packages/owslib/map/wms111.py:18
  /usr/lib/python3.11/site-packages/owslib/map/wms111.py:18: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi
tests/mpl/test_style.py::test_merge_warning[case1-False]
  /usr/lib/python3.11/site-packages/_pytest/python.py:192: PytestRemovedIn8Warning: Passing None has been deprecated.
  See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases.
    result = testfunction(**testargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_default[land] - A...
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_default[ocean] - ...
FAILED tests/crs/test_mollweide.py::test_ellipse_globe - AssertionError: 
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_central_longitude[land--10.0]
FAILED tests/crs/test_mollweide.py::test_default - AssertionError: 
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_central_longitude[land-10.0]
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_central_longitude[ocean--10.0]
FAILED tests/crs/test_mollweide.py::test_central_longitude[-10.0] - Assertion...
FAILED tests/crs/test_interrupted_goode_homolosine.py::test_central_longitude[ocean-10.0]
FAILED tests/crs/test_mollweide.py::test_central_longitude[10.0] - AssertionE...
FAILED tests/mpl/test_crs.py::test_igh_land - AssertionError: Images were dif...
FAILED tests/mpl/test_crs.py::test_igh_ocean - AssertionError: Images were di...
====== 12 failed, 607 passed, 1 skipped, 2 xfailed, 7 warnings in 31.68s =======

Comment 3 Miro Hrončok 2022-06-27 14:57:09 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

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.

Comment 4 Elliott Sales de Andrade 2022-06-28 02:24:33 UTC
Those failures are from Proj 9.0.1; working on this upstream.


Note You need to log in before you can comment on or make changes to this bug.