Commit graph

289 commits

Author SHA1 Message Date
adisbladis
3008e6a292
Run CI on MacOS 2020-05-11 12:36:13 +01:00
adisbladis
af6ad9e636
Bump CI to 20.03 2020-05-11 12:34:49 +01:00
adisbladis
c840821824
Bump nixpkgs channel 2020-05-11 12:34:41 +01:00
adisbladis
1cfaa4084d
Merge pull request #100 from tbenst/patch-1
add override for panel, imagecodecs
2020-05-09 12:40:37 +02:00
tbenst
49822d2ccf
overrides: add override for panel, imagecodecs
Note that imagecodecs override depends on https://github.com/NixOS/nixpkgs/pull/87205
2020-05-09 09:19:15 +01:00
adisbladis
bb06c87e89
Merge pull request #101 from Infinisil/editablePackages
Introduce `editablePackageSources` to `mkPoetryEnv`
2020-05-09 00:07:01 +02:00
Silvan Mosberger
6f1b89756c
Extend docs for editablePackageSources 2020-05-08 23:01:13 +01:00
Silvan Mosberger
eb940dc9a3
Add test case for editable mkPoetryEnv 2020-05-08 23:01:13 +01:00
Silvan Mosberger
df7afa36e3
Introduce editablePackageSources to mkPoetryEnv 2020-05-08 23:01:13 +01:00
adisbladis
b0a4e5c108
Merge pull request #102 from Infinisil/dependencyEnvDocs
Add docs for dependencyEnv passthru
2020-05-08 23:54:58 +02:00
Silvan Mosberger
a371e771f1
Add docs for dependencyEnv passthru 2020-05-08 22:11:55 +02:00
adisbladis
08da79595a
Merge pull request #95 from Infinisil/mkPoetryApplicationEnv
Introduce `dependencyEnv` passthru to `mkPoetryApplication`
2020-05-08 20:55:41 +02:00
adisbladis
bbd264076a
Add suport for overriding the app together with dependencyEnv
And extend with support for all buildEnv args
2020-05-08 18:51:25 +01:00
Silvan Mosberger
d550dd4d99
Add test for dependencyEnv passthru 2020-05-08 18:29:19 +01:00
Silvan Mosberger
d7d4fdc8de
Introduce dependencyEnv passthru 2020-05-08 18:27:51 +01:00
adisbladis
4aa4f74864
Release 1.8.0 2020-05-05 20:55:44 +01:00
adisbladis
98df940936
Merge pull request #97 from purcell/patch-1
Fix isort override
2020-05-04 08:46:03 +02:00
Steve Purcell
52e24a1cce
Fix isort override 2020-05-04 15:17:04 +12:00
adisbladis
cc1c1065e3
Merge pull request #96 from purcell/isort-override
Add override for isort to cover missing dependency on setuptools
2020-05-04 02:04:11 +02:00
Steve Purcell
8b880bddb2
Add override for isort to cover missing dependency on setuptools
Without this, the wrapped isort binary cannot import setuptools.

Upstream, this will eventually be fixed when the code containing this
line gets released:

3e09facb23/isort/main.py (L19)
2020-05-04 00:51:32 +01:00
adisbladis
51854b6c8b
Merge pull request #94 from RaitoBezarius/raito/fixed-output-for-wheels
Fixed output derivation for wheels fetching
2020-05-03 13:21:53 +02:00
adisbladis
c5acd18a59
fetchWheelFromPypi: Map closer to nixpkgs fetchurl 2020-05-03 10:10:19 +01:00
Raito Bezarius
330b56105c
fetchwheel: initial version 2020-05-03 10:10:09 +01:00
adisbladis
70eb120314
nixpkgs-fmt seemingly not idempotent? 2020-04-29 14:16:00 +01:00
adisbladis
4ebbfdacd1
nixpkgs-fmt broke it's format yet again 2020-04-29 14:12:59 +01:00
adisbladis
807ab61e94
Merge pull request #90 from RaitoBezarius/raito/global-prefer-wheels
Enable global preference for wheels for top-level functions
2020-04-29 15:12:38 +02:00
Raito Bezarius
54f4afca6d
Enable global preference for wheels for top-level functions 2020-04-29 14:08:21 +01:00
adisbladis
efe279fd31
Merge pull request #93 from nix-community/pythonversion
Fix semver pythonVersion checks
2020-04-29 14:53:17 +02:00
adisbladis
21dee3427b
Pin shell channel with niv 2020-04-29 13:39:54 +01:00
adisbladis
e164fdd78a
Fix semver pythonVersion checks
We're only looking at the major.minor currently. We need to look
major.minor.patch instead.

This is made slighty problematic non-cpython where the patch version
doesn't match. If major.minor is the same for both the Python version
& the derivation version we default to derivation.version otherwise we
set the pythonVersion to pythonVersion major.minor.0.
2020-04-29 13:22:20 +01:00
adisbladis
8d7d705aa0
Merge pull request #89 from utdemir/wandb-build-failure
Fix wandb build by setting configparser version
2020-04-16 10:50:15 +02:00
adisbladis
a1c042cf4b
overrides: Add configparser version param to setuptools.setup() 2020-04-16 09:43:59 +01:00
Utku Demir
3b7f255d37 Add failing test for wandb package 2020-04-16 04:59:26 +00:00
adisbladis
10b7ceccb6
Remove reference to gitlab ci from badge link 2020-04-15 16:24:18 +01:00
adisbladis
9e89365acb
Update badge URL to use Github Actions 2020-04-15 16:18:18 +01:00
adisbladis
8d4e9d218a
Merge pull request #88 from nix-community/cachix
Add Cachix to Github Actions & remove Gitlab CI
2020-04-15 17:11:18 +02:00
adisbladis
6d822ee9ab
Remove gitlab-ci
With Cachix we should get most of the advantages we get from the
nix-community build machine and can run on PRs.
2020-04-15 15:19:40 +01:00
adisbladis
32dfe63d4d
Add Cachix to Github workflows 2020-04-15 15:19:36 +01:00
adisbladis
4b551ea711
Merge pull request #87 from nix-community/canonical-module-names
Add canonicalisation of module names
2020-04-15 15:19:58 +02:00
adisbladis
9dfb080d3f
Add canonicalisation of module names
This shouldn't be required and I think that these are actually
packaging bugs and not something that poetry2nix should really be
concerned with.

Closes #84
2020-04-15 10:24:46 +01:00
adisbladis
b16cfe598b
lib: Minor nixpkgs-fmt 2020-04-14 13:07:15 +01:00
adisbladis
a7a882f88f
Set default build system to empty string
In case a build-system is not set.

Closes #83
2020-04-14 11:42:16 +01:00
adisbladis
f49618eed0
overrides: Add guard against cppy not in nixpkgs 2020-04-14 11:36:03 +01:00
adisbladis
adb23d7df5
Merge pull request #81 from purcell/kiwisolver-override
Add override for kiwisolver, which has cppy in setup_depends
2020-04-14 11:01:47 +02:00
adisbladis
61bfcead4e
Merge pull request #82 from purcell/no-head-on-empty-list
Avoid calling builtins.head on potentially-empty list of matching wheels
2020-04-14 11:01:11 +02:00
adisbladis
b3defab60e
Merge pull request #85 from purcell/github-actions
Add simple github actions checks
2020-04-14 10:58:55 +02:00
Steve Purcell
d52e92a8ba Add simple github actions checks 2020-04-08 17:32:07 +12:00
Steve Purcell
e465c840f5 Avoid calling builtins.head on potentially-empty list
When no matching wheels are found, builtins.head causes this to fail
with a very low-level error. Better to return an empty list and
trigger the assertion in the code which calls this.
2020-04-08 16:24:35 +12:00
Steve Purcell
201e616921 Add override for kiwisolver, which has cppy in setup_depends 2020-04-08 16:16:45 +12:00
adisbladis
b7b50f4098
Merge pull request #79 from nix-community/custom-pip-build-hook
Automatically build most packages without passing format param
2020-04-01 13:47:00 +02:00