<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Poetry on Personal weblog</title>
    <link>https://carl.duevel.online/tags/poetry/</link>
    <description>Recent content in Poetry on Personal weblog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 17 Jul 2021 12:59:33 +0200</lastBuildDate>
    <atom:link href="https://carl.duevel.online/tags/poetry/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Create virtualenvs in project directories</title>
      <link>https://carl.duevel.online/blog/python_venvs_in_projects/</link>
      <pubDate>Sat, 17 Jul 2021 12:59:33 +0200</pubDate>
      <guid>https://carl.duevel.online/blog/python_venvs_in_projects/</guid>
      <description>&lt;p&gt;It&amp;#39;s quite handy to create the virtual environment aka venv for a python project in the project folder&#xA;itself. This means:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;No huge &lt;code&gt;.virtualenvs&lt;/code&gt; folder in your home directory with a lot of envs which&#xA;you will never use again (The one on this computer is 1.2 GB big although I do&#xA;not work with many Python projects at all(!)). If you are done with a project&#xA;and delete all local files, the corresponding environment will be gone with&#xA;it.&lt;/li&gt;&#xA;&lt;li&gt;Pointing your editor/IDE to the current virtual env as well as deleting it&#xA;is easy, because it is right there in the project root folder.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;As there are &lt;strong&gt;many&lt;/strong&gt; tools in this realm, obviously every one of them handles&#xA;things a little bit differently and it is the default for &lt;em&gt;none&lt;/em&gt; of the popular ones:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why does poetry not use the specified Python version?</title>
      <link>https://carl.duevel.online/blog/python_poetry/</link>
      <pubDate>Fri, 16 Jul 2021 08:38:43 +0200</pubDate>
      <guid>https://carl.duevel.online/blog/python_poetry/</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR: There is only one way to install poetry proper and that is with the&#xA;installer script provided by the project itself.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&#xA;I was sweating for the better part of an afternoon with a colleague about this.&#xA;I had installed &lt;a href=&#34;https://python-poetry.org/&#34;&gt;poetry&lt;/a&gt;, the new star in the python tooling world and it kept&#xA;using the global version of Python instead the one for the project at hand,&#xA;though poetry&amp;#39;s own &lt;code&gt;pyproject.toml&lt;/code&gt; specifies it. It was &lt;em&gt;quite&lt;/em&gt; a frustrating&#xA;experience.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
