Skip to content

Commit

Permalink
Merge pull request #1339 from l0b0/build/arrow-1-3-0
Browse files Browse the repository at this point in the history
build: Arrow 1.3.0
  • Loading branch information
adisbladis authored Oct 26, 2023
2 parents 1ef8d81 + 1a0869c commit 40192db
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 2 deletions.
10 changes: 8 additions & 2 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,14 @@
"setuptools"
],
"arrow": [
"flit-core",
"setuptools"
{
"buildSystem": "setuptools",
"until": "1.3.0"
},
{
"buildSystem": "flit-core",
"from": "1.3.0"
}
],
"arsenic": [
"poetry-core"
Expand Down
9 changes: 9 additions & 0 deletions tests/arrow/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "arrow-test" { } ''
${env}/bin/python -c 'import arrow; print(arrow.__version__)' > $out
''
61 changes: 61 additions & 0 deletions tests/arrow/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/arrow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "test_arrow"
version = "0.1.0"
description = ""
authors = []

[tool.poetry.dependencies]
python = "^3.8" # https://github.com/arrow-py/arrow/blob/master/CHANGELOG.rst
arrow = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ in
affine = callTest ./affine { };
affine-pre-2-4 = callTest ./affine-pre-2-4 { };
cdk-nag = callTest ./cdk-nag { };
arrow = callTest ./arrow { };
gdal = callTest ./gdal { };
gitlint-core = callTest ./gitlint-core { };
gitlint = callTest ./gitlint { };
Expand Down

0 comments on commit 40192db

Please sign in to comment.