Skip to content

Commit 559ef24

Browse files
committed
1 parent 1043923 commit 559ef24

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

_sources/devdoc/release.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Once the release is created on GitHub, it's a good idea to test out the release
7070

7171
1. Create a new ``conda`` environment for testing (fill in a name for ``<environment>``)::
7272

73-
conda create -n <environment> python=3.9 numpy
73+
conda create -n <environment> python=3.10 numpy
7474
conda activate <environment>
7575

7676
2. Install the release tarball from GitHub and run the tests::
@@ -119,7 +119,7 @@ You'll need to have ``conda-build`` and ``anaconda-client`` installed to perform
119119
Due to its C extensions, releasing scikit-bio packages for different platforms will require you to perform the following steps on each of those platforms. For example, an ``osx-64`` package will need to be built on OS X, and a ``linux-64`` package will need to be built on 64-bit Linux. These steps will be the same on all platforms, so you should repeat them for every platform you want to release for::
120120

121121
conda skeleton pypi scikit-bio
122-
conda build scikit-bio --python 3.9
122+
conda build scikit-bio --python 3.10
123123

124124
When building 64-bit Linux packages, it is recommended that you use conda-forge's ``linux-anvil``` Docker image. This ensures a consistent Linux build environment that has an old enough version of `libc` to be compatible on most Linux systems. To start up a ``linux-anvil`` Docker container::
125125

@@ -128,15 +128,15 @@ When building 64-bit Linux packages, it is recommended that you use conda-forge'
128128
sed -i '/conda-forge/d' ~/.condarc
129129
# Run the build commands from above
130130

131-
At this stage you have built Python 3.9 packages. The absolute path to the packages will be provided as output from each ``conda build`` commands. You should now create conda environments for each, and run the tests as described above. You can install these local package as follows::
131+
At this stage you have built Python 3.10 packages. The absolute path to the packages will be provided as output from each ``conda build`` commands. You should now create conda environments for each, and run the tests as described above. You can install these local package as follows::
132132

133133
conda install --use-local scikit-bio
134134

135135
If the tests pass, you're ready to upload::
136136

137137
anaconda upload -u biocore <package-filepath>
138138

139-
``<package-filepath>`` should be replaced with the path to the package that was was created above. Repeat this for each package you created (here, the Python 3.9 package).
139+
``<package-filepath>`` should be replaced with the path to the package that was was created above. Repeat this for each package you created (here, the Python 3.10 package).
140140

141141
After uploading, you should create new environments for every package you uploaded, install scikit-bio from each package, and re-run the tests. You can install the packages you uploaded as follows::
142142

_sources/install.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Scikit-bio runs on Linux, macOS, and Windows. It is currently available for the
1515
Python
1616
^^^^^^
1717

18-
scikit-bio requires `Python <https://www.python.org/>`_ 3.9 or later installed in your system. See the `Python version support`_ section for more details.
18+
scikit-bio requires `Python <https://www.python.org/>`_ 3.10 or later installed in your system. See the `Python version support`_ section for more details.
1919

2020

2121
Environment based

devdoc/release.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h2>Tag the release<a class="headerlink" href="#tag-the-release" title="Link to
514514
<p>Once the release is created on GitHub, it’s a good idea to test out the release tarball before publishing to PyPI:</p>
515515
<ol class="arabic">
516516
<li><p>Create a new <code class="docutils literal notranslate"><span class="pre">conda</span></code> environment for testing (fill in a name for <code class="docutils literal notranslate"><span class="pre">&lt;environment&gt;</span></code>):</p>
517-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">n</span> <span class="o">&lt;</span><span class="n">environment</span><span class="o">&gt;</span> <span class="n">python</span><span class="o">=</span><span class="mf">3.9</span> <span class="n">numpy</span>
517+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">n</span> <span class="o">&lt;</span><span class="n">environment</span><span class="o">&gt;</span> <span class="n">python</span><span class="o">=</span><span class="mf">3.10</span> <span class="n">numpy</span>
518518
<span class="n">conda</span> <span class="n">activate</span> <span class="o">&lt;</span><span class="n">environment</span><span class="o">&gt;</span>
519519
</pre></div>
520520
</div>
@@ -573,7 +573,7 @@ <h2>Publish the release<a class="headerlink" href="#publish-the-release" title="
573573
</div>
574574
<p>Due to its C extensions, releasing scikit-bio packages for different platforms will require you to perform the following steps on each of those platforms. For example, an <code class="docutils literal notranslate"><span class="pre">osx-64</span></code> package will need to be built on OS X, and a <code class="docutils literal notranslate"><span class="pre">linux-64</span></code> package will need to be built on 64-bit Linux. These steps will be the same on all platforms, so you should repeat them for every platform you want to release for:</p>
575575
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">skeleton</span> <span class="n">pypi</span> <span class="n">scikit</span><span class="o">-</span><span class="n">bio</span>
576-
<span class="n">conda</span> <span class="n">build</span> <span class="n">scikit</span><span class="o">-</span><span class="n">bio</span> <span class="o">--</span><span class="n">python</span> <span class="mf">3.9</span>
576+
<span class="n">conda</span> <span class="n">build</span> <span class="n">scikit</span><span class="o">-</span><span class="n">bio</span> <span class="o">--</span><span class="n">python</span> <span class="mf">3.10</span>
577577
</pre></div>
578578
</div>
579579
<p>When building 64-bit Linux packages, it is recommended that you use conda-forge’s <code class="docutils literal notranslate"><span class="pre">linux-anvil`</span></code> Docker image. This ensures a consistent Linux build environment that has an old enough version of <cite>libc</cite> to be compatible on most Linux systems. To start up a <code class="docutils literal notranslate"><span class="pre">linux-anvil</span></code> Docker container:</p>
@@ -583,15 +583,15 @@ <h2>Publish the release<a class="headerlink" href="#publish-the-release" title="
583583
<span class="c1"># Run the build commands from above</span>
584584
</pre></div>
585585
</div>
586-
<p>At this stage you have built Python 3.9 packages. The absolute path to the packages will be provided as output from each <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">build</span></code> commands. You should now create conda environments for each, and run the tests as described above. You can install these local package as follows:</p>
586+
<p>At this stage you have built Python 3.10 packages. The absolute path to the packages will be provided as output from each <code class="docutils literal notranslate"><span class="pre">conda</span> <span class="pre">build</span></code> commands. You should now create conda environments for each, and run the tests as described above. You can install these local package as follows:</p>
587587
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">install</span> <span class="o">--</span><span class="n">use</span><span class="o">-</span><span class="n">local</span> <span class="n">scikit</span><span class="o">-</span><span class="n">bio</span>
588588
</pre></div>
589589
</div>
590590
<p>If the tests pass, you’re ready to upload:</p>
591591
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">anaconda</span> <span class="n">upload</span> <span class="o">-</span><span class="n">u</span> <span class="n">biocore</span> <span class="o">&lt;</span><span class="n">package</span><span class="o">-</span><span class="n">filepath</span><span class="o">&gt;</span>
592592
</pre></div>
593593
</div>
594-
<p><code class="docutils literal notranslate"><span class="pre">&lt;package-filepath&gt;</span></code> should be replaced with the path to the package that was was created above. Repeat this for each package you created (here, the Python 3.9 package).</p>
594+
<p><code class="docutils literal notranslate"><span class="pre">&lt;package-filepath&gt;</span></code> should be replaced with the path to the package that was was created above. Repeat this for each package you created (here, the Python 3.10 package).</p>
595595
<p>After uploading, you should create new environments for every package you uploaded, install scikit-bio from each package, and re-run the tests. You can install the packages you uploaded as follows:</p>
596596
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">install</span> <span class="o">-</span><span class="n">c</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">conda</span><span class="o">.</span><span class="n">anaconda</span><span class="o">.</span><span class="n">org</span><span class="o">/</span><span class="n">biocore</span> <span class="n">scikit</span><span class="o">-</span><span class="n">bio</span>
597597
</pre></div>

install.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ <h3>Platform<a class="headerlink" href="#platform" title="Link to this heading">
454454
</section>
455455
<section id="python">
456456
<h3>Python<a class="headerlink" href="#python" title="Link to this heading">#</a></h3>
457-
<p>scikit-bio requires <a class="reference external" href="https://www.python.org/">Python</a> 3.9 or later installed in your system. See the <a class="reference internal" href="#python-version-support">Python version support</a> section for more details.</p>
457+
<p>scikit-bio requires <a class="reference external" href="https://www.python.org/">Python</a> 3.10 or later installed in your system. See the <a class="reference internal" href="#python-version-support">Python version support</a> section for more details.</p>
458458
</section>
459459
</section>
460460
<section id="environment-based">

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)