You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to add test from CPython3.11 #4564, but after clone the project, run test failed. cargo run --release --features ssl -- -m test -v test_abc error with below message?
Details
error[E0425]: cannot find function, tuple struct or tuple variant `COMP_get_type`in crate `sys`
--> stdlib/src/ssl.rs:990:37
|
990 |let typ = unsafe { sys::COMP_get_type(comp_method) };| ^^^^^^^^^^^^^ not found in`sys`
error[E0599]: no method named `is_init_finished` found forreference `&SslRef`in the current scope
--> stdlib/src/ssl.rs:948:30
|
948 |if!stream.ssl().is_init_finished() {
| ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `finished`
error[E0599]: no method named `version` found forreference `&X509Ref`in the current scope
--> stdlib/src/ssl.rs:1249:56
|
1249 | dict.set_item("version", vm.new_pyobj(cert.version()), vm)?;
| ^^^^^^^ method not found in`&X509Ref`
Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `rustpython-stdlib` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
That must be came with openssl_sys crate and I have no idea why it happens only with this information.
If the test you are going to add is not related to ssl features (which usually does), you can cargo run --release -- -m test -v test_abc without --features=ssl.
Summary
I try to add test from CPython3.11 #4564, but after clone the project, run test failed.
cargo run --release --features ssl -- -m test -v test_abc
error with below message?Details
The text was updated successfully, but these errors were encountered: