<?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>223603</bug_id>
          
          <creation_ts>2021-03-22 15:01:48 -0700</creation_ts>
          <short_desc>pylint-2.7.2 fails to autoinstall on Py3</short_desc>
          <delta_ts>2024-11-06 16:03:28 -0800</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>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=261073</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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>bfan2</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1742492</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-03-22 15:01:48 -0700</bug_when>
    <thetext>Registering pylint-2.7.2 leads to:

Traceback (most recent call last):
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/webkitpy/test/main.py&quot;, line 356, in &lt;module&gt;
    sys.exit(main())
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/webkitpy/test/main.py&quot;, line 111, in main
    return not tester.run()
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/webkitpy/test/main.py&quot;, line 184, in run
    return self._run_tests(names)
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/webkitpy/test/main.py&quot;, line 191, in _run_tests
    AutoInstall.install_everything()
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py&quot;, line 555, in install_everything
    package.install()
  File &quot;/Volumes/gsnedders/projects/Safari/OpenSource/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py&quot;, line 259, in install
    raise ValueError(&apos;No archives for {}-{} found&apos;.format(self.pypi_name, self.version))
ValueError: No archives for pylint-2.7.2 found

This is surprising, given https://pypi.org/project/pylint/2.7.2/#files looks no different to https://pypi.org/project/pylint/2.6.2/#files which works fine?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744938</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-29 15:02:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/75974953&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982140</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-03 10:31:56 -0700</bug_when>
    <thetext>This is because the index has &apos;data-requires-python&apos;: &apos;~=3.6&apos;, and webkitcorepy.version.Version doesn&apos;t support PEP 440 and doesn&apos;t support the compatible release operator (https://peps.python.org/pep-0440/#compatible-release).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2073327</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-11-06 16:03:28 -0800</bug_when>
    <thetext>Note we never actually had pylint==2.7.2 as a distribution that was registered; this is just a clear example of a bug in the AutoInstaller.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>