pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

pre-commit.ci preparing metadata failure #164

Closed bjlittle closed 1 year ago

bjlittle commented 1 year ago

Hi @asottile !

Thanks for pre-commit.ci, it's fantastic! :smile:

Unfortunately, I'm experiencing an issue with pre-commit.ci during the Preparing metadata step.

Specifically, see this pre-commit.ci log for geovista.

I've not made any changes to my repo package dependencies or .pre-commit-config.yaml nor pyproject.toml, and prior CI runs were operational yesterday (30 Jan 2023).

I noticed that there was a patch release of pre-commit v3.0.2 a few hours ago... could this be related to the failure that I'm experiencing? Not sure how to move forwards to resolve this. Can you help?

Hope you can help diagnose and advise?

Many thanks :+1:

Guts commented 1 year ago

Same issue here, every runs are failing:

asottile commented 1 year ago

search the issue tracker or the Internet for duplicates please

bjlittle commented 1 year ago

See https://github.com/PyCQA/isort/issues/2077

bjlittle commented 1 year ago

Ping @Guts

For those that follow, the fix is to set the version of the isort pre-commit hook to as least 5.12.0 in your .pre-commit-config.yaml :+1:

Guts commented 1 year ago

search the issue tracker or the Internet for duplicates please

The search leaded me to this issue :wink: .

Ping @Guts

For those that follow, the fix is to set the version of the isort pre-commit hook to as least 5.12.0 in your .pre-commit-config.yaml +1

Thanks a lot @bjlittle, I've already seen the fix and started to apply it.