Commit graph

32 commits

Author SHA1 Message Date
InLaw
0aa868eb2b
Update examples.md (#217) 2021-01-23 01:17:56 +07:00
InLaw
44a3d1ce99
Update examples.md (#215)
update _pre to Pre and _post to Post overrides
2021-01-17 22:21:09 +07:00
DavHau
b64aab5282 version 3.1.1 2020-11-27 13:38:43 +07:00
DavHau
84383f85ae version 3.1.0 2020-11-27 01:08:36 +07:00
DavHau
f1b3d620e5 update index for examples.md 2020-11-23 15:11:00 +07:00
DavHau
0d6f1f218a add example for jupyterWith 2020-11-23 15:09:14 +07:00
DavHau
9aa62d0d03 version 3.0.2 2020-10-27 17:25:57 +07:00
DavHau
7f54e0678e version 3.0.1 2020-10-21 14:46:47 +07:00
DavHau
2f9b022d91
Release 3.0.0 (#159)
* fix non-python packages passed via packagesExtra

* refactor examples and readme for 3.0.0

* add changelog for 3.0.0

* bump version to 3.0.0 and update nixpkgs and pypi-deps-db dependencies
2020-10-14 03:17:27 +07:00
DavHau
4d995d7872 simplify some examples 2020-10-12 01:47:00 +07:00
DavHau
09595e2b78 add example for R and update other examples 2020-10-12 01:26:18 +07:00
DavHau
b2aede9aa2 add example for aarch64 sd image 2020-10-10 14:10:58 +07:00
DavHau
1127246052 add: (mkPython {}).dockerImage 2020-10-08 23:42:48 +07:00
DavHau
65bf68fc47 improve: examples for JupyterLab 2020-10-08 14:35:12 +07:00
TLP49i7_ae
c2d5f95bb8 add parameter to choose nixpkgs version (show it in --version) and add examples 2020-10-08 11:58:34 +07:00
DavHau
8fa7e5921b improve readme and examples 2020-10-03 17:10:54 +07:00
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
Thiago Kenji Okada
b87a8f98d0 fix ref in examples 2020-09-14 15:38:31 -03:00
DavHau
67184df0c2 fix typo 2020-08-27 10:25:33 +07:00
DavHau
c522f0328e improve examples 2020-08-26 19:51:40 +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
4d9371cbb7 add tests; improve examples 2020-08-26 13:06:14 +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
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