Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix]: Update openpyxl and add upper limit for setuptools #883

Closed
wants to merge 1 commit into from

Conversation

aspeddro
Copy link
Contributor

@aspeddro aspeddro commented Nov 5, 2024

Pandas requer openpyxl 3.1.0 ou maior para ler arquivos xlsx.

Erro na pipeline br_mp_pep.cargos_funcoes

Task 'clean_data': Exception encountered during task execution!
Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/prefect/engine/task_runner.py", line 876, in get_task_run_state
    value = prefect.utilities.executors.run_task_with_timeout(
  File "/opt/venv/lib/python3.10/site-packages/prefect/utilities/executors.py", line 454, in run_task_with_timeout
    return task.run(*args, **kwargs)  # type: ignore
  File "/home/runner/work/pipelines/pipelines/pipelines/datasets/br_mp_pep_cargos_funcoes/tasks.py", line 344, in clean_data
  File "/home/runner/work/pipelines/pipelines/pipelines/datasets/br_mp_pep_cargos_funcoes/tasks.py", line 345, in <listcomp>
  File "/opt/venv/lib/python3.10/site-packages/pandas/io/excel/_base.py", line 495, in read_excel
    io = ExcelFile(
  File "/opt/venv/lib/python3.10/site-packages/pandas/io/excel/_base.py", line 1567, in __init__
    self._reader = self._engines[engine](
  File "/opt/venv/lib/python3.10/site-packages/pandas/io/excel/_openpyxl.py", line 552, in __init__
    import_optional_dependency("openpyxl")
  File "/opt/venv/lib/python3.10/site-packages/pandas/compat/_optional.py", line 164, in import_optional_dependency
    raise ImportError(msg)
ImportError: Pandas requires version '3.1.0' or newer of 'openpyxl' (version '3.0.9' currently installed).

@aspeddro aspeddro self-assigned this Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

Coverage

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 2 🔥 2.117s ⏱️

@aspeddro aspeddro closed this Nov 5, 2024
Copy link
Contributor

mergify bot commented Nov 5, 2024

⚠️ The sha of the head commit of this PR conflicts with #884. Mergify cannot evaluate rules on this PR. ⚠️

@aspeddro aspeddro deleted the update-openpyxl branch November 5, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant