Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Releases: dmerejkowsky/dmenv

v0.14.1

29 Apr 12:27
Compare
Choose a tag to compare
  • Fix incorrect --help message
  • Better error handling when virtualenv or binary path do not exist
  • Fix typo in setup.cfg template

All reported by @theodelrieu. Thanks, man.

v0.14.0

05 Apr 11:40
Compare
Choose a tag to compare
v0.14.0

v0.13.0

03 Apr 09:39
Compare
Choose a tag to compare
  • Fix #77: Use prod extra requirements when --production is used. This allows having dependencies just for production environments.

v0.12.0

20 Mar 13:57
Compare
Choose a tag to compare

Show outdated dependencies

  • Use dmenv show:outdated to show outdated dependencies.

Allow access to system site packages

  • dmenv install and dmenv lock commands learned the --system-site-packages option to create virtual environments that have access to packages installed globally on the system.

Allow skipping dev dependencies

This is done with the --production flag. For instance, dmenv --production install.
dmenv --production lock will create a production.lock that contains no development dependencies.

Breaking changes

Virtualenv location has changed to allow both production and full virtual environments to coexist:

  • When using DMENV_VENV_OUTSIDE_PROJECT
version location
<= 0.11 DATA_DIR/dmenv/venv/3.7.1/foo/
>= 0.12, default DATA_DIR/dmenv/venv/dev/3.7.1/foo/
>= 0.12, with --production DATA_DIR/dmenv/venv/prod/3.7.1/foo/
  • Otherwise:
version location
<= 0.11 .venv/3.7.1/foo/
>= 0.12, default .venv/dev/3.7.1/foo/
>= 0.12, with --production .venv/prod/3.7.1/foo/

Migrating from 0.11

  • Run dmenv clean with dmenv 0.11 to clean up the deprecated location
  • Upgrade to dmenv 0.12
  • Run dmenv install to create the new virtual environment

v0.11.1

01 Mar 13:42
Compare
Choose a tag to compare
  • Fix metadata on crates.io to include new tagline.

v0.11.0

20 Feb 10:55
Compare
Choose a tag to compare
  • Add dmenv show:bin_path to show the path of the virtual environment binaries.

Breaking changes

  • Fix #31: make sure the wheel package gets frozen when running dmenv lock. Note: this also causes other packages like setuptools and pip itself to get frozen. As a consequence dmenv install no longer upgrades pip automatically, and so the --no-upgrade-pip option is gone.

v0.10.0

30 Jan 12:44
Compare
Choose a tag to compare
  • Allow using dmenv outside the current project, by setting an environment variable named DMENV_VENV_OUTSIDE_PROJECT.

v0.9.0

25 Jan 11:58
Compare
Choose a tag to compare
v0.9.0

v0.8.4

15 Jan 16:36
Compare
Choose a tag to compare
  • Fix #49: return code was always 0 when using dmenv run on Windows. (regression introduced in 0.8.1).

v0.8.3

11 Jan 15:50
Compare
Choose a tag to compare
v0.8.3