Skip to content

Documentation interrupted due to an invalid SSL certificate #378

@thibaultcordier

Description

@thibaultcordier

Describe the bug
When the documentation was being created the following week, it was interrupted due to an invalid SSL certificate in one example (examples/regression/3-scientific-articles/plot_kim2020_simulations.py).

To Reproduce
Steps to reproduce the behavior:

  1. Run the code examples/regression/3-scientific-articles/plot_kim2020_simulations.py from a previous commit (614293e).

Expected behavior
Resolve the problem linked to the invalid SSL certificate.

Screenshots
See the following link: https://readthedocs.org/projects/mapie/builds/22535216/

WARNING: /home/docs/checkouts/readthedocs.org/user_builds/mapie/checkouts/375/examples/regression/3-scientific-articles/plot_kim2020_simulations.py failed to execute correctly: Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/checkouts/375/examples/regression/3-scientific-articles/plot_kim2020_simulations.py", line 491, in <module>
    results_coverages_widths = comparison_JAB(
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/checkouts/375/examples/regression/3-scientific-articles/plot_kim2020_simulations.py", line 312, in comparison_JAB
    (X, y) = get_X_y()
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/checkouts/375/examples/regression/3-scientific-articles/plot_kim2020_simulations.py", line 71, in get_X_y
    resp = urlopen(url)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/home/docs/checkouts/readthedocs.org/user_builds/mapie/conda/375/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1007)>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueEasy issue to start to contribute to MAPIE

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions