<?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>224640</bug_id>
          
          <creation_ts>2021-04-15 19:00:39 -0700</creation_ts>
          <short_desc>Investigate using tox for testing Python code</short_desc>
          <delta_ts>2025-10-24 14:40:25 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=224638</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>
          <dependson>224869</dependson>
    
    <dependson>226016</dependson>
          <blocked>261004</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1750892</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-04-15 19:00:39 -0700</bug_when>
    <thetext>c.f. https://tox.readthedocs.io/en/latest/

Whether we care about this probably varies a bit; webkitcorepy etc. are in principle installable via pip so testing them via virtualenvs (therefore in isolated environments) would have some value.

However, the larger value in my book would be able to run tests against multiple supported Python versions in a single command. That said, this is a relatively small benefit compared with the other benefits many get from it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750893</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-15 19:00:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/76736746&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154145</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-10-24 14:40:25 -0700</bug_when>
    <thetext>I think at this point we&apos;re better off going with nox, which is configured with actual Python code, as this allows us to easily maintain a singular entry-point (i.e., test-webkitpy) which runs everything.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>