home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1562851680

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1562851680 I_kwDOAMm_X85dJzlg 7490 `pre-commit` hooks broken 11656932 closed 0     1 2023-01-30T17:19:49Z 2023-01-30T18:15:50Z 2023-01-30T18:15:50Z CONTRIBUTOR      

What happened?

When I attempt to run pre-commit locally I get the following error:

``` ❯ pre-commit run --all-files [INFO] Installing environment for https://github.com/PyCQA/isort. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... An unexpected error has occurred: CalledProcessError: command: ('/Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/bin/python', '-mpip', 'install', '.') return code: 1 expected return code: 0 stdout: Processing /Users/james/.cache/pre-commit/repo_eax0t7q Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'error'

stderr: DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. ERROR: Command errored out with exit status 1: command: /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/bin/python /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/k/lx1rdvqn253gd1wrcx__5frm0000gn/T/tmphq1i398_ cwd: /private/var/folders/k_/lx1rdvqn253gd1wrcx__5frm0000gn/T/pip-req-build-4ywk4y5l Complete output (14 lines): Traceback (most recent call last): File "/Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/vendor/pep517/in_process/_in_process.py", line 280, in <module> main() File "/Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 133, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "/private/var/folders/k/lx1rdvqn253gd1wrcx__5frm0000gn/T/pip-build-env-bvdexj4q/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 40, in prepare_metadata_for_build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False) File "/private/var/folders/k_/lx1rdvqn253gd1wrcx__5frm0000gn/T/pip-build-env-bvdexj4q/overlay/lib/python3.9/site-packages/poetry/core/factory.py", line 57, in create_poetry raise RuntimeError("The Poetry configuration is invalid:\n" + message) RuntimeError: The Poetry configuration is invalid: - [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'

    ----------------------------------------
WARNING: Discarding file:///Users/james/.cache/pre-commit/repo_eax0t7q. Command errored out with exit status 1: /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/bin/python /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/k_/lx1rdvqn253gd1wrcx__5frm0000gn/T/tmphq1i398_ Check the logs for full command output.
ERROR: Command errored out with exit status 1: /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/bin/python /Users/james/.cache/pre-commit/repo_eax0t7q/py_env-python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/k_/lx1rdvqn253gd1wrcx__5frm0000gn/T/tmphq1i398_ Check the logs for full command output.

Check the log at /Users/james/.cache/pre-commit/pre-commit.log ```

It also looks like we're seeing the same thing in CI https://results.pre-commit.ci/run/github/13221727/1675098797.6-zAnTMbQXC74StmKz5PFw

What did you expect to happen?

No response

Minimal Complete Verifiable Example

No response

MVCE confirmation

  • [ ] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
  • [ ] Complete example — the example is self-contained, including all data and the text of any traceback.
  • [ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
  • [ ] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output

No response

Anything else we need to know?

No response

Environment

``` INSTALLED VERSIONS ------------------ commit: 12f6d2449b478afbcf442a39bc3f0048b1fa8c29 python: 3.9.6 | packaged by conda-forge | (default, Jul 11 2021, 03:36:15) [Clang 11.1.0 ] python-bits: 64 OS: Darwin OS-release: 22.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.10.6 libnetcdf: 4.7.4 xarray: 0.19.0 pandas: 1.3.2 numpy: 1.21.2 scipy: 1.7.1 netCDF4: 1.5.6 pydap: installed h5netcdf: 0.11.0 h5py: 3.3.0 Nio: None zarr: 2.8.3 cftime: 1.5.0 nc_time_axis: 1.3.1 PseudoNetCDF: installed rasterio: 1.2.6 cfgrib: 0.9.9.0 iris: 3.0.4 bottleneck: 1.3.2 dask: 2023.1.1+1.ga8327a35c distributed: 2023.1.1 matplotlib: 3.4.3 cartopy: 0.19.0.post1 seaborn: 0.11.2 numbagg: 0.2.1 fsspec: 2021.06.1 cupy: None pint: 0.17 sparse: 0.13.0 flox: None numpy_groupies: None setuptools: 57.4.0 pip: 21.2.4 conda: None pytest: 6.2.4 mypy: None IPython: None sphinx: None ```
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7490/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.766ms · About: xarray-datasette