Skip to content

Releases: TyberiusPrime/anysnake2

2.1.5 - better gcroots

20 Nov 13:50
Compare
Choose a tag to compare

This places input flakes as gcroots,
relocks flake inputs when a flake version is changed,
sorts nixpkgs alphabetically,
has better 'default' package support for flakes and
correctly refreshes github revs if you leave the final '/' standing.

Stop rewriting anysnake.toml every time

06 Nov 10:08
Compare
Choose a tag to compare

We now only rewrite anysnake2.toml if has actually changed.

Fixing editable with usernames

16 Sep 14:14
Compare
Choose a tag to compare

This minor releases fixes
usernames:password protected editable python dependencies

2.1.1

16 Sep 13:02
Compare
Choose a tag to compare
2.1.1 Pre-release
Pre-release

Fix username:password clones

Editable from hg

16 Sep 10:54
Compare
Choose a tag to compare
Editable from hg Pre-release
Pre-release

Adds editable installs from hg repositories

Bugfix: Compatibility with older anysnake2 revs

16 Sep 09:32
Compare
Choose a tag to compare

The new unified 'url' scheme doesn't play well with old anysnake2s.
This release fixes that by moving the url for anysnake2 itself into an url2 field.
Ugly, but necessary.

mach-nix -> poetry2nix

16 Sep 09:23
Compare
Choose a tag to compare

This major release replaces mach-nix with poetry2nix and ancient-poetry.

Mach-nix has always been troublesome,
especially to debug,
and has been unsupported for quite a while now.

It's ecosystem tracking had stopped some time in 2023,
servery limiting it's usefullnes.

This update now brings in poetry2nix, and a clever
proxying of poetry with ancient poetry to reproduce the same ecosystem
date based version resolving, without having to keep track of pypi
day by day.

I took the opportunity to remove a lot of friction as well,
and the anysnake2.tomls look much different now.

Unfortunately, there is very limited auto-updating in place,
so familiarize yourselves with the (new format)[https://github.com/TyberiusPrime/anysnake2/blob/main/examples/full/anysnake2.toml].

Notably, the way dependency URLs are specified has been
refactored to be the same mechanism for pretty much everything,
and they all 'trust-on-first-use' now.

That means you can start with an empty anysnake2.toml and
it will be automatically filled into something useful.

Smart auto-formating and ordering for anysnake2.toml
is now enforced.

The container image building has been fixed (and produces OCI-images now).

R/rpy2 by default build with the same glibc as python, reducing
compatibility issues.

The python section is - naturally - much revamped, and editable python
installs are now defined in one place, instead of being spread over two.

The 'python-package-in-a-flake' support has been removed - with poetry2nix
we should be capable of installing any python package with the local escape hatches.

Long term, we'll probably change from poetry2nix to uv2nix once that has stabilized.
I expect that to be a lot less disruptive than this change.

1.15.5

01 Jul 12:58
Compare
Choose a tag to compare

Allow setting permitted_insecure_packages on nixpkgs

Bugfix release: dependencies of pkgs

07 May 14:50
Compare
Choose a tag to compare

So far, we put the dependencies of any program you had imported via nixpkgs.packages or a flake into the /bin of the created container.

This creates issue where one of these dependencies might shadow something you're explicitly pulling in via flake.

With this release, that's a thing of the past. If your flaked program needs to find other programs at run time, wrap it with makeWrapper or such.
The bin in the container is just what you requested.

(1.15.4 fixed a bug in 1.15.3 where flake-imported packages were not correctly placed in bin. 1.15.3 was de-released)
(1.15.3 fixed a regression in 1.15.2 for R packages. 1.15.2 was therefore de-released).

Bugfix: Restore verbosity setting

29 Jan 13:44
Compare
Choose a tag to compare

The parsing of --verbose has been fixed.