Commit graph

24 commits

Author SHA1 Message Date
DavHau
ac05859dcb version 2.4.1 2020-09-21 13:29:56 +07:00
DavHau
b37d9bb196 version 2.4.0 2020-09-20 17:41:35 +07:00
DavHau
d658b4154f add underscore override system 2020-08-26 15:24:50 +07:00
DavHau
de1a164858 version 2.3.0 2020-08-26 13:19:25 +07:00
DavHau
b74899ffb6 allow calling mkPython and buildPythonPackage with a single argument 2020-08-25 15:21:49 +07:00
DavHau
59d54bd366 adapt readme and examples to use mach-nix.nixpkgs instead of pkgs 2020-08-20 15:06:26 +07:00
DavHau
f0b3b3c8e5
version 2.2.2 (#88)
# 2.2.2 (17 Aug 2020)

### Fixes
 - Packages with dot in name led to invalid nix expression
 - Problem generating error message for resolution impossible errors
 - `buildPythonPackage` of mach-nix failed if arguments like `pkgs` were passed.
 - When overriding packages, mach-nix now falls back to using `overrideAttrs` if `overridePythonAttrs` is not available.
 
### Package Fixes:
 - pip: installation failed. Fixed by forcing `nixpkgs` provider
 - gdal: building from sdist doesn't work. Fixed by forcing `nixpkgs` provider

### Development
 - Merged project `pypi-crawlers` into mach-nix (was separated project before)
2020-08-17 18:16:56 +07:00
DavHau
1652e31ce3
Dev (#63)
* fix abi tag for python 3.8

* handle circular deps; print info ResolutionImpossible; add tests

* fix readme

* version 2.2.1
2020-08-11 18:40:10 +07:00
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
bfa6943e3b release 2.1.1 2020-07-30 21:12:13 +07:00
David Arnold
32a40a8349
typos 2020-07-21 19:31:49 -05:00
xiorcale
bf883922a7
Fix typo 2020-07-15 10:58:19 +02:00
DavHau
fc45307520 version 2.1.0 2020-07-04 12:50:07 +00:00
DavHau
b523072885 improve readme and add examples.md 2020-07-04 12:22:33 +00:00
DavHau
ab8e6ca9ba include logo 2020-06-29 16:00:29 +00:00
DavHau
12cde636cc version 2.0.1 2020-06-29 15:01:35 +00:00
DavHau
8eb1e243ac
Buy me a beer (#32)
* add donation button
2020-06-27 12:58:54 +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
42a1daf197 add limitations and alternative software to readme 2020-05-02 08:21:34 +00:00
DavHau
30b74e8917 add contributing section to readme 2020-04-30 06:15:01 +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
Raphael Das Gupta
c53ac280f5
fix typo in Readme.md: "Defina" -> "Define" (#4) 2020-04-26 03:41:47 +00:00
DavHau
d5f91dbb95 bump version to 1.0.0 2020-04-24 10:44:49 +00:00
DavHau
fa2bb2d33f
Improvements (#3)
* edd print version and improve UI

* default.nix return attributes

* add readme

* fix readme
2020-04-24 10:35:42 +00:00