adisbladis
a982fc6574
Merge pull request #779 from razielgn/fix-poetry-1-2-dev-deps-issue
...
fix: eval error on poetry 1.2 when a dev dependency is from git
2022-10-21 03:20:27 +13:00
Federico Ravasio
2523d030d2
fix: add deps to build scipy 1.9
2022-10-20 11:16:42 +00:00
Federico Ravasio
0bc09f58e7
fix: eval error on poetry 1.2 when a dev dependency is from git
2022-10-20 08:55:38 +00:00
Phillip Cloud
9ea1bcb876
fix builds by adding "typing" group to poetry-env-test
2022-10-18 08:35:43 -07:00
adisbladis
ff3fefee0f
overrides: fix mypy build
2022-10-11 11:52:04 +13:00
adisbladis
916fa69e70
re-enable path-deps tests
...
they were accidentally disabled when debugging
2022-10-10 20:10:20 +13:00
Phillip Cloud
e59e1b7c6a
add support for specifying dependency groups that are checkPhase
only
2022-10-09 07:34:47 -04:00
adisbladis
9499ece6fc
Merge pull request #746 from rszamszur/overrides-add-watchfiles
...
Overrides: add watchfiles
2022-10-09 15:03:02 +13:00
K900
673ba1f7cc
treewide: another pile of assorted changes
...
- update pinned nixpkgs used for tests
- fix the rest of the setuptools fallout
- add and test some scientific packages
2022-10-09 11:33:01 +13:00
adisbladis
2347698530
disable poetry-env test
2022-10-08 03:23:23 +13:00
adisbladis
81fb0b7233
overrides: add more build systems
2022-10-08 03:23:23 +13:00
K900
33db1f30d0
feat: big messy refactoring
...
- normalize package names to match PEP-503
- don't assume build dependencies on setuptools{,-scm}
- automatically generate overrides for setuptools{,-scm}
- pull known build systems directly from nixpkgs
- fix a bunch of mostly unrelated warnings
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
2022-10-06 19:54:08 +03:00
Radosław Szamszur
175def76d4
tests: add watchfiles test
2022-10-06 16:15:42 +02:00
Alex Chalk
fa52f5bd4b
Add support for building bcrypt 4 (rust)
2022-09-29 15:20:50 -04:00
adisbladis
985092420a
tests.pyqt5: Disable test
...
It takes 1.5hrs+ to complete from scratch on CI.
2022-09-22 19:06:23 +12:00
adisbladis
2081943793
Add support for Poetry >=1.2.0 dependency groups
2022-09-22 16:23:08 +12:00
adisbladis
2758358d60
Allow insecure packages in tests
2022-09-22 16:13:15 +12:00
adisbladis
02593b5345
Add test for package/env generated with Poetry 1.2.0
2022-09-22 16:13:15 +12:00
Phillip Cloud
030b9522dc
shapely: add test
2022-05-13 07:31:18 -04:00
adisbladis
2b56b8b77f
overrides.pyqt5: Fix build with more recent QT versions
2022-05-13 20:18:18 +12:00
adisbladis
bcbeb8d0c4
tests.uwsgi: Comment out flaky test
2022-05-10 08:14:08 +12:00
adisbladis
c22f70a140
nixops_unstable: Skip test on darwin
...
It's broken in upstream nixpkgs, not our problem.
2022-05-05 07:52:28 +12:00
adisbladis
226ad319e6
tests: Set allowAliases = false
...
We don't want to accidentally end up with aliases in the code base
that then breaks nixpkgs when it's eventually incorporated.
2022-05-05 01:50:51 +12:00
Jairo Llopis
1baca43506
fix: support nullified editablePackageSources in mkPoetryEnv
...
See these docs: 99c7956835/README.md (L86)
They say that any dependency passed as `null` is forced to be non editable, even if it is marked as `develop = true` in `pyproject.toml`.
However, this was not being the case.
Added a test to prove the need for the fix.
@moduon MT-83
2022-04-14 09:29:55 +01:00
Sem Mulder
40e199d9d2
Disable PEP 600 test on MacOS
...
Because there is no open3d build for MacOS.
2022-03-29 09:59:19 +02:00
Sem Mulder
d687e93cb9
Add test for PEP 600
2022-03-28 23:49:29 +02:00
adisbladis
b6b02d7fc2
Add test for utf8 (emoji) in pyproject.toml
2022-02-05 18:38:57 +12:00
adisbladis
c667bfa529
Skip failing tests on darwin
...
And fix scikit-learn on darwin.
2022-01-22 20:01:07 +12:00
adisbladis
f4dcab7362
Add assorted-pkgs test
...
I intend to add smaller test cases here that are not big enough to warrant their own tests.
2022-01-20 10:04:25 +12:00
adisbladis
a032307edd
Add extended cross test
2022-01-19 18:59:50 +12:00
adisbladis
9b5fba1b71
Fix cross compilation and add cross test
2022-01-19 04:35:12 +12:00
adisbladis
d214b36911
Inherit test cases from nixpkgs
...
These packages uses poetry2nix and we can use them for regression testing.
2022-01-18 22:18:00 +12:00
adisbladis
6e5bdfb5b1
tests: Add test for IFD projectDir
2022-01-11 10:16:02 +13:00
Phillip Cloud
2fde8725f6
test: add failing aiopath test
2021-12-29 12:34:32 -05:00
adisbladis
d5f756b8e5
Break out awscli to it's own separate test
...
Solving the test environment for common-pkgs-2 is taking forever, we
can make it a lot easier by splitting out awscli to it's own test.
2021-12-25 22:25:51 -08:00
adisbladis
2c63047ee1
Run nixpkgs-fmt after the nixpkgs bump
2021-12-25 21:55:18 -08:00
Phillip Cloud
3cbe79b23e
test: actually run the test
2021-12-22 14:03:59 -05:00
Phillip Cloud
2fed7bc910
pip: remove restriction
2021-11-08 08:07:04 -05:00
Alex Chalk
cf08f95e1e
test: Call tests
2021-10-04 16:22:11 -05:00
Phillip Cloud
38c2f51e85
pytest-randomly: failing test
2021-09-16 11:41:38 -04:00
Victor Engmark
9cbcc4a0e1
tests: Add in
test
...
Tests the change in commit 203fb43910
.
2021-08-30 13:43:44 +12:00
Niels Kristian Lyshøj Jensen
aa111b9ac2
Add tests for local file packages
2021-07-10 13:40:33 +02:00
Tom Sydney Kerckhove
b66fcd00c5
Regression test
2021-06-26 10:00:05 +02:00
Antoine Eiche
28fba9f743
Add support to the legacy Pypi API
...
Some private repositories (such as Devpi) expose the legacy Pypi
API (https://warehouse.pypa.io/api-reference/legacy.html ).
This commit adds a dedicated fetcher which basically queries this API
to get the URL pointing to the actual file.
Since Pypi still exposes this API, it has been possible to write a
test that uses this legacy API.
Fixes https://github.com/nix-community/poetry2nix/issues/277 .
2021-06-01 16:25:29 -05:00
Andreas Rammhold
7113a96c35
Add MarkupSafe2 test case
...
This test case is what initially motivated the move towards Pypi API
based fallback fetching.
2021-05-13 21:48:04 +02:00
sireliah
41de3f2afc
Make mkPoetryPackages return nested dependencies
2021-03-12 09:59:33 +01:00
adisbladis
b63e5e22c8
re-enable pyqt test
2021-02-21 11:57:24 +01:00
adisbladis
3ffd5f7389
Pin nixpkgs in tests
...
I've had enough with nixpkgs breakage affecting our tests...
2021-02-21 11:54:33 +01:00
adisbladis
c3b6684ddc
Temporarily disable pyqt test
...
This was broken by external changes in nixpkgs, lets disable it
temporarily to get the CI green on pull requests and then fix it.
2021-02-21 11:43:28 +01:00
K900
324cc0cb2a
Fix stdenv.platform accesses for latest nixpkgs
...
This fixes builds being completely broken after:
* https://github.com/NixOS/nixpkgs/pull/110726
* https://github.com/NixOS/nixpkgs/pull/110544
This also fixes poetry2nix on ARM and PowerPC platforms by introducing a
mapping from Nixpkgs targets to manylinux_* machine names and using it
when matching wheels for dependencies.
2021-01-30 20:17:54 +03:00