Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora - Come test a new release of pipenv, the Python development tool

#1
Come test a new release of pipenv, the Python development tool

<div><p><strong><a href="https://github.com/pypa/pipenv">Pipenv</a></strong>&nbsp;is a tool that helps Python developers maintain isolated virtual environments with specifacally defined set of dependencies to achieve reproducible development and deployment environments. It is similar to tools for different programming languages, such as bundler, composer, npm, cargo, yarn, etc.</p>
<p>A new version of pipenv, 2020.6.2, has been recently released. It is now available in Fedora 33 and rawhide. For older Fedoras, the maintainers decided to package it in <a href="https://copr.fedorainfracloud.org/coprs/g/python/pipenv/">COPR</a> to be tested first. So come try it out, before they push it into stable Fedora versions. The new version doesn’t bring any fancy new features, but after two years of development it fixes a lot of problems and does many things differently under the hood. What worked for you previously should continue to work, but might behave slightly differently.</p>
<h2>How to get it</h2>
<p>If you are already running Fedora 33 or rawhide, run <em>$ sudo dnf upgrade pipenv</em> or <em>$ sudo dnf install pipenv</em> and you’ll get the new version.</p>
<p>On Fedora 31 or Fedora 32, you’ll need to use a <a href="https://copr.fedorainfracloud.org/coprs/g/python/pipenv/">copr repository</a> until such time comes that the tested package will be updated in the official place. To enable the repository, run:</p>
<pre>$ sudo dnf copr enable @python/pipenv
</pre>
<p>Then to upgrade pipenv to the new version, run:</p>
<pre>$ sudo dnf upgrade pipenv
</pre>
<p>Or, if you haven’t installed it yet, install it via:</p>
<pre>$ sudo dnf install pipenv
</pre>
<p>In case you ever need to roll back to the officially maintained version, you can run:</p>
<pre>$ sudo dnf copr disable @python/pipenv<br />$ sudo dnf distro-sync pipenv</pre>
<p><em>COPR is not officially supported by Fedora infrastructure. Use packages at your own risk.</em></p>
<h2>How to use it</h2>
<p>If you already have projects managed by the older version of pipenv, you should be able to use the new version in its place without issues. Let us know if something breaks.</p>
<p>If you are not yet familiar with pipenv or want to start a new project, here is a quick guide:</p>
<p>Create a working directory:</p>
<pre>$ mkdir new-project &amp;&amp; cd new-project
</pre>
<p>Initialize pipenv with Python 3:</p>
<pre>$ pipenv --three
</pre>
<p>Install the packages you want, e.g.:</p>
<pre>$ pipenv install six
</pre>
<p>Generate a Pipfile.lock file:</p>
<pre>$ pipenv lock
</pre>
<p>Now you can commit the created Pipfile and Pipfile.lock files into your version control system (e.g. git) and others can use this command in the cloned repository to get the same environment:</p>
<pre>$ pipenv install
</pre>
<p>See <a href="https://pipenv.pypa.io/en/latest/install/">pipenv’s documentation</a> for more examples.</p>
<p><!-- /wp:paragraph --></p>
<h2>How to report problems</h2>
<p>If you encounter any problems with the new pipenv version, please <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&amp;component=pipenv">report any issues in Fedora’s Bugzilla</a>. The maintainers of the pipenv package in official Fedora repositories and in the copr repository are the same. Please indicate in the text that the report is regarding this new version.</p>
</div>


https://www.sickgaming.net/blog/2020/08/...ment-tool/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora - Contribute to Fedora 39 Upgrade, Virtualization, and Cloud Test Day xSicKxBot 0 2,072 09-30-2023, 03:56 AM
Last Post: xSicKxBot
  Fedora - Contribute at Passkey Auth, Fedora CoreOS and IoT Test Week xSicKxBot 0 912 09-19-2023, 12:23 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Linux Test Week for Kernel 6.5 and Toolbx Test Day xSicKxBot 0 977 09-11-2023, 02:47 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Test Week for the Anaconda WebUI Installer for Fedora Wor xSicKxBot 0 955 09-09-2023, 11:54 PM
Last Post: xSicKxBot
  Fedora - Contribute during the DNF5, GNOME 45, and i18n test days xSicKxBot 0 872 09-06-2023, 12:15 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Test Week for Kernel 5.10 xSicKxBot 0 1,147 12-29-2020, 12:11 AM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Test Week for Kernel 5.9 xSicKxBot 0 988 10-24-2020, 09:22 PM
Last Post: xSicKxBot
  Fedora - Announcing the release of Fedora 33 Beta xSicKxBot 0 1,002 09-29-2020, 06:01 PM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Test Week for Btrfs xSicKxBot 0 1,092 08-26-2020, 10:20 AM
Last Post: xSicKxBot
  Fedora - Contribute at the Fedora Kernel and GNOME test days xSicKxBot 0 1,018 08-18-2020, 11:42 AM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:

Forum software by © MyBB Theme © iAndrew 2016