Commit graph

11 commits

Author SHA1 Message Date
DavHau
a20691048e
version 2.2.0 (#60)
# 2.2.0 (09 Aug 2020)
Improved success rate, MacOS support, bugfixes, optimizations

### Features
 - Improved selection of wheel releases. MacOS is now supported and architectures besides x86_64 should be handled correctly.
 - Whenever mach-nix resolves dependencies, a visualization of the resulting dependency tree is printed on the terminal. 
 - The dependency DB is now accessed through a caching layer which reduces the resolver's CPU time significantly for larger environments.
 - The python platform context is now generated from the nix build environment variable `system`. This should decrease the chance of impurities during dependency resolution.
 
### Fixes
 - The requires_python attribute of wheels was not respected. This lead to failing builds especially for older python versions. Now `requires_python` is part of the dependency graph and affects resolution.
 - Detecting the correct package name for python packages in nixpkgs often failed since the attribute names don't follow a fixed schema. This lead to a handful of different errors in different situations. Now the package names are extracted from the pypi `url` inside the `src` attribute which is much more reliable. For packages which are not fetched from pypi, the `pname` attribute is used as fallback.
 - Fixed bug which lead to the error `attribute 'sdist' missing` if a package from the nixpkgs provider was used which doesn't publish it's source on pypi. (For example `tensorflow`)
 
### Other Changes
 - Mach-nix now uses a revision of the nixpkgs-unstable branch instead of nixos-20.03 as base fo the tool and the nixpkgs provider.
 - Updated revision of the dependency DB
2020-08-09 20:24:12 +07:00
DavHau
9f12a12b03 improve nixpkgs name mapping 2020-08-08 17:08:11 +07:00
DavHau
17aa8ceedd respect requires_python for wheels, support macos, add caching 2020-08-08 17:08:11 +07:00
DavHau
c708c5a7cb fix error when package == null 2020-07-03 05:18:38 +00:00
DavHau
12cde636cc version 2.0.1 2020-06-29 15:01:35 +00:00
DavHau
d37c1eb362
Version 2.0.0 (#20)
See Changelog.md for changes.

* adapt data interface for new sdist dependency graph format

* change wording in readme

* wheel support + concept providers

* overlay support WIP

* overlay support

* extras support for nixpkgs

* machnix as overrides

* granular provider settings + custom autoPatchelfHook

* improve overlay generator, remove prefer_new

* unify nixpkgs src

* update interface, bump version and examples

* fixes and updated docs
2020-05-19 09:46:48 +00:00
DavHau
9cdd2b74ee
strictly disable overlays (#17) 2020-05-07 03:53:44 +00:00
DavHau
8b7559dc12
Improve docs, examples, add Dockerfile (#6)
* add simple and advanced usage examples and readme

* add Dockerfile for debugging non-nixos installation

* fix readme
2020-04-27 09:45:49 +00:00
DavHau
1c364f82ac improve installation for other platforms 2020-04-23 03:54:23 +00:00
DavHau
f576b6abe4 update pypi-deps-db commit 2020-04-22 11:01:11 +00:00
DavHau
454ec4ebe9 init 2020-04-22 09:46:03 +00:00