Skip to content

Releases: DataDog/riot

0.19.0

09 Aug 19:59
470248c
Compare
Choose a tag to compare

What's Changed

0.18.0

31 Jul 15:32
ff2895d
Compare
Choose a tag to compare

New Features

  • Add support for CPython 3.12

0.17.7

26 Jul 15:29
4818f9e
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue that skipped the installation of the development package when the base environment was already created by a previous run that skipped the installation of the development package.

0.17.6

26 Jul 13:17
27cfcfa
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a regression that prevented the skip option from being honored when the base venv did not yet exist.

0.17.5

21 Jul 21:10
a666580
Compare
Choose a tag to compare

Bug Fixes

  • pin pip<23.2 to avoid breaking change impacting pip-tools for Python 3.7

0.17.4

12 Jul 11:45
7150978
Compare
Choose a tag to compare

Bug Fixes

Fixed an issue that caused base virtual environments to get modified when common dependencies were installed in child virtual environments.

0.17.3

02 May 14:48
fe9c1c1
Compare
Choose a tag to compare

Fixes an issue in which riot generated a requirements lockfile for a Venv instance other than the one it was running tests for. This behavior was happening due to logic that skipped Venv instances with pkgs == None while preparing the environment, but not while running tests. The fix is to stop riot from ignoring pkgs-less Venvs in all cases.

v0.17.2

20 Apr 13:22
5a7e061
Compare
Choose a tag to compare

Bug Fixes

  • Avoid using latests versions of virtualenv since it has dropped support for Python 2.7.

0.17.1

17 Mar 15:00
38c345a
Compare
Choose a tag to compare
fix: change how Venvs are hashed (#203)

* use the full_pkg_str as the basis for Venv hashes

because the hash of self can change between requirements installation and pythonpath creation, self is no longer a suitable hash key
self.full_pkg_str does not change during a single run of riot, so it is a better hash key

* change hasher in the correct place

* release note

* include py in hash

* change expected hashes in tests

* Update releasenotes/notes/stable-hash-63389fa04cca60ab.yaml

Co-authored-by: Zachary Groves <32471391+ZStriker19@users.noreply.github.com>

* avoid hash collisions by including env name in hash seed

* update hash expectations in tests

* delete release note

---------

Co-authored-by: Zachary Groves <32471391+ZStriker19@users.noreply.github.com>

0.17.0

09 Mar 21:25
d4d394f
Compare
Choose a tag to compare

New Features

  • Adds the riot requirements <hash> command, which uses pip-compile to generate a requirements lockfile for venv identified by the hash
  • Adds the -c/--recompile-requirements flag to riot run. When set, this flag causes the requirements.txt lockfile and the venv itself to be regenerated. When omitted, the requirements lockfile is only built if it does not already exist.