<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Pradyun Gedam kirjoitti 26.01.2018 klo 17:11:<br>
    <blockquote type="cite"
cite="mid:CAPA-EqsQLpcStRNLQwJf2U+aHZ5sZh88eUoH=0nQh2fGMd_gmg@mail.gmail.com">
      <div dir="ltr">
        <div>Hello! I hope everyone's had a great start to 2018! :)</div>
        <div><br>
        </div>
        <div>A few months back, while working on pip, I had noticed an
          oddity about extras.</div>
        <div><br>
        </div>
        <div>Installing a package with extras would not store
          information about the fact that the extras were requested.
          This means, later, it is not possible to know which
          extra-based optional dependencies of a package have to be
          considered when verifying that the packages are compatible
          with each other. This information is relavant for
          resolution/validation since without it, it is not possible to
          know which the extra-requirements to care about.</div>
        <div><br>
        </div>
        <div>As an example, installing ``requests[security]`` and then
          uninstalling ``PyOpenSSL`` leaves you in a state where you
          don't really satisfy what was asked for but there's no way to
          detect that either.</div>
      </div>
    </blockquote>
    What here is specific to extras really? "pip uninstall" does not
    consider dependencies anyway and will happily let you uninstall
    whatever you want, even if it's a dependency of some still installed
    distribution.<br>
    <blockquote type="cite"
cite="mid:CAPA-EqsQLpcStRNLQwJf2U+aHZ5sZh88eUoH=0nQh2fGMd_gmg@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Thus, obviously, I'm interested in making pip to be able to
          store this information. As I understand, this is done needs to
          be specified in a PEP and/or on PyPUG's specification page.</div>
        <div><br>
        </div>
        <div>To that end, here's seeding proposal for the discussion: a
          new `extras-requested.txt` file in the .dist-info directory,
          storing the extra names in a one-per-line format.</div>
        <div><br>
        </div>
        <div>Cheers!</div>
        <div>Pradyun</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Distutils-SIG maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>