[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can somebody help with packaging ruff?



On Fri, Sep 26, 2025 at 11:08:06AM +0200, Carl Keinath wrote:
Hi,

thanks for getting the Ruff dependencies into testing/NEW.

What’s the current state of the Ruff package itself? I saw some commits
on Salsa as recently as 2 months ago. I’d like to help move this
forward, just want to avoid duplicating work.

I made an attempt to update the package a while ago (to 0.8.4), but more
upstream versions have come out since then.

Rather than continuing 0.8.4, it might be better to merge the current
latest version from upstream (0.13.2 as of writing) and then
see what crates are still missing.

All of the changes I've made are in the Git repository in the python-team
Salsa repo.

Cheers,

Jelmer

On Wed Sep 24, 2025 at 3:21 PM CEST, Alexander Kjäll wrote:
Hi

It took a while, but I think I have gotten all the external
dependencies of ruff either into testing, or they are in NEW.

I guess the next step would be to package the tool itself, but I don't
really have the time/energy for maintaining that, so maybe I can hand
that back?

I'm happy to continue helping with the packaging of dependencies that
are published on crates.io.

//Alex

Den ons 25 dec. 2024 kl 21:20 skrev Jelmer Vernooij <jelmer@jelmer.uk>:

On Sun, Nov 24, 2024 at 08:00:55PM +0100, Alexander Kjäll wrote:
> I did some more filtering, and landed on this list that is a bit more manageble:
>
> append-only-vec
> dir-test-macros
> dir-test
> litemap
> newtype-uuid
> tracing-tree
I've packaged these.

> clap-complete-nushell
We should just patch this out I think, since nushell isn't
packaged in Debian.


> I started from the bottom and uploaded write16 to NEW, hopefully
> nothing on the list will be too complicated.

Looks like you did this one as well:

> tracing-indicatif

Leaving these:

> icu-collections
> icu-locid-transform-data
> icu-locid-transform
> icu-locid
> icu-normalizer-data
> icu-normalizer
> icu-properties-data
> icu-properties
> icu-provider-macros
> icu-provider
> idna-adapter
> notify-types
> peg-macros
> peg-runtime
> peg
> salsa-macro-rules
> serde-wasm-bindgen
> test-case-core
> test-case-macros
> test-case
> tracing-flame
> unicode-names2-generator
> ureq
> utf16-iter
> utf8-iter
> uuid-macro-internal
> writeable
> zerofrom-derive
> zerovec-derive
> zerovec
>

Jelmer

> Den sön 27 okt. 2024 kl 21:12 skrev Alexander Kjäll <alexander.kjall@gmail.com>:
> >
> > Seems like cargo-debstatus really didn't like to work on the ruff repo.
> >
> > But some command line magic gave me a list, I haven't sorted out what
> > is already packaged:
> >
> > $ cargo tree |rg '──'| sed 's/^[^a-zA-Z]*//'|awk '{if($2 != "v0.0.0")
> > {print($1 " " $2) }}'|sort|uniq
> > adler v1.0.2
> > ahash v0.8.11
> > aho-corasick v1.1.3
> > anes v0.1.6
> > annotate-snippets v0.6.1
> > annotate-snippets v0.9.2
> > anstream v0.6.13
> > anstyle-parse v0.2.3
> > anstyle-query v1.0.2
> > anstyle v1.0.8
> > anyhow v1.0.90
> > append-only-vec v0.1.5
> > arc-swap v1.7.1
> > argfile v0.2.1
> > arrayvec v0.7.4
> > assert_fs v1.1.2
> > autocfg v1.2.0
> > base64 v0.22.0
> > bincode v1.3.3
> > bitflags v1.3.2
> > bitflags v2.6.0
> > block-buffer v0.10.4
> > bstr v1.10.0
> > bumpalo v3.16.0
> > byteorder v1.5.0
> > cachedir v0.3.1
> > camino v1.1.9
> > castaway v0.2.3
> > cast v0.3.0
> > cc v1.0.95
> > cfg_aliases v0.1.1
> > cfg_aliases v0.2.1
> > cfg-if v1.0.0
> > chic v1.2.2
> > chrono v0.4.38
> > ciborium-io v0.2.2
> > ciborium-ll v0.2.2
> > ciborium v0.2.2
> > clap_builder v4.5.20
> > clap_complete_command v0.6.1
> > clap_complete_nushell v4.5.2
> > clap_complete v4.5.2
> > clap_derive v4.5.18
> > clap_lex v0.7.0
> > clap v4.5.20
> > clearscreen v3.0.0
> > colorchoice v1.0.0
> > colored v2.1.0
> > compact_str v0.8.0
> > console_error_panic_hook v0.1.7
> > console_log v1.0.0
> > console v0.15.8
> > countme v3.0.1
> > cpufeatures v0.2.13
> > crc32fast v1.4.0
> > criterion-plot v0.5.0
> > criterion v0.5.1
> > crossbeam-channel v0.5.12
> > crossbeam-deque v0.8.5
> > crossbeam-epoch v0.9.18
> > crossbeam-queue v0.3.11
> > crossbeam-utils v0.8.19
> > crossbeam v0.8.4
> > crypto-common v0.1.6
> > ctrlc v3.4.5
> > darling_core v0.20.8
> > darling_macro v0.20.8
> > darling v0.20.8
> > dashmap v5.5.3
> > dashmap v6.1.0
> > difflib v0.4.0
> > diff v0.1.13
> > digest v0.10.7
> > dirs-sys v0.3.7
> > dirs-sys v0.4.1
> > dirs v4.0.0
> > dirs v5.0.1
> > dir-test-macros v0.3.0
> > dir-test v0.3.0
> > doc-comment v0.3.3
> > drop_bomb v0.1.5
> > dyn-clone v1.0.17
> > either v1.11.0
> > env_filter v0.1.0
> > env_logger v0.11.5
> > equivalent v1.0.1
> > etcetera v0.8.0
> > fastrand v2.1.1
> > fern v0.7.0
> > filetime v0.2.25
> > flate2 v1.0.28
> > fnv v1.0.7
> > form_urlencoded v1.2.1
> > fs-err v2.11.0
> > generic-array v0.14.7
> > getopts v0.2.21
> > getrandom v0.2.14
> > globset v0.4.15
> > glob v0.3.1
> > globwalk v0.9.1
> > half v2.4.1
> > hashbrown v0.14.5
> > hashbrown v0.15.0
> > hashlink v0.9.1
> > heck v0.5.0
> > home v0.5.9
> > humantime v2.1.0
> > iana-time-zone v0.1.60
> > ident_case v1.0.1
> > idna v0.5.0
> > ignore v0.4.23
> > imara-diff v0.1.7
> > imperative v1.0.6
> > indexmap v2.5.0
> > indicatif v0.17.8
> > indoc v2.0.5
> > Inflector v0.11.4
> > inotify-sys v0.1.5
> > inotify v0.9.6
> > insta-cmd v0.6.0
> > insta v1.40.0
> > is-docker v0.2.0
> > is-macro v0.3.6
> > is-terminal v0.4.12
> > is-wsl v0.4.0
> > itertools v0.10.5
> > itertools v0.13.0
> > itoa v1.0.11
> > jobserver v0.1.32
> > jod-thread v0.1.2
> > js-sys v0.3.72
> > lazy_static v1.4.0
> > libcst_derive v1.4.0
> > libcst v1.5.0
> > libc v0.2.161
> > linked-hash-map v0.5.6
> > linux-raw-sys v0.4.14
> > lock_api v0.4.11
> > log v0.4.22
> > lsp-server v0.7.7
> > lsp-types v0.95.1
> > matchers v0.1.0
> > matches v0.1.10
> > matchit v0.8.4
> > memchr v2.7.4
> > minimal-lexical v0.2.1
> > miniz_oxide v0.7.2
> > mio v0.8.11
> > natord v1.0.9
> > newtype-uuid v1.1.0
> > nix v0.28.0
> > nix v0.29.0
> > nom v7.1.3
> > notify v6.1.1
> > nu-ansi-term v0.46.0
> > nu-ansi-term v0.50.1
> > number_prefix v0.4.0
> > num-traits v0.2.18
> > once_cell v1.20.2
> > oorandom v11.1.3
> > option-ext v0.2.0
> > ordermap v0.5.3
> > os_str_bytes v7.0.0
> > overload v0.1.1
> > parking_lot_core v0.9.9
> > parking_lot v0.12.3
> > paste v1.0.15
> > path-absolutize v3.1.1
> > path-dedot v3.1.1
> > pathdiff v0.2.2
> > path-slash v0.2.1
> > peg-macros v0.8.4
> > peg-runtime v0.8.3
> > peg v0.8.4
> > pep440_rs v0.4.0
> > pep440_rs v0.7.1
> > pep508_rs v0.3.0
> > percent-encoding v2.3.1
> > pest_derive v2.7.11
> > pest_generator v2.7.11
> > pest_meta v2.7.11
> > pest v2.7.11
> > phf_codegen v0.11.2
> > phf_generator v0.11.2
> > phf_shared v0.11.2
> > phf v0.11.2
> > pin-project-lite v0.2.14
> > pkg-config v0.3.30
> > portable-atomic v1.6.0
> > ppv-lite86 v0.2.17
> > predicates-core v1.0.8
> > predicates-tree v1.0.11
> > predicates v3.1.2
> > pretty_assertions v1.4.1
> > proc-macro2 v1.0.88
> > pyproject-toml v0.9.0
> > quick-junit v0.5.0
> > quick-xml v0.36.1
> > quote v1.0.37
> > rand_chacha v0.3.1
> > rand_core v0.6.4
> > rand v0.8.5
> > rayon-core v1.12.1
> > rayon v1.10.0
> > regex-automata v0.1.10
> > regex-automata v0.4.8
> > regex-syntax v0.6.29
> > regex-syntax v0.8.5
> > regex v1.11.0
> > ring v0.17.8
> > ruff_graph v0.1.0
> > ruff_linter v0.7.1
> > ruff_server v0.2.2
> > ruff v0.7.1
> > rustc-hash v1.1.0
> > rustc-hash v2.0.0
> > rustix v0.38.37
> > rustls-pki-types v1.7.0
> > rustls v0.23.10
> > rustls-webpki v0.102.5
> > rust-stemmers v1.2.0
> > rustversion v1.0.15
> > ryu v1.0.17
> > salsa-macro-rules v0.1.0
> > salsa-macros v0.18.0
> > salsa v0.18.0
> > same-file v1.0.6
> > schemars_derive v0.8.21
> > schemars v0.8.21
> > scoped-tls v1.0.1
> > scopeguard v1.2.0
> > seahash v4.1.0
> > serde_derive_internals v0.29.0
> > serde_derive v1.0.210
> > serde_json v1.0.132
> > serde_repr v0.1.19
> > serde_spanned v0.6.7
> > serde_test v1.0.177
> > serde v1.0.210
> > serde-wasm-bindgen v0.6.5
> > serde_with_macros v3.11.0
> > serde_with v3.11.0
> > sha2 v0.10.8
> > sharded-slab v0.1.7
> > shellexpand v3.1.0
> > similar v2.5.0
> > siphasher v0.3.11
> > smallvec v1.13.2
> > spin v0.9.8
> > static_assertions v1.1.0
> > strip-ansi-escapes v0.2.0
> > strsim v0.10.0
> > strsim v0.11.1
> > strum_macros v0.26.4
> > strum v0.26.3
> > subtle v2.5.0
> > synstructure v0.13.1
> > syn v1.0.109
> > syn v2.0.82
> > tempfile v3.13.0
> > terminal_size v0.4.0
> > terminfo v0.8.0
> > termtree v0.4.1
> > test-case-core v3.3.1
> > test-case-macros v3.3.1
> > test-case v3.3.1
> > thiserror-impl v1.0.64
> > thiserror v1.0.64
> > thread_local v1.1.8
> > tikv-jemallocator v0.6.0
> > tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
> > tinytemplate v1.2.1
> > tinyvec_macros v0.1.1
> > tinyvec v1.6.0
> > toml_datetime v0.6.8
> > toml_edit v0.22.20
> > toml v0.8.19
> > tracing-attributes v0.1.27
> > tracing-core v0.1.32
> > tracing-flame v0.2.0
> > tracing-indicatif v0.3.6
> > tracing-log v0.2.0
> > tracing-subscriber v0.3.18
> > tracing-tree v0.4.0
> > tracing v0.1.40
> > typed-arena v2.0.2
> > typenum v1.17.0
> > ucd-trie v0.1.6
> > unic-char-property v0.9.0
> > unic-char-range v0.9.0
> > unic-common v0.9.0
> > unicode-bidi v0.3.15
> > unicode-ident v1.0.13
> > unicode_names2_generator v1.3.0
> > unicode_names2 v1.3.0
> > unicode-normalization v0.1.24
> > unicode-width v0.1.13
> > unicode-width v0.2.0
> > unic-ucd-category v0.9.0
> > unic-ucd-version v0.9.0
> > unscanny v0.1.0
> > untrusted v0.9.0
> > ureq v2.10.1
> > url v2.5.2
> > utf8parse v0.2.1
> > uuid-macro-internal v1.11.0
> > uuid v1.11.0
> > version_check v0.9.4
> > vt100 v0.15.2
> > vte_generate_state_changes v0.1.1
> > vte v0.11.1
> > walkdir v2.5.0
> > wasm-bindgen-backend v0.2.95
> > wasm-bindgen-futures v0.4.45
> > wasm-bindgen-macro-support v0.2.95
> > wasm-bindgen-macro v0.2.95
> > wasm-bindgen-shared v0.2.95
> > wasm-bindgen-test-macro v0.3.45
> > wasm-bindgen-test v0.3.45
> > wasm-bindgen v0.2.95
> > webpki-roots v0.26.1
> > web-sys v0.3.69
> > which v6.0.1
> > wild v2.2.1
> > winnow v0.6.18
> > yansi-term v0.1.2
> > yansi v1.0.1
> > zerocopy v0.7.32
> > zeroize v1.7.0
> > zip v0.6.6
> > zstd-safe v5.0.2+zstd.1.5.2
> > zstd-sys v2.0.11+zstd.1.5.6
> > zstd v0.11.2+zstd.1.5.2
> >
> > Den sön 27 okt. 2024 kl 20:15 skrev Jelmer Vernooij <jelmer@jelmer.uk>:
> > >
> > > On Sun, Oct 27, 2024 at 01:30:35PM +0100, Matthias Urlichs wrote:
> > > >
> > > >  Hi,
> > > >
> > > >
> > > >  can somebody help with bug#1068248? That's an update for "ruff", the
> > > >  linter for Python which happens to be written in Rust ;-)
> > > >
> > > > It's been languishing for half a year now, we (i.e. the Python people whose
> > > > packages use ruff for testing) really could use an update; the problem is
> > > > that I have no idea how to package for Rust. The package itself seems to be
> > > > in reasonably good shape, except for the inconvenient fact that it has a
> > > > direct dependency to a crate on github …
> > >
> > > FWIW I imported a new upstream release a couple of weeks ago, which is
> > > in the Git repository - https://salsa.debian.org/python-team/packages/ruff
> > > However, it needs a lot of work since the dependencies have changed significantly.
> > > Some aren't in Debian, some are at different versions and some are pulled directly
> > > out of upstream git repositories.
> > >
> > > When I packaged the first release, this was a significant amount of work - and
> > > 6 months on a lot of the dependencies have changed again. I think the best
> > > first step would probably be to inventarise what rust packages are missing and
> > > then maybe we can distribute the work.
> > >
> > > Cheers,
> > >
> > > Jelmer
> > >



Reply to: