<p dir="auto">When trying to upload the wheels to pypi, I get this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ twine upload --verbose dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Uploading scikit_learn-0.22rc1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10.1M/10.1M [00:10&lt;00:00, 979kB/s]
Content received from server:
&lt;html&gt;
 &lt;head&gt;
  &lt;title&gt;400 The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;h1&gt;400 The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.&lt;/h1&gt;
  The server could not comply with the request since it is either malformed or otherwise incorrect.&lt;br/&gt;&lt;br/&gt;
The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.


 &lt;/body&gt;
&lt;/html&gt;
HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/"><pre class="notranslate"><code class="notranslate">$ twine upload --verbose dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Uploading scikit_learn-0.22rc1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10.1M/10.1M [00:10&lt;00:00, 979kB/s]
Content received from server:
&lt;html&gt;
 &lt;head&gt;
  &lt;title&gt;400 The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;h1&gt;400 The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.&lt;/h1&gt;
  The server could not comply with the request since it is either malformed or otherwise incorrect.&lt;br/&gt;&lt;br/&gt;
The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.


 &lt;/body&gt;
&lt;/html&gt;
HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/
</code></pre></div>
<p dir="auto">checking with <code class="notranslate">python3 setup.py check -r -s</code>, the only issue I see is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python3 setup.py check -r -s
Partial import of sklearn during the build process.
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC

compile options: '-c'
gcc: test_program.c
gcc -pthread objects/test_program.o -o test_program
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC

compile options: '-c'
extra options: '-fopenmp'
gcc: test_program.c
gcc -pthread objects/test_program.o -o test_program -fopenmp
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running check
warning: check: Duplicate explicit target name: &quot;about us&quot;.

error: Please correct your package."><pre class="notranslate"><code class="notranslate">$ python3 setup.py check -r -s
Partial import of sklearn during the build process.
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC

compile options: '-c'
gcc: test_program.c
gcc -pthread objects/test_program.o -o test_program
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC

compile options: '-c'
extra options: '-fopenmp'
gcc: test_program.c
gcc -pthread objects/test_program.o -o test_program -fopenmp
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'project_urls'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
/usr/lib64/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running check
warning: check: Duplicate explicit target name: "about us".

error: Please correct your package.
</code></pre></div>
<p dir="auto">It seems we can't have two <code class="notranslate">about us</code> links in the README? It doesn't make much sense to me, and I'm not sure if that's really the issue.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jnothman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jnothman">@jnothman</a> have you ever had such an issue?</p>
<p dir="auto">I found a mistake in the <code class="notranslate">plot_oneclass.py</code> example for the one-class SVM.</p>
<p dir="auto">The code generates 20 test samples <code class="notranslate">X = 0.3 * np.random.randn(20, 2)</code> and then generates two copies shifted over <code class="notranslate">X_test = np.r_[X + 2, X - 2]</code>.</p>
<p dir="auto">This results in a total of 40 test samples, however in the plotting section of the file, it says:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pl.xlabel(
    &quot;error train: %d/200 ; errors novel regular: %d/20 ; &quot;
    &quot;errors novel abnormal: %d/20&quot;
    % (n_error_train, n_error_test, n_error_outliers))
pl.show()"><pre class="notranslate"><code class="notranslate">pl.xlabel(
    "error train: %d/200 ; errors novel regular: %d/20 ; "
    "errors novel abnormal: %d/20"
    % (n_error_train, n_error_test, n_error_outliers))
pl.show()
</code></pre></div>
<p dir="auto">Where the <code class="notranslate">errors novel regular: %d/20</code> should actually be <code class="notranslate">errors novel regular: %d/40</code> to take into account the duplicated number of samples.</p>
<p dir="auto">Otherwise you can plot something and have 37/20 be errors, which doesn't make sense.</p>