<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>262512</bug_id>
          
          <creation_ts>2023-10-02 16:07:45 -0700</creation_ts>
          <short_desc>REGRESSION(268723@main): Broke pyOpenSSL &amp; Twisted</short_desc>
          <delta_ts>2023-10-17 20:02:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262369</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=263299</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>clopez</cc>
    
    <cc>gsnedders</cc>
    
    <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1981895</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2023-10-02 16:07:45 -0700</bug_when>
    <thetext>As can be seen in https://ews-build.webkit.org/#/builders/28/builds/20375, 268723@main has broken pyOpenSSL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981901</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-02 16:19:24 -0700</bug_when>
    <thetext>This is gonna be caused by mismatched OpenSSL/cryptography versions.

pyOpenSSL 23.2.0, as now required, requires:

    cryptography&gt;=38.0.0,&lt;42,!=40.0.0,!=40.0.1

Whereas we have:

    AutoInstall.register(Package(&apos;cryptography&apos;, Version(36, 0, 2), wheel=True, implicit_deps=[&apos;cffi&apos;]))

As I wrote in https://bugs.webkit.org/show_bug.cgi?id=262369#c5, I do not understand how the configured set of packages could work in the WPE setup.

That said, I&apos;m just going to add these behind a branch for 3.11 in the first instance, and let those who deal with the WPE setup deal with the rest of my confusion as to how this works there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981903</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-02 16:26:17 -0700</bug_when>
    <thetext>Gonna fix the other regression from that commit here too:

(In reply to Sam Sneddon [:gsnedders] from comment #5)
&gt; […]
&gt; 
&gt; The AutoInstaller _cannot_ install Twisted 23.8.0, because we don&apos;t support
&gt; PEP 517 builders (Bug 261082). I think 22.10.0 is the latest version on PyPI
&gt; the AutoInstaller should be able to install?
&gt; 
&gt; […]
&gt; 
&gt; This has, resultantly, broken certain internal CI jobs with a traceback
&gt; ending in:
&gt; 
&gt;   File
&gt; &quot;/Volumes/Data/worker/ews-tools-trybot/build/OpenSource/Tools/Scripts/
&gt; webkitpy/autoinstalled/buildbot.py&quot;, line 27, in &lt;module&gt;
&gt;     from webkitpy.autoinstalled import twisted
&gt;   File
&gt; &quot;/Volumes/Data/worker/ews-tools-trybot/build/OpenSource/Tools/Scripts/
&gt; webkitpy/autoinstalled/twisted.py&quot;, line 43, in &lt;module&gt;
&gt;     from twisted.protocols.tls import TLSMemoryBIOFactory
&gt; ModuleNotFoundError: No module named &apos;twisted&apos;
&gt; 
&gt; […]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981904</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-02 16:26:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/116373366&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981907</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-02 16:36:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18522</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981916</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-02 16:54:55 -0700</bug_when>
    <thetext>Committed 268757@main (c199bf81ac72): &lt;https://commits.webkit.org/268757@main&gt;

Reviewed commits have been landed. Closing PR #18522 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985775</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-10-17 20:02:03 -0700</bug_when>
    <thetext>Sorry for the mess I caused with this and thanks for the fixes!

I submitted bug 263299 to try to clean/improve this a bit more.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>