David-OConnor / pyflow

An installation and dependency system for Python
MIT License
1.33k stars 44 forks source link

pyflow install pyinfra - charset-normalizer version issue #141

Open paolodina opened 3 years ago

paolodina commented 3 years ago

Hello, I installed pyflow 0.3.1 via .deb then tried to install pyinfra, but having an issue.

Similarly to #139 there is a problem with charset-normalizer. What is different is the traceback, so I decided to open this issue as well.

$ RUST_BACKTRACE=full pyflow install pyinfra --dev
thread 'main' panicked at 'Can't find a valid version for charset-normalizer', src/dep_resolution.rs:396:40

stack backtrace:
   0:     0x55694419acd0 - <unknown>
   1:     0x5569441c237c - core::fmt::write::h7aa6cd0067dca82a
   2:     0x556944193bd5 - <unknown>
   3:     0x55694419d1eb - <unknown>
   4:     0x55694419ccc1 - <unknown>
   5:     0x55694419d891 - std::panicking::rust_panic_with_hook::hde05f051c0c95c4a
   6:     0x55694419d397 - <unknown>
   7:     0x55694419b1cc - <unknown>
   8:     0x55694419d2f9 - rust_begin_unwind
   9:     0x556943d9c26b - std::panicking::begin_panic_fmt::hf6913515f24c4986
  10:     0x556943e5cc68 - <unknown>
  11:     0x556943e5ca82 - <unknown>
  12:     0x556943e5d8a4 - <unknown>
  13:     0x556943e0bf71 - <unknown>
  14:     0x556943e0ce9a - <unknown>
  15:     0x556943e0ce9a - <unknown>
  16:     0x556943e0ce9a - <unknown>
  17:     0x556943e0ce9a - <unknown>
  18:     0x556943e5fc72 - <unknown>
  19:     0x556943e44c50 - <unknown>
  20:     0x556943e4dc6a - <unknown>
  21:     0x556943e6eaf3 - <unknown>
  22:     0x556943e6eb09 - <unknown>
  23:     0x55694419dd89 - std::rt::lang_start_internal::h0be9e1ee5c908dcd
  24:     0x556943e544a2 - <unknown>
  25:     0x7f0daa9c609b - __libc_start_main
  26:     0x556943d9d7d9 - <unknown>
  27:                0x0 - <unknown>
gatl commented 3 years ago

And I'm seeing something similar on macOS 11.5.2.

thread 'main' panicked at 'Can't find a valid version for charset-normalizer', src/dep_resolution.rs:396:40
stack backtrace:
   0:        0x101e7446e - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7dac4b58aa11870a
   1:        0x101eb095e - core::fmt::write::h53badd02f711efbe
   2:        0x101e6fcea - std::io::Write::write_fmt::hd02c4bbaf6463567
   3:        0x101e8deff - std::panicking::default_hook::{{closure}}::ha7d22468d4529f02
   4:        0x101e8da8a - std::panicking::default_hook::hc6c5fb91e7ed228a
   5:        0x101e8e470 - std::panicking::rust_panic_with_hook::h94fd567d38cd4da7
   6:        0x101e747e5 - std::panicking::begin_panic_handler::{{closure}}::h953a8f32e4882703
   7:        0x101e745e8 - std::sys_common::backtrace::__rust_end_short_backtrace::h8472811b9ff0c597
   8:        0x101e8e003 - _rust_begin_unwind
   9:        0x101ecd23b - std::panicking::begin_panic_fmt::h9c97df342e1c7161
  10:        0x101b2ead2 - pyflow::dep_resolution::res::get_version_info::{{closure}}::hb545d75cbdd8ee35
  11:        0x101b2e927 - pyflow::dep_resolution::res::get_version_info::h164e61570e4fbf22
  12:        0x101b2f67e - pyflow::dep_resolution::res::fetch_req_data::he1e3ae54a315fe0b
  13:        0x101adc24b - pyflow::dep_resolution::guess_graph::h629ca7b25eeb402b
  14:        0x101adcea7 - pyflow::dep_resolution::guess_graph::h629ca7b25eeb402b
  15:        0x101b315c7 - pyflow::dep_resolution::res::resolve::ha8d660d5714f8d77
  16:        0x101b1463d - pyflow::sync::hb14bfa7e6e96198f
  17:        0x101b1d7a4 - pyflow::main::hb5af5a8dc99f5ad6
  18:        0x101b44d6a - std::sys_common::backtrace::__rust_begin_short_backtrace::h00b61639f172e865
  19:        0x101b4652c - std::rt::lang_start::{{closure}}::h4ff407d06b350d61
  20:        0x101e9761a - std::rt::lang_start_internal::h43b407d2a4fa0408
  21:        0x101b24089 - _main
clawsl commented 2 years ago

Anyone running into this could try the following:

  1. Install charset-normalizer + paramiko by hand pyflow install -d charset-normalizer paramiko

  2. Install pyinfra (and hope it works now ;) ) pyflow install pyinfra