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

Rename ruff cli to ruff #164

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

raybellwaves
Copy link
Member

@raybellwaves raybellwaves commented Jan 24, 2024

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@raybellwaves
Copy link
Member Author

@conda-forge-admin, please rerender

@raybellwaves raybellwaves mentioned this pull request Jan 24, 2024
3 tasks
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/ruff-feedstock/actions/runs/7634703362.

@charliermarsh
Copy link
Contributor

I'm confused by the macOS failures, but the Linux successes look like progress.

@raybellwaves
Copy link
Member Author

raybellwaves commented Jan 24, 2024

I'm confused by the macOS failures, but the Linux successes look like progress.

Yeah something on the conda build side. Maybe a selector on the c libraries required for the build.

  error: linking with `x86_64-apple-darwin13.4.0-clang` failed: exit status: 1
    |
    = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/bin:/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/.cargo/bin:/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/bin:/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin:/Users/runner/miniforge3/condabin:/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/bin:/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin:/Users/runner/miniforge3/bin:/Users/runner/miniforge3/condabin:.:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.ghcup/bin" VSLANG="1033" ZERO_AR_DATE="1" "x86_64-apple-darwin13.4.0-clang" "-Wl,-exported_symbols_list,/tmp/rustcOiYBG2/list" "-arch" "x86_64" "-m64" "/tmp/rustcOiYBG2/symbols.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.00.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.01.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.02.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.03.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.04.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.05.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.06.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.07.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.08.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.09.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.10.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.11.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.12.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.13.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.14.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.serde_derive.9110f28d625ada7e-cgu.15.rcgu.o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.3s46cx4corv1zdey.rcgu.rmeta" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/serde_derive-915778f9e90192bb.5ydamuvt0t1obkc.rcgu.o" "-L" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps" "-L" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/libsyn-2a2c3095bf9affe1.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/libquote-3ba44ed3acd95fd2.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/libproc_macro2-ac861b91273b65e4.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/libunicode_ident-637d4c3247472152.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libproc_macro-40f3e17fdef36f48.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libstd-f4038c6a2122598b.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-4d5ab9013fdd121e.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libobject-a06a66efc4b44ca6.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-5ab035970e797532.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-df34c142418a2ac8.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libgimli-dbcd4dcfbda6fdbf.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b4a3aace37c012fb.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-6b29ce58982babf2.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-99d6689a246a8b6b.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-3ccc36334290888c.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-e6b42d0c074bdff6.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libadler-a36f9401955835a3.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libunwind-e88e61505c140ea2.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-56481735f90af261.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/liblibc-51841927df3cf5b1.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/liballoc-162d0e2e1ee955d8.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-1ec4c76e19c090bf.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libcore-37be1cf71fc9b666.rlib" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-11c3039f74959a20.rlib" "-lSystem" "-lc" "-lm" "-L" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/target/release/deps/libserde_derive-915778f9e90192bb.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs"
    = note: ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libproc_macro-40f3e17fdef36f48.rlib(proc_macro-40f3e17fdef36f48.proc_macro.240d0af719a034c3-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libstd-f4038c6a2122598b.rlib(std-f4038c6a2122598b.std.69f244de2863e905-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libcore-37be1cf71fc9b666.rlib(core-37be1cf71fc9b666.core.7d2d2f04a0a3cf2a-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/liballoc-162d0e2e1ee955d8.rlib(alloc-162d0e2e1ee955d8.alloc.fff0538d66581e96-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-99d6689a246a8b6b.rlib(hashbrown-99d6689a246a8b6b.hashbrown.c743b20efa4748ed-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-b4a3aace37c012fb.rlib(rustc_demangle-b4a3aace37c012fb.rustc_demangle.b18344a65a1b5283-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libgimli-dbcd4dcfbda6fdbf.rlib(gimli-dbcd4dcfbda6fdbf.gimli.36b22656fcb21e6e-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libobject-a06a66efc4b44ca6.rlib(object-a06a66efc4b44ca6.object.d85107b3ba01949d-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-5ab035970e797532.rlib(memchr-5ab035970e797532.memchr.1e5a35017ac64385-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-df34c142418a2ac8.rlib(addr2line-df34c142418a2ac8.addr2line.fe8816379ae39cd1-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-4d5ab9013fdd121e.rlib(panic_unwind-4d5ab9013fdd121e.panic_unwind.b0490ec59eaa76af-cgu.0.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            ld: warning: object file (/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_build_env/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-11c3039f74959a20.rlib(compiler_builtins-11c3039f74959a20.compiler_builtins.6d89d5519e7602e-cgu.032.rcgu.o)) was built for newer macOS version (10.12) than being linked (10.9)
            Undefined symbols for architecture x86_64:
              "_getentropy", referenced from:
                  std::sys::unix::rand::hashmap_random_keys::h694f1d109e8c2473 in libstd-f4038c6a2122598b.rlib(std-f4038c6a2122598b.std.69f244de2863e905-cgu.0.rcgu.o)
            ld: symbol(s) not found for architecture x86_64

            clang-16: error: linker command failed with exit code 1 (use -v to see invocation)


  error: could not compile `serde_derive` (lib) due to previous error
  warning: build failed, waiting for other jobs to finish...
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit status: 101": `CARGO_ENCODED_RUSTFLAGS="-C\u{1f}link-arg=-Wl,-rpath,/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib\u{1f}-C\u{1f}link-arg=-Wl,-headerpad_max_install_names\u{1f}-C\u{1f}link-arg=-Wl,-dead_strip_dylibs" "cargo" "rustc" "--target" "x86_64-apple-darwin" "--message-format" "json-render-diagnostics" "--manifest-path" "/Users/runner/miniforge3/conda-bld/ruff_1706063684077/work/crates/ruff/Cargo.toml" "--release" "--bin" "ruff" "--" "-C" "link-arg=-s"`
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
  error: subprocess-exited-with-error
  
  × Building wheel for ruff (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python /Users/runner/miniforge3/conda-bld/ruff_1706063684077/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpfug80u8b
  cwd: /Users/runner/miniforge3/conda-bld/ruff_1706063684077/work
  ERROR: Failed building wheel for ruff
  Building wheel for ruff (pyproject.toml): finished with status 'error'

https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=863744&view=logs&j=9c5ef928-2cd6-52e5-dbe6-9d173a7d951b&t=20c71c51-4b27-578b-485d-06ade2de1d00&l=348

@charliermarsh charliermarsh merged commit 79b7c42 into conda-forge:main Jan 24, 2024
29 of 37 checks passed
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.

None yet

2 participants