Commit graph

264 commits

Author SHA1 Message Date
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
adisbladis
b9221f61b5
Automatically build most packages without passing format param
We should never have to use `format = "setuptools"` since pip can
_also_ handle setuptools packages.

This uses a custom pipBuildHook that removes pyproject.toml in case
there is also a setup.py in the same sources.
2020-04-01 00:14:30 +01:00
adisbladis
1158541d5f
Merge pull request #78 from rissson/overrides-add-python-jose
overrides: add python-jose
2020-03-31 00:33:30 +02:00
Marc 'risson' Schmitt
2196654510
overrides: add python-jose
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2020-03-31 00:27:31 +02:00
adisbladis
2bb7955807
overrides: Add pyarrow/arrow-cpp version assertion 2020-03-30 02:44:26 +01:00
adisbladis
1ab2fed54c
overrides: Fix pyarrow override for pyarrow >=0.16.0 2020-03-30 02:10:26 +01:00
adisbladis
5d451b56d3
Merge pull request #77 from nix-community/add-configparser-override
Add override for configparser
2020-03-28 20:57:57 +01:00
Tobias Pflug
9b51200c21 Add override for configparser 2020-03-28 20:47:08 +01:00
adisbladis
6a77db8213
Release 1.7.1 2020-03-27 23:17:11 +00:00
adisbladis
d5be1a8bb8
README: Add missing semicolon 2020-03-27 23:16:11 +00:00
adisbladis
41341346c2
overrides: overrideAttrs -> overridePythonAttrs 2020-03-27 23:12:59 +00:00
adisbladis
ae046bc7f2
Use overridePythonAttrs in CLI code generation 2020-03-27 23:11:54 +00:00
adisbladis
6ffeafff3c
Release 1.7.0 2020-03-27 22:39:38 +00:00
adisbladis
b5016c6577
Make lock a required subcommand of the CLI
We intend to add more features to the CLI over time.
2020-03-27 22:33:27 +00:00
adisbladis
8caefe6a61
Merge pull request #76 from nix-community/git-non-default-branch
Fix git dependencies on non-default branches
2020-03-27 23:08:19 +01:00
adisbladis
df8c9819f4
Fix git dependencies on non-default branches
Closes #73
2020-03-27 19:13:12 +00:00
jtrakk
370c9b685b
overrides: Add pytest-runner to fastparquet 2020-03-27 18:40:35 +00:00
adisbladis
cec428df49
Release 1.6.1 2020-03-27 14:33:15 +00:00
adisbladis
78463ac06e
overrides: Add toml to zipp override 2020-03-26 19:07:17 +00:00
adisbladis
f7e435407e
nixpkgs-fmt all the things (again...) 2020-03-14 23:13:51 +00:00
adisbladis
e2a47bc8cb
Merge pull request #72 from smarkets/master
Do not leak projectDir into expressions
2020-03-12 13:09:30 +00:00
Oleh Stolyar
a3655babd4 Do not leak projectDir into expressions
Fixes caching issues.
2020-03-12 13:06:06 +00:00
adisbladis
a7fec487f8
Prevent infinite recursion in gitignore filter construction 2020-03-01 08:45:52 +00:00
adisbladis
6f5d96a5fa
poetry: 1.0.4 -> 1.0.5 2020-02-29 22:09:44 +00:00
adisbladis
81a24d4d19
Fix README formatting 2020-02-29 22:06:11 +00:00
adisbladis
b81a94878f
nixpkgs-fmt lib.nix 2020-02-29 21:27:38 +00:00