Commit graph

893 commits

Author SHA1 Message Date
adisbladis
b4d2477b1f Add a basic python environment for tooling to nix-shell
I want to start formatting all Python code in the repository with black, let's dogfood this and use poetry2nix to provide it.
2022-01-12 18:48:06 +13:00
adisbladis
6d4d6251f3
Merge pull request #501 from nix-community/ensure_ascii_py2
fix: Only set ensure_ascii to False for Python >= 3
2022-01-12 17:47:15 +12:00
adisbladis
d26cd8d7c5 fix: Only set ensure_ascii to False for Python >= 3 2022-01-12 18:07:34 +13:00
adisbladis
dc8b983f3f Bump version to 1.25.0 2022-01-12 17:51:53 +13:00
adisbladis
35f45fc515
Merge pull request #500 from nix-community/nixops-1_7-overrides
overrides: Add overrides to build NixOps 1.7
2022-01-12 16:39:59 +12:00
adisbladis
115a77b97e overrides.wcwidth: Add override 2022-01-12 17:34:16 +13:00
adisbladis
ddea306081 overrides.pysqlite: Add override 2022-01-12 17:34:16 +13:00
adisbladis
08c77c5078 overrides.prettytable: Add override 2022-01-12 17:34:16 +13:00
adisbladis
9cb97ec589 overrides.backports.functools-lru-cache: Add override 2022-01-12 17:34:16 +13:00
adisbladis
48e98cefbc
Merge pull request #499 from Sohalt/scikit-image
overrides: add scikit-image
2022-01-12 08:56:47 +12:00
sohalt
59a1fef437 overrides: add scikit-image 2022-01-11 15:02:50 +01:00
adisbladis
419339b35d
Merge pull request #497 from nlewo/fix-legacy
The package URL is relative to the index URL
2022-01-11 23:01:29 +12:00
adisbladis
79a3fcb22f
Merge pull request #498 from Sohalt/tables-hdf5
overrides: tables: fix HDF5_DIR
2022-01-11 21:58:57 +12:00
sohalt
91301410ce overrides: tables: fix HDF5_DIR 2022-01-11 10:41:49 +01:00
Antoine Eiche
48c228ac63 The package URL is relative to the index URL
This fixes a regression introduced by f7ab15e390.

In case of a devpi repository,
- the index url looks like

    https://devpi.company/company/dev/+simple/python-package

- the package relative URL looks like

    /../../+f/d00/a3edd114f3e81/package.tar.gz#sha256=d00a3edd114f3e813e0e22e07513361b00d925fb67057a3452a897c8623f73f6

- the URL to download the package is

    https://devpi.company/company/dev/+f/d00/a3edd114f3e81/package.tar.gz#sha256=d00a3edd114f3e813e0e22e07513361b00d925fb67057a3452a897c8623f73f6

With the commit f7ab15e390, the URL to
download the package was

    https://devpi.company/+f/d00/a3edd114f3e81/package.tar.gz#sha256=d00a3edd114f3e813e0e22e07513361b00d925fb67057a3452a897c8623f73f6

which doesn't exist.
2022-01-11 09:37:05 +01:00
adisbladis
bc70a5c975
Merge pull request #496 from nix-community/fetched-projectdir-test
tests: Add test for IFD projectDir
2022-01-11 10:05:57 +12:00
adisbladis
6b063a31bc overrides: Add fastapi override 2022-01-11 10:16:02 +13:00
adisbladis
6e5bdfb5b1 tests: Add test for IFD projectDir 2022-01-11 10:16:02 +13:00
adisbladis
4893be1002
Merge pull request #494 from rskew/moto-woops
overrides: remove problematic moto override
2022-01-08 23:36:14 +12:00
Rowan Skewes
189758214f overrides: remove problematic moto override 2022-01-08 21:58:38 +11:00
adisbladis
6621669135
Merge pull request #493 from kurnevsky/opencv-contrib-python
overrides: fix opencv-contrib-python the same way as opencv-python
2022-01-08 06:10:54 +12:00
adisbladis
886c576b39
Merge pull request #492 from lunik1/bjoern-override
overrides: Add bjoern override
2022-01-08 06:10:15 +12:00
Evgeny Kurnevsky
fd9d782a97
overrides: fix opencv-contrib-python the same way as opencv-python 2022-01-07 16:32:04 +03:00
lunik1
a8a8889009
overrides: Add bjoern override 2022-01-07 10:24:21 +00:00
austin-searchpilot
5a8fb13cb1
make wheel selection more sophisticated for m1 macs (#489)
* make wheel selection more sophisticated for m1 macs

* remove unneeded parentheses

Co-authored-by: Austin Platt <austinplatt@Austins-MacBook-Air.local>
2022-01-07 11:19:14 +12:00
adisbladis
d3e600bf94
Merge pull request #490 from averagechris/adds-pbr-to-requests-mock
Adds pbr to requests-mock.propagatedInputs
2022-01-06 14:55:09 +12:00
Chris Cummings
c9fa77c72c Adds pbr to requests-mock.propagatedInputs 2022-01-05 20:43:30 -06:00
adisbladis
a97a37d0b0 Add table of contents to readme 2022-01-06 14:35:01 +13:00
adisbladis
9746602f79 Add a section for how to guides 2022-01-06 14:30:44 +13:00
adisbladis
604e4a4dcf Create an acknowledgements section in the README
And reorder the contact section.
2022-01-06 14:22:32 +13:00
adisbladis
d5d2f4a77c
Merge pull request #487 from nix-community/editable-path-deps
Add path dependencies where develop=true as editable packages by default
2022-01-05 16:54:30 +00:00
adisbladis
2ce16fd822 README: Document new editablePackageSources behaviour where develop=true 2022-01-06 05:49:43 +13:00
adisbladis
97acfb6aa0 Allow unsetting editable package sources by explicitly setting them to null
With the recent addition of develop=true being installed as editable by default we need a way to opt out of installing sources as editable.
This is done by explicitly passing an attrset with null as the path value.
2022-01-06 05:47:50 +13:00
adisbladis
e74bb4c3f5 Add path dependencies where develop=true as editable packages by default
Closes #265
Closes #284
2022-01-06 05:47:50 +13:00
adisbladis
a6d0d0b245
Merge pull request #488 from nix-community/various-override-fixups
Various override fixups
2022-01-05 16:47:36 +00:00
adisbladis
de898ab3fb overrides.importlib-metadata: Don't substituteInPlace for wheel package
Closes #241
2022-01-06 05:43:00 +13:00
adisbladis
2afe81f902 overrides.pytezos: Fix typo in override 2022-01-06 05:43:00 +13:00
adisbladis
ecaf9f1322 overrides: Add pytaglib override
Closes #465
2022-01-06 05:43:00 +13:00
adisbladis
b8f1d2d3a3 overrides: Fix opencv-python
According to https://github.com/nix-community/poetry2nix/issues/155#issuecomment-765230981.

Closes #155
2022-01-06 05:43:00 +13:00
adisbladis
efb01106c5
Merge pull request #486 from nix-community/project-root-dep
Create a dummy null package for the current project in case any dependencies depend on the root project
2022-01-05 08:20:28 +00:00
adisbladis
3a9ac250e2 Prevent editable package from being built when in nix-shell environment
They are not useful and will will fail to build in some cases, like the case where they depend on another package also being added as an editable source.
2022-01-05 08:12:44 +00:00
adisbladis
85bb626d83 Create a dummy null package for the current project in case any dependencies depend on the root project
Closes #307
2022-01-05 07:43:59 +00:00
adisbladis
658be43f20
Merge pull request #484 from nix-community/dependabot-config
Add dependabot configuration to update Poetry
2022-01-03 17:56:11 +12:00
adisbladis
9e9bcb70d2 Add dependabot configuration to update Poetry
But we don't want to auto-bump tests for obvious reasons.
2022-01-03 05:55:31 +00:00
adisbladis
44d84349df
Merge pull request #483 from vincentbernat/patch-1
README: fix shell example syntax
2022-01-03 14:49:17 +12:00
Vincent Bernat
c47ff252c1
README: fix shell example syntax 2022-01-02 23:35:35 +01:00
adisbladis
614f58a75a
Merge pull request #482 from nix-community/fetched-projectdir
Don't filter sources where the projectDir is the output of a derivation
2022-01-02 18:46:48 +12:00
adisbladis
f3f70444b7 Don't filter sources where the projectDir is the output of a derivation
This allows for IFD style projectDir.

Closes #435
2022-01-01 22:38:02 -08:00
adisbladis
a9a6bd10e3 overrides: Add pantalaimon override 2021-12-30 14:46:33 -08:00
adisbladis
baf5802b21
Merge pull request #481 from nix-community/pantalaimon-overrides
Add overrides to build pantalaimon
2021-12-31 09:28:14 +12:00