Commit graph

626 commits

Author SHA1 Message Date
Niels Kristian Lyshøj Jensen
aa111b9ac2
Add tests for local file packages 2021-07-10 13:40:33 +02:00
Niels Kristian Lyshøj Jensen
2eb8329319
Add support for local files 2021-07-10 13:38:34 +02:00
adisbladis
e40e8ed0e8
Merge pull request #327 from johanwiren/fix-legacy-relative-path
Fix legacy relative paths including `../`
2021-07-02 10:41:57 -05:00
adisbladis
fcd0de5cc5
Merge pull request #333 from nix-community/pep508-in-operator-fixup
pep508: Fix `in`
2021-07-02 04:33:45 -05:00
adisbladis
8ca15bdb12
Improve error message in case of a missing suitable source/wheel for a dependency 2021-07-02 04:25:00 -05:00
adisbladis
203fb43910
pep508: Fix in operator
If a marker contains two or more instances of the substring "in" Nix
regex engine in it's infitine wisdom splits only on the last one.

By changing a * to a + we can get the desired behaviour, but we do
need to fall back to the previous behaviour in case the more
restrictive match is not working.

Closes #332
2021-07-02 04:15:58 -05:00
Johan Wirén
0550a673cc
Handles urls containing "../" 2021-07-01 18:47:49 +02:00
adisbladis
20b868d419
Merge pull request #330 from jgeerds/override-updates
Add overrides for multiple packages
2021-07-01 10:21:10 -05:00
adisbladis
fe0227e2ed
Merge pull request #329 from nlewo/fix-insecure
Fix insecure ssl in fetch_from_legacy
2021-07-01 10:20:45 -05:00
Jascha Geerds
00afb77ee8 Add overrides for multiple packages
- pygraphviz
- pyjsg
- pyshex
- pyshexc
- shexjsg
- sparqlslurper
2021-07-01 11:19:49 +02:00
Antoine Eiche
f6765af4e7 Fix insecure ssl in fetch_from_legacy 2021-06-30 21:38:10 +02:00
adisbladis
4206ef1f6a
Merge pull request #326 from NorfairKing/pendulum
Fix for pendulum
2021-06-30 10:34:19 -05:00
adisbladis
765615e043
Fix pendulum wheel install 2021-06-29 10:06:47 -05:00
adisbladis
123257b607
Add verbose pip build output
Currently the output is terse and next to useless.
2021-06-28 21:44:15 -05:00
adisbladis
1cde67bbf4
Merge pull request #328 from nix-community/poetry-1_1_7
poetry: 1.1.5 -> 1.1.7
2021-06-28 16:07:28 -05:00
adisbladis
a25594ae21
poetry: 1.1.5 -> 1.1.7 2021-06-28 12:26:19 -05:00
Tom Sydney Kerckhove
2938150771 remove obsolete circleci config 2021-06-26 10:01:50 +02:00
Tom Sydney Kerckhove
b66fcd00c5 Regression test 2021-06-26 10:00:05 +02:00
adisbladis
74303472ac
Merge pull request #321 from daedric/master
Add overrides for marisa-trie, ua-parser and lazy-object-proxy
2021-06-10 10:54:26 -05:00
Thomas Sanchez
673741851e add lazy-object-proxy override 2021-06-10 12:04:01 +02:00
Thomas Sanchez
5edc54a3d9 Add ua-parser override 2021-06-10 09:27:51 +02:00
Thomas Sanchez
3b0baa6b90 Add marisa-trie override 2021-06-08 21:31:30 +02:00
adisbladis
92350882ed
Bump version to 1.17.1 2021-06-08 08:47:31 -05:00
adisbladis
ec1adc6312
Merge pull request #318 from NKJe/fix/only_add_setuptools-scm_if_needed
Define setuptools-scm only if it is not already defined
2021-06-08 08:46:39 -05:00
adisbladis
63cf3eddb8
Merge pull request #320 from maksar/patch-1
Adding xcodebuild as a darwin dependency for lxml
2021-06-08 08:44:29 -05:00
Alexander Shestakov
ed29519bfc
Adding xcodebuild as a darwin dependency for lxml
Since lxml requires xcrun to be present in PATH
2021-06-08 12:29:34 +03:00
Niels Kristian Lyshøj Jensen
f5012a626e
Define setuptools-scm if it is not already defined 2021-06-03 18:43:02 +02:00
adisbladis
a402a0bf5d
Merge pull request #314 from m15a/matplotlib-darwin-lto
overrides: disable matplotlib lto on darwin
2021-06-01 21:20:59 -05:00
Mitsuhiro Nakamura
328c5e915b overrides: disable matplotlib lto on darwin 2021-06-02 10:34:51 +09:00
adisbladis
b471059b48
Bump version number to 1.17.0 2021-06-01 16:37:22 -05:00
adisbladis
d3acdd5ccf
Merge pull request #299 from nlewo/legacy-source-type
Add support to the legacy Pypi API
2021-06-01 16:32:34 -05:00
adisbladis
106c4248ed
fetch_from_legacy: Ignore TLS certificates validity
We want this fetcher to still work even when the CA certs and server
certs are expired or otherwise considered insecure for backwards
compatibility reasons.
2021-06-01 16:25:29 -05: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
adisbladis
4b651e043e
Merge pull request #304 from andir/fetch-api
Always fallback to querying the Pypi API when the predicted URL 404s
2021-06-01 16:14:37 -05:00
adisbladis
18e151ee60
Merge pull request #313 from hlolli/fix-regex
fix regex for darwin-aarch64 compatability
2021-05-31 14:59:05 -05:00
hlolli
f786624415 fix regex for darwin-aarch64 compatability 2021-05-31 04:15:54 +02:00
adisbladis
e0debfb043
Merge pull request #312 from sireliah/fix-dash-extras
Allow Python extras to contain dashes
2021-05-27 10:49:20 -05:00
sireliah
74d233de97
Correct the nix format typo 2021-05-27 10:58:34 +02:00
sireliah
90d4c8e8a6
Allow the package extras to contain dashes in name 2021-05-27 10:56:33 +02:00
adisbladis
a5d82ecb02
Merge pull request #305 from purcell/crypto-overrides
Additional overrides for some crypto-related packages
2021-05-20 21:28:56 -05:00
Steve Purcell
474640c3dd Additional overrides for some crypto-related packages 2021-05-18 14:48:41 +12: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
Andreas Rammhold
a2854eaae0
Expand the -# flag in fetch-from-pypi.sh 2021-05-13 21:48:04 +02:00
Andreas Rammhold
cd693810c3
Always fallback to the Pypi API when fetching sources & wheels
Previously we randomly encountered issues where the Pypi mirror URLs
wouldn't be correct with packages whos first character is frequently
written in upper case (e.g. SqlAlchemy, MarkupSafe, ...). The Pypi
mirrors are aparently not consistent in the naming of the file locations
which lead to random errors after package version bumps.

By falling back to the API lookup (that we already did for wheels) we
can workaround that situation.
2021-05-13 21:48:03 +02:00
adisbladis
2d27d44397
Merge pull request #300 from purcell/overrides-for-qmk
Additional overrides for packages used by qmk
2021-05-10 20:23:24 -05:00
Steve Purcell
e01a46c563 Add override for pyusb
See https://github.com/qmk/qmk_firmware/pull/12855
2021-05-11 12:57:42 +12:00
Steve Purcell
bcf4907be2 Add override for hid
See https://github.com/qmk/qmk_firmware/pull/12855
2021-05-11 12:57:07 +12:00
adisbladis
4da97aa34e
Merge pull request #297 from NorfairKing/safer-overrides-2
safer overrides using 'or [ ]'
2021-05-07 14:44:34 -05:00
Tom Sydney Kerckhove
8e5d320b43
safer overrides using 'or [ ]' 2021-05-07 13:13:50 -05:00
adisbladis
1d70475753
Merge pull request #294 from ryneeverett/importlib-metadata_pyproject
importlib-metadata: Don't remove pyproject.toml
2021-05-07 02:33:00 -05:00