instance_id
stringlengths
10
57
base_commit
stringlengths
40
40
created_at
stringdate
2014-04-30 14:58:36
2025-04-30 20:14:11
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
273k
patch
stringlengths
251
7.06M
problem_statement
stringlengths
11
52.5k
repo
stringlengths
7
53
test_patch
stringlengths
231
997k
meta
dict
version
stringclasses
864 values
install_config
dict
requirements
stringlengths
93
34.2k
⌀
environment
stringlengths
760
20.5k
⌀
FAIL_TO_PASS
listlengths
1
9.39k
FAIL_TO_FAIL
listlengths
0
2.69k
PASS_TO_PASS
listlengths
0
7.87k
PASS_TO_FAIL
listlengths
0
192
license_name
stringclasses
56 values
docker_image
stringlengths
42
89
⌀
image_name
stringlengths
42
89
⌀
BrandonLMorris__auacm-cli-11
5c13a4843e281aa1470d2bd28fe39c07f4e39e92
2016-03-11 15:15:59
5c13a4843e281aa1470d2bd28fe39c07f4e39e92
diff --git a/src/auacm/competition.py b/src/auacm/competition.py index f2d9561..794f8a4 100644 --- a/src/auacm/competition.py +++ b/src/auacm/competition.py @@ -1,6 +1,6 @@ """Subcommands related to competitions""" -import auacm, requests, textwrap +import auacm, requests, textwrap, argparse from datetime import da...
List recent and ongoing competitions A `comp[etition]` command that will simply list (chronologically) the recent and ongoing competitions.
BrandonLMorris/auacm-cli
diff --git a/tests/competition_tests.py b/tests/competition_tests.py index 7f7c381..b89e62e 100644 --- a/tests/competition_tests.py +++ b/tests/competition_tests.py @@ -21,16 +21,38 @@ class CompetitionTests(unittest.TestCase): self.assertTrue('past fake mock' in result.lower()) @patch('requests.get') -...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requests", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "t...
-e git+https://github.com/BrandonLMorris/auacm-cli.git@5c13a4843e281aa1470d2bd28fe39c07f4e39e92#egg=auacm Brotli @ file:///croot/brotli-split_1736182456865/work certifi @ file:///croot/certifi_1738623731865/work/certifi charset-normalizer @ file:///croot/charset-normalizer_1721748349566/work exceptiongroup==1.2.2 idna ...
name: auacm-cli channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - brotli-python=1.0.9=py39h6a678d5_9 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2025.1.31=py39h06a4308_0 ...
[ "tests/competition_tests.py::CompetitionTests::testGetOneCompetitionBadName", "tests/competition_tests.py::CompetitionTests::testGetOneCompetitionByName" ]
[]
[ "tests/competition_tests.py::CompetitionTests::testGetAllCompetitons", "tests/competition_tests.py::CompetitionTests::testGetOneCompetitionBad", "tests/competition_tests.py::CompetitionTests::testGetOneCompetitionById" ]
[]
MIT License
null
null
BrandwatchLtd__api_sdk-62
0570363bdee1621b85f8290599e0c86c75bcf802
2018-09-13 12:45:58
0570363bdee1621b85f8290599e0c86c75bcf802
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b33d109..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: python - -matrix: - include: - - python: 3.3 - - python: 3.4 - - python: 3.5 - - python: 3.6 - - python: 3.7 - dist: xenial - sudo: true - - pyt...
username with capital letters I came across an issue when I use the token_path instead of the password to request my project: BWProject(username=YOUR_ACCOUNT, project=YOUR_PROJECT) When at the beginning I used my username and password, the tokens.txt was generated with the username in lowercase (_read_auth_file). ...
BrandwatchLtd/api_sdk
diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/test_bwproject.py b/test/test_bwproject.py new file mode 100644 index 0000000..4820262 --- /dev/null +++ b/test/test_bwproject.py @@ -0,0 +1,69 @@ +import unittest +import responses +import os +import tempfile...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_removed_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 3 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "responses" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3...
-e git+https://github.com/BrandwatchLtd/api_sdk.git@0570363bdee1621b85f8290599e0c86c75bcf802#egg=bwapi certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 PyYAML==6.0.2 requests==2.32.3 responses==0.25.7 tomli==2.2.1 urllib3==2.3.0
name: api_sdk channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=1...
[ "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_mixedcase_username", "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_uppercase_username" ]
[]
[ "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_lowercase_username" ]
[]
MIT License
swerebench/sweb.eval.x86_64.brandwatchltd_1776_api_sdk-62
swerebench/sweb.eval.x86_64.brandwatchltd_1776_api_sdk-62
Brown-University-Library__bdrxml-109
aadc3090ec068103865002d5adc8f39ad600c080
2024-02-08 18:58:33
aadc3090ec068103865002d5adc8f39ad600c080
diff --git a/bdrxml/mods.py b/bdrxml/mods.py index a5c9290..4daa10f 100644 --- a/bdrxml/mods.py +++ b/bdrxml/mods.py @@ -1,16 +1,36 @@ import re import unicodedata + +from .darwincore import get_schema_validation_errors +from eulxml import xmlmap from eulxml.xmlmap import StringField as SF, SchemaField, NodeListFiel...
add support for MODS-3.8
Brown-University-Library/bdrxml
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3ebe023..2a9b0bb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.6.8, 3.7, 3.8, 3.9] + python-version: [...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 3, "test_score": 2 },...
1.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
-e git+https://github.com/Brown-University-Library/bdrxml.git@aadc3090ec068103865002d5adc8f39ad600c080#egg=bdrxml eulxml==1.1.3 exceptiongroup==1.2.2 iniconfig==2.1.0 isodate==0.7.2 lxml==5.3.1 packaging==24.2 pluggy==1.5.0 ply==3.8 pyparsing==3.2.3 pytest==8.3.5 rdflib==7.1.4 six==1.17.0 tomli==2.2.1
name: bdrxml channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11...
[ "test/mods_test.py::ModsReadWrite::test_validate_mods_38" ]
[]
[ "test/mods_test.py::ModsReadWrite::test_create_dates", "test/mods_test.py::ModsReadWrite::test_create_hierarchical_geographic", "test/mods_test.py::ModsReadWrite::test_create_language", "test/mods_test.py::ModsReadWrite::test_create_mods", "test/mods_test.py::ModsReadWrite::test_fast_uri_equality", "test/...
[]
MIT License
null
null
BurnzZ__scrapy-loader-upkeep-3
0b36309d1c9ea814e097e06e9d7220cfef6e6f9e
2019-07-18 07:42:47
0b36309d1c9ea814e097e06e9d7220cfef6e6f9e
diff --git a/README.rst b/README.rst index 6fb0e87..3112d48 100644 --- a/README.rst +++ b/README.rst @@ -58,8 +58,8 @@ This only works for the following ``ItemLoader`` methods: - ``add_xpath()`` - ``replace_xpath()`` -Spider Example -~~~~~~~~~~~~~~ +Basic Spider Example +~~~~~~~~~~~~~~~~~~~~ This is taken fr...
Allow paths to be named When having several amounts of xpaths for each field, is really difficult to determine which one was added firsts, specially when there are different workflows on the code. To make easier the task to identify the paths on the stats, it would be great if we could name them. For example: ```...
BurnzZ/scrapy-loader-upkeep
diff --git a/examples/quotestoscrape/items.py b/examples/quotestoscrape/items.py index 360d6f0..2eac930 100644 --- a/examples/quotestoscrape/items.py +++ b/examples/quotestoscrape/items.py @@ -3,3 +3,4 @@ import scrapy class QuotesToScrapeItem(scrapy.Item): quote = scrapy.Field() author = scrapy.Field() + ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 3 }
0.12
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "Pipfile", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd": "pytest --no-header -rA --tb=line --color=no...
attrs==25.3.0 Automat==24.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 constantly==23.10.4 cryptography==44.0.2 cssselect==1.3.0 defusedxml==0.7.1 exceptiongroup==1.2.2 filelock==3.18.0 hyperlink==21.0.0 idna==3.10 incremental==24.7.2 iniconfig==2.1.0 itemadapter==0.11.0 itemloaders==1.3.2 jmespath==1....
name: scrapy-loader-upkeep channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 ...
[ "tests/test_loader.py::test_get_selector_values", "tests/test_loader.py::test_multiple_1_with_name", "tests/test_loader.py::test_multiple_2_with_name" ]
[]
[ "tests/test_loader.py::test_get_selector_values_with_no_selector", "tests/test_loader.py::test_write_to_stats_with_uninjected_stat_dependency", "tests/test_loader.py::test_write_to_stats_with_no_parsed_data", "tests/test_loader.py::test_write_to_stats_with_no_field_name", "tests/test_loader.py::test_write_t...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.burnzz_1776_scrapy-loader-upkeep-3
swerebench/sweb.eval.x86_64.burnzz_1776_scrapy-loader-upkeep-3
CDCgov__PyRenew-412
1a86104f6be3d0d2429e3358f7ea5572f8fa3799
2024-08-22 22:46:05
27258c12661b3bb65ad8fe3f743a01c0267fe533
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/CDCgov/PyRenew/pull/412?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) Report Attention: Patch coverage is `97.16981%` with `3 lines` in your changes missing coverage. Please review. ...
diff --git a/docs/source/msei_reference/index.rst b/docs/source/msei_reference/index.rst index f7fae05..323874c 100644 --- a/docs/source/msei_reference/index.rst +++ b/docs/source/msei_reference/index.rst @@ -7,6 +7,7 @@ Reference model latent process + randomvariable observation datasets msei...
`randomvariable` module I think there are enough concrete but generic `RandomVariable`s that they should have their own module rather than living in `metaclass.py`, especially since they aren't actually abstract Candidates for this include `DeterministicVariable`, `DistributionalRV`, `TransformedRandomVariable`, etc...
CDCgov/PyRenew
diff --git a/test/test_assert_sample_and_rtype.py b/test/test_assert_sample_and_rtype.py index 69a59f0..d0f9ee8 100644 --- a/test/test_assert_sample_and_rtype.py +++ b/test/test_assert_sample_and_rtype.py @@ -9,11 +9,11 @@ from numpy.testing import assert_equal from pyrenew.deterministic import DeterministicVariable...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "nu...
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.12", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
contourpy==1.3.1 cycler==0.12.1 fonttools==4.56.0 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work jax==0.5.3 jaxlib==0.5.3 kiwisolver==1.4.8 matplotlib==3.10.1 ml_dtypes==0.5.1 multipledispatch==1.0.0 numpy==2.2.4 numpyro==0.18.0 opt_einsum==3.4.0 packaging @ file:///croot/packaging_173447211720...
name: PyRenew channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - expat=2.6.4=h6a678d5_0 - iniconfig=1.1.1=pyhd3e...
[ "test/test_assert_sample_and_rtype.py::test_none_rv", "test/test_assert_sample_and_rtype.py::test_input_rv", "test/test_assert_sample_and_rtype.py::test_sample_return", "test/test_assert_type.py::test_valid_assertion_types", "test/test_assert_type.py::test_invalid_assertion_types", "test/test_differenced_...
[ "test/test_differenced_process.py::test_integrator_correctness[2-40]" ]
[]
[]
Apache License 2.0
null
null
CDCgov__PyRenew-482
bbaf1b9b629d861ba534dd5b4c5693f84676bfe8
2025-02-11 20:45:19
bbaf1b9b629d861ba534dd5b4c5693f84676bfe8
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/CDCgov/PyRenew/pull/482?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CDCgov) Report Attention: Patch coverage is `35.71429%` with `9 lines` in your changes missing coverage. Please review. ...
diff --git a/pyrenew/math.py b/pyrenew/math.py index db94200..b8bfd74 100755 --- a/pyrenew/math.py +++ b/pyrenew/math.py @@ -12,6 +12,146 @@ from jax.typing import ArrayLike from pyrenew.distutil import validate_discrete_dist_vector +def _positive_ints_like(vec: ArrayLike) -> jnp.ndarray: + """ + Given an ar...
Add infection initialization at stable age distribution given R
CDCgov/PyRenew
diff --git a/test/test_leslie_matrix.py b/test/test_leslie_matrix.py deleted file mode 100755 index 3610685..0000000 --- a/test/test_leslie_matrix.py +++ /dev/null @@ -1,38 +0,0 @@ -# numpydoc ignore=GL08 - -import jax.numpy as jnp -from numpy.testing import assert_array_almost_equal - -import pyrenew.math as pmath - -...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 1 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.12", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work jax==0.5.3 jaxlib==0.5.3 ml_dtypes==0.5.1 multipledispatch==1.0.0 numpy==2.2.4 numpyro==0.18.0 opt_einsum==3.4.0 packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work polars==1.26.0 -e git+https://g...
name: PyRenew channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - expat=2.6.4=h6a678d5_0 - iniconfig=1.1.1=pyhd3e...
[ "test/test_math.py::test_positive_ints_like[arr0-3]", "test/test_math.py::test_positive_ints_like[arr1-50]", "test/test_math.py::test_positive_ints_like[arr2-250]", "test/test_math.py::test_r_approx[5-G0]", "test/test_math.py::test_r_approx[0.2-G1]", "test/test_math.py::test_r_approx[1-G2]", "test/test_...
[]
[ "test/test_math.py::test_asymptotic_properties", "test/test_math.py::test_get_leslie[0.4-gi0-expected0]", "test/test_math.py::test_get_leslie[3-gi1-expected1]" ]
[]
Apache License 2.0
null
null
CDCgov__cfa-viral-lineage-model-51
060d63ef58c3d6ed310c15593aad0475df4a1f43
2024-09-10 20:10:48
317d85ffdb77f6659c9f3ef3aac017d25b60de29
swo: I generally really like where this is going. As you can see, I borrowed a lot of this thinking for https://github.com/CDCgov/cfa-immunization-uptake-projection/pull/3. I think we're facing a design choice about what an "evaluator" is (ie how much it does), versus a "score". My current leaning is toward this ...
diff --git a/README.md b/README.md index 5580414..95758a3 100644 --- a/README.md +++ b/README.md @@ -57,17 +57,6 @@ Rows are uniquely identified by `(fd_offset, division, lineage, sample_index)`. - [ ] (9) Study more on how to set priors on the logit scale to induce priors on the probability simplex - [ ] (10) Does o...
Syncing lineages between model and eval data I'm looking at the pair of `model.csv` and `eval.csv` for a 2022-01-01 forecast date, and the evaluation data has one more lineage than the model data, namely `22C`. We need to make sure that the set of lineages is consistent across modeling and evaluation. Part of the aw...
CDCgov/cfa-viral-lineage-model
diff --git a/linmod/tests/test_eval.py b/linmod/tests/test_eval.py index 51767a5..33e1f5c 100644 --- a/linmod/tests/test_eval.py +++ b/linmod/tests/test_eval.py @@ -32,18 +32,27 @@ def _generate_fake_samples_and_data( lineage=range(num_lineages), ) - data = data.with_columns(count=rng.integers(0, 100...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 1 }, "num_modified_files": 7 }
.
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.12", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
babel==2.17.0 backrefs==5.8 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 contourpy==1.3.1 cycler==0.12.1 fonttools==4.56.0 ghp-import==2.1.0 griffe==1.7.1 idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work jax==0.5.3 jaxlib==0.5.3 Jinja2==3.1.6 kiwisolver==1....
name: cfa-viral-lineage-model channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - expat=2.6.4=h6a678d5_0 - inicon...
[ "linmod/tests/test_eval.py::test_proportions_mean_L1_norm", "linmod/tests/test_eval.py::test_proportions_mean_L1_norm2", "linmod/tests/test_eval.py::test_proportions_L1_energy_score", "linmod/tests/test_eval.py::test_proportions_L1_energy_score2" ]
[]
[]
[]
Apache License 2.0
null
null
CLOVER-energy__CLOVER-96
38b1c3e63dc6fb3db8f1406fa8f32db8b39cc71c
2022-07-01 15:19:21
3f6a3e111767e7bf98a0afc3e991526fed11c180
diff --git a/src/clover/simulation/storage.py b/src/clover/simulation/storage.py index 9b4a58a..44061d6 100644 --- a/src/clover/simulation/storage.py +++ b/src/clover/simulation/storage.py @@ -640,16 +640,43 @@ def get_electric_battery_storage_profile( # pylint: disable=too-many-locals, to grid_energy = p...
Prioitise self-generation bug ### Describe the bug When running CLOVER, there are two possible flows for how the code selects its source of power, which are set within the `scenario_inputs.yaml` file: - `prioiritise_self_generation: true`, where CLOVER should attempt to get power from the solar and storage first, - ...
CLOVER-energy/CLOVER
diff --git a/src/clover/tests/integration/test_clover.py b/src/clover/tests/integration/test_clover.py index 38aa070..d2ec24e 100644 --- a/src/clover/tests/integration/test_clover.py +++ b/src/clover/tests/integration/test_clover.py @@ -480,24 +480,24 @@ class SimulationTests(_BaseTest): # pylint: disable=too-many-pub...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
5.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.7", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
astroid==2.15.8 black==23.3.0 certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 click==8.1.8 -e git+https://github.com/CLOVER-energy/CLOVER.git@38b1c3e63dc6fb3db8f1406fa8f32db8b39cc71c#egg=clover_energy cycler==0.11.0 dill==0.3.7 exceptiongroup==1.2.2 fonttools==4.38.0 idna==3.10 impo...
name: CLOVER channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - lib...
[ "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_and_pv", "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_grid_and_pv", "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_grid_pv_and_stor...
[]
[ "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_and_grid", "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_and_storage", "src/clover/tests/integration/test_clover.py::SimulationTests::test_grid_prioritise_diesel_grid_and_stora...
[]
MIT License
null
null
CMakePP__CMinx-151
ea6d33ebc88237c5f2dd3a1d166d7bc4b078223f
2023-04-09 02:03:19
51558674c3d9bf1f3afaef48bd66b3f74aefb028
codecov[bot]: ## [Codecov](https://codecov.io/gh/CMakePP/CMinx/pull/151?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CMakePP) Report Patch coverage: **`100.00`**% and no project coverage change. > Comparison is base [(`e51acd0`)](https://codecov.io/gh/CMakePP/...
diff --git a/docs/source/developer/api.rst b/docs/source/developer/api.rst index a397b37..e836a7e 100644 --- a/docs/source/developer/api.rst +++ b/docs/source/developer/api.rst @@ -25,10 +25,12 @@ Python Modules .. autosummary:: :toctree: .autosummary - - cminx.rstwriter - cminx.documenter cminx.aggregat...
Add a regex filter for parameter names to make longer names more readable **Is your feature request related to a problem? Please describe.** A regex filter was requested in discussions for https://github.com/CMakePP/CMakeTest/issues/5
CMakePP/CMinx
diff --git a/tests/examples/sphinx/source/example.rst b/tests/examples/sphinx/source/example.rst index 2759669..45fc64b 100644 --- a/tests/examples/sphinx/source/example.rst +++ b/tests/examples/sphinx/source/example.rst @@ -346,10 +346,10 @@ examples.example .. note:: - This variable is...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 1 },...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[testing]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "docs/requirements.txt" ], "test_cm...
alabaster==0.7.16 antlr4-python3-runtime==4.7.2 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/CMakePP/CMinx.git@ea6d33ebc88237c5f2dd3a1d166d7bc4b078223f#egg=CMinx confuse==2.0.1 coverage==7.8.0 docutils==0.21.2 exceptiongroup==1.2.2 idna==3.10 imagesize==1.4.1 importlib_metadata==...
name: CMinx channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/unit_tests/test_aggregator.py::TestAggregator::test_function_param_regex", "tests/unit_tests/test_aggregator.py::TestAggregator::test_macro_param_regex", "tests/unit_tests/test_aggregator.py::TestAggregator::test_method_param_regex" ]
[]
[ "tests/unit_tests/test_aggregator.py::TestAggregator::test_aggregated_docs", "tests/unit_tests/test_aggregator.py::TestAggregator::test_cpp_attr_outside_class", "tests/unit_tests/test_aggregator.py::TestAggregator::test_cpp_class_multi_superclass_multi_members", "tests/unit_tests/test_aggregator.py::TestAggre...
[]
Apache License 2.0
null
null
CODAIT__exchange-metadata-converter-25
a5432d877fe947a12c169d2d84c22e034d555289
2020-10-14 23:33:51
a5432d877fe947a12c169d2d84c22e034d555289
diff --git a/metadata_converter/apply.py b/metadata_converter/apply.py index f20d451..34cd14f 100644 --- a/metadata_converter/apply.py +++ b/metadata_converter/apply.py @@ -16,6 +16,8 @@ from argparse import ArgumentParser from pathlib import Path from ruamel.yaml import YAML +from ruamel.yaml.tokens import CommentT...
Support optional properties Currently all `{{...}}` placeholders in https://github.com/CODAIT/exchange-metadata-converter/tree/main/templates are considered to be required and therefore each placeholder input file must define them. Annotations would solve this issue. Investigate what it takes to support something like ...
CODAIT/exchange-metadata-converter
diff --git a/tests/inputs/annotations.yaml b/tests/inputs/annotations.yaml new file mode 100644 index 0000000..84678c1 --- /dev/null +++ b/tests/inputs/annotations.yaml @@ -0,0 +1,6 @@ +# This YAML document does not define the following properties: +# noprop1value, noprop2value, noprop3value, noprop3value, +# noprop4va...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
unknown
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.7", "reqs_path": [ "test_requirements.txt" ], "test_cmd": "pytest -...
certifi @ file:///croot/certifi_1671487769961/work/certifi exceptiongroup==1.2.2 -e git+https://github.com/CODAIT/exchange-metadata-converter.git@a5432d877fe947a12c169d2d84c22e034d555289#egg=exchange_metadata_converter flake8==5.0.4 importlib-metadata==4.2.0 importlib-resources==5.12.0 iniconfig==2.0.0 mccabe==0.7.0 pa...
name: exchange-metadata-converter channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2....
[ "tests/test_annotations.py::TestAnnotations::test_optional_annotation" ]
[]
[ "tests/test_annotations.py::TestAnnotations::test_without_optional_annotation" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-25
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-25
CODAIT__exchange-metadata-converter-38
c306552b0a2fc25f868cfc7daee7b26a1c99f31b
2020-11-05 20:45:48
c306552b0a2fc25f868cfc7daee7b26a1c99f31b
diff --git a/setup.py b/setup.py index 1e62eb5..afb9bf4 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ with open('README.md') as readme: setup( name='exchange-metadata-converter', packages=find_packages(), - version='0.0.8', + version='0.0.9', license='Apache-2.0', description='exchange metadata ...
Non-compliant metadata.name in the generated DLF YAML The `metadata.name` in the generated DLF YAML does not comply with the Kubernetes spec for DNS-1123 subdomain names. ```JSON { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "Dataset.com.ie.ibm.hpsys \"Fina...
CODAIT/exchange-metadata-converter
diff --git a/tests/test_dlf.py b/tests/test_dlf.py index 9e37f60..e593f79 100644 --- a/tests/test_dlf.py +++ b/tests/test_dlf.py @@ -48,7 +48,7 @@ class TestDLF(unittest.TestCase): 'com.ie.ibm.hpsys/v1alpha1') self.assertEqual(out_dict['kind'], 'Dataset') self.ass...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
0.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "flake8", "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=l...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work -e git+https://github.com/CODAIT/exchange-metadata-converter.git@c306552b0a2fc25f868cfc7daee7b26a1c99f31b#egg=exchange_metadata_converter flake8==7.1.2 importlib_resources==6.4.5 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work mcca...
name: exchange-metadata-converter channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py38h06a4308_0 - iniconfig=1.1.1=...
[ "tests/test_dlf.py::TestDLF::test_dtest_dlf" ]
[]
[ "tests/test_dlf.py::TestDLF::test_dax_dataset_descriptors" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-38
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-38
CORE-GATECH-GROUP__serpent-tools-100
433d55710b85805c9dee609ad77f81bc3c202b72
2018-03-23 15:07:37
1d475a4dd8982532d097286468b2d616345c8ab8
diff --git a/docs/examples/Branching.rst b/docs/examples/Branching.rst index 32e10ca..7544198 100644 --- a/docs/examples/Branching.rst +++ b/docs/examples/Branching.rst @@ -1,3 +1,9 @@ +.. |branchReader| replace:: :py:class:`~serpentTools.parsers.branching.BranchingReader` + +.. |branchContainer| replace:: :py:class:`~...
Universes from branching file can be stored with negative burnup ## Summary of issue The burnup values in coefficient files can be negative, indicating units of days, not MWd/kgU [Link to SERPENT coef card](http://serpent.vtt.fi/mediawiki/index.php/Input_syntax_manual#coef_.28coefficient_matrix_definition.29). This l...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_branching.py b/serpentTools/tests/test_branching.py index 8bfd381..be967f5 100644 --- a/serpentTools/tests/test_branching.py +++ b/serpentTools/tests/test_branching.py @@ -10,6 +10,7 @@ from numpy.testing import assert_allclose from serpentTools.settings import rc from serpentTool...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 2 }, "num...
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy", "pip_packages": [ "pytest", "jupyter", "nbconvert" ], "pre_install": [ "apt-get update", ...
anyio==3.6.2 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 async-generator==1.10 attrs==22.2.0 Babel==2.11.0 backcall==0.2.0 bleach==4.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 comm==0.1.4 contextvars==2.4 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work dataclasses==0.8 decorator==...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - blas=1.0=openblas - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - cycler=0.11...
[ "serpentTools/tests/test_branching.py::BranchTester::test_branchingUniverses", "serpentTools/tests/test_branching.py::BranchContainerTester::test_cannotAddBurnupDays", "serpentTools/tests/test_branching.py::BranchContainerTester::test_containerGetUniv", "serpentTools/tests/test_branching.py::BranchContainerTe...
[]
[ "serpentTools/tests/test_branching.py::BranchTester::test_raiseError", "serpentTools/tests/test_branching.py::BranchTester::test_variables" ]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-141
d96de5b0f4bc4c93370cf508e0ea89701054ff41
2018-05-14 22:28:11
7c7da6012f509a2e71c3076ab510718585f75b11
diff --git a/docs/defaultSettings.rst b/docs/defaultSettings.rst index aa16202..8893098 100644 --- a/docs/defaultSettings.rst +++ b/docs/defaultSettings.rst @@ -206,6 +206,19 @@ If true, store the infinite medium cross sections. Type: bool +.. _xs-reshapeScatter: + +--------------------- +``xs.reshapeScatter``...
[Feature] Auto-reshape scattering matrices for homogenized universes Implement a setting that will automatically reshape scattering matrices for homogenized universes. This should be done in such a way that both the BranchingReader and ResultsReader honor this request. Possibly a setting like `xs.reshapeScatter`?
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_container.py b/serpentTools/tests/test_container.py index fbed4dc..25a1188 100644 --- a/serpentTools/tests/test_container.py +++ b/serpentTools/tests/test_container.py @@ -1,43 +1,43 @@ """Test the container object. """ import unittest -from serpentTools.objects import container...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 5 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy six", "pip_packages": [ "pytest", "coverage" ], "pre_install": [ "apt-get update", "apt-ge...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282412546/work matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work numpy @ file:///tmp/bu...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - blas=1.0=openblas - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - cycler=0.11...
[ "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_getB1Exp", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_getB1Unc", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_getBothInf", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test...
[]
[]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-154
911894d67eb9677c4430a1aee91e9d1461ffc44b
2018-05-18 16:25:11
7c7da6012f509a2e71c3076ab510718585f75b11
diff --git a/serpentTools/objects/containers.py b/serpentTools/objects/containers.py index 8c30e1b..bcc9103 100644 --- a/serpentTools/objects/containers.py +++ b/serpentTools/objects/containers.py @@ -35,8 +35,8 @@ for xsSpectrum, xsType in product({'INF', 'B1'}, for xx in range(SCATTER_ORDERS)...
[BUG] number of groups stored as a float; causes reshape scatter matrices to fail ## Summary of issue The `addData` routine stores the number of energy groups as a float. This causes numpy to fail during the reshaping of scattering matrices. ## Code for reproducing the issue ``` import serpentTools from serpentToo...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_container.py b/serpentTools/tests/test_container.py index 721dd1d..ded8988 100644 --- a/serpentTools/tests/test_container.py +++ b/serpentTools/tests/test_container.py @@ -4,7 +4,7 @@ import unittest from itertools import product from six import iteritems -from numpy import arra...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy six", "pip_packages": [ "numpy>=1.11.1", "matplotlib>=1.5.0", "pyyaml>=3.08", "scipy", "si...
attrs==22.2.0 certifi==2021.5.30 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282412546/work matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work numpy @ file:///tmp/build/80754af9/n...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - blas=1.0=openblas - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - cycler=0.11...
[ "serpentTools/tests/test_container.py::HomogUnivIntGroupsTester::test_univGroupsFromFloats", "serpentTools/tests/test_container.py::HomogUnivIntGroupsTester::test_univGroupsFromNPFloats" ]
[]
[ "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_attributes", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_getB1Exp", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test_getB1Unc", "serpentTools/tests/test_container.py::VectoredHomogUnivTester::test...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-21
b67f52bfd0b23baa3eae9f11bab1af14bd8b2798
2017-09-29 14:33:04
b67f52bfd0b23baa3eae9f11bab1af14bd8b2798
diff --git a/serpentTools/__init__.py b/serpentTools/__init__.py index 8e3f32c..3e8e8de 100644 --- a/serpentTools/__init__.py +++ b/serpentTools/__init__.py @@ -1,7 +1,7 @@ from serpentTools import settings from serpentTools import parsers -__version__ = '0.1.3' +__version__ = '0.1.4' # List TODOS/feature ...
Days are still returned in time points are given for a vector quantity on materials, e.g. burnup Fix in #2 did not take in to account quantities like `burnup` and `volume` that do not return arrays for isotope quantities. If the user specifies one of these quantities from a depleted material, the time points are still...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_depletion.py b/serpentTools/tests/test_depletion.py index d7f6d52..6cb911d 100644 --- a/serpentTools/tests/test_depletion.py +++ b/serpentTools/tests/test_depletion.py @@ -124,13 +124,12 @@ class DepletedMaterialTester(_DepletionTestHelper): """ Verify the materia...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 3 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
contourpy==1.3.0 cycler==0.12.1 drewtils==0.1.9 exceptiongroup==1.2.2 fonttools==4.56.0 importlib_resources==6.5.2 iniconfig==2.1.0 kiwisolver==1.4.7 matplotlib==3.9.4 numpy==2.0.2 packaging==24.2 pillow==11.1.0 pluggy==1.5.0 pyparsing==3.2.3 pytest==8.3.5 python-dateutil==2.9.0.post0 -e git+https://github.com/CORE-GAT...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_burnup_full", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_burnup_slice" ]
[]
[ "serpentTools/tests/test_depletion.py::DepletionTester::test_ReadMaterials", "serpentTools/tests/test_depletion.py::DepletionTester::test_metadata", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_fetchData", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_adens",...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-220
9429173b3a7a42bad6e4e0b791f8456f99eb606a
2018-07-27 20:20:45
03997bdce0a5adb75cf5796278ea61b799f7b6dc
diff --git a/docs/develop/logging.rst b/docs/develop/logging.rst index 8f36e03..c5c061c 100644 --- a/docs/develop/logging.rst +++ b/docs/develop/logging.rst @@ -31,3 +31,10 @@ or removed in the future. .. autofunction:: serpentTools.messages.willChange + +Custom Handlers +=============== + +.. autoclass:: serpentT...
Determine and implement a way to test our message/logging systems Working on the comparison feature, I realize we don't have a way to ensure that our logging system is actually logging what we want. This is more relevant for the testing the comparison utilities, and making sure that we are correctly notifying the user ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_depSampler.py b/serpentTools/tests/test_depSampler.py index 2ad166b..dcd2640 100644 --- a/serpentTools/tests/test_depSampler.py +++ b/serpentTools/tests/test_depSampler.py @@ -14,7 +14,7 @@ File Descriptions *. ``bwr_missingT`` is missing the final burnup step """ -import unitte...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 1 }, "num_...
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": null, "python": "3.6", "reqs_path"...
anyio==3.6.2 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 async-generator==1.10 attrs==22.2.0 Babel==2.11.0 backcall==0.2.0 bleach==4.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 comm==0.1.4 contextvars==2.4 coverage==6.2 cycler==0.11.0 dataclasses==0.8 decorator==5.1.1 defusedxml==0.7.1 entrypoin...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_depSampler.py::DepletionSamplerFailTester::test_badInventory", "serpentTools/tests/test_depSampler.py::DepletionSamplerFailTester::test_missingTimeSteps", "serpentTools/tests/test_depSampler.py::DepletedSamplerTester::test_depSamplerValidCalcs", "serpentTools/tests/test_depSampler.py:...
[ "serpentTools/tests/test_settings.py::RCTester::test_fullExtend" ]
[]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-24
4b93cd86c6149b94960984892dad25de6fbbb41f
2017-10-05 20:12:21
224ef748f519903554f346d48071e58b43dcf902
drewejohnson: Reopened to squash and merge
diff --git a/serpentTools/__init__.py b/serpentTools/__init__.py index fdaf895..8d07887 100644 --- a/serpentTools/__init__.py +++ b/serpentTools/__init__.py @@ -3,10 +3,6 @@ from serpentTools import parsers # List TODOS/feature requests here for now -# Messages/Errors -# TODO: Add verbosity control -# TODO: A...
Feature: Implement a messaging and exception framework Implement a overarching data logger that controls warnings, errors, and debug statements that allows the user to set the verbosity through the `rc` system. Maybe piggyback off of the [logging module](https://docs.python.org/3.6/library/logging.html) Create a `Se...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_loaders.py b/serpentTools/tests/test_loaders.py index f6895e1..3bbd24e 100644 --- a/serpentTools/tests/test_loaders.py +++ b/serpentTools/tests/test_loaders.py @@ -57,7 +57,8 @@ class UserSettingsTester(unittest.TestCase): 'metadataKeys': ['ZAI', 'NAMES', 'DAYS', 'BU'],...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "num_modi...
1.00
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "drewtils>=0.1.5" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
contourpy==1.3.0 cycler==0.12.1 drewtils==0.1.9 exceptiongroup==1.2.2 fonttools==4.56.0 importlib_resources==6.5.2 iniconfig==2.1.0 kiwisolver==1.4.7 matplotlib==3.9.4 numpy==2.0.2 packaging==24.2 pillow==11.1.0 pluggy==1.5.0 pyparsing==3.2.3 pytest==8.3.5 python-dateutil==2.9.0.post0 -e git+https://github.com/CORE-GAT...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "serpentTools/tests/test_loaders.py::UserSettingsTester::test_returnReaderSettings" ]
[]
[ "serpentTools/tests/test_loaders.py::DefaultSettingsTester::test_cannotChangeDefaults", "serpentTools/tests/test_loaders.py::DefaultSettingsTester::test_getDefault", "serpentTools/tests/test_loaders.py::UserSettingsTester::test_failAtBadSetting_options", "serpentTools/tests/test_loaders.py::UserSettingsTester...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-24
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-24
CORE-GATECH-GROUP__serpent-tools-240
03997bdce0a5adb75cf5796278ea61b799f7b6dc
2018-09-04 19:06:39
03997bdce0a5adb75cf5796278ea61b799f7b6dc
diff --git a/docs/changelog.rst b/docs/changelog.rst index 8b52e58..0c9561c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,4 +1,8 @@ .. |homogUniv| replace:: :py:class:`~serpentTools.objects.containers.HomogUniv` +.. |resultReader| replace:: :class:`~serpentTools.parsers.results.ResultsReader` +.. |de...
[ENH] Ability to compare readers and objects Implement a simple public method for readers and containers `.compare(other)` that would return `True` or `False` depending on the degree of difference between the two objects. This would be beneficial for comparing outputs across SERPENT versions, or sensitivity studies. ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/compare/__init__.py b/serpentTools/tests/compare/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/serpentTools/tests/compare/test_depletion.py b/serpentTools/tests/compare/test_depletion.py new file mode 100644 index 0000000..195b9ac --- /dev/null +++ b/serpentTools/t...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 2, "test_score": 0 }, "num...
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": null, "python": "3.6", "reqs_path"...
anyio==3.6.2 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 async-generator==1.10 attrs==22.2.0 Babel==2.11.0 backcall==0.2.0 bleach==4.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 comm==0.1.4 contextvars==2.4 coverage==6.2 cycler==0.11.0 dataclasses==0.8 decorator==5.1.1 defusedxml==0.7.1 entrypoin...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/compare/test_depletion.py::DepletedMaterialComparisonTester::test_compareIdentical", "serpentTools/tests/compare/test_depletion.py::DepletedMaterialComparisonTester::test_minorTweakData", "serpentTools/tests/compare/test_depletion.py::DepletedMaterialComparisonTester::test_mishapenMetadata",...
[]
[]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-243
67846baca60f959ac92bdf208e6f1c6744688890
2018-09-15 13:51:41
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/serpentTools/parsers/results.py b/serpentTools/parsers/results.py index d46a7fd..095cb6c 100644 --- a/serpentTools/parsers/results.py +++ b/serpentTools/parsers/results.py @@ -183,9 +183,10 @@ class ResultsReader(XSReader): """Process universes' data""" brState = self._getBUstate() # obt...
[BUG] ResultsReader fails when only group constants are requested ## Summary of issue When restricting the scope of the variables extracted from the results file to only group constants, the reader fails. It is also worth noting that, when non-group constant data are requested as well, 'ABS_KEFF' and 'INF_FLX', fo...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 03e9d28..1384c4d 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -8,7 +8,7 @@ from numpy.testing import assert_equal from six import iteritems from serpentTo...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "flake8>=3.1.0", "pandas>=0.21.0", "jupyter>=1.0", "coverage==4.5.1" ], "pre_install": null, "python": ...
anyio==3.6.2 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 async-generator==1.10 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work Babel==2.11.0 backcall==0.2.0 bleach==4.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 comm==0.1.4 contextvars==2.4 coverage==4.5.1 cycler==0.11.0 dataclasses=...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - attrs=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - imp...
[ "serpentTools/tests/test_ResultsReader.py::RestrictedResultsReader::test_fluxAndKeff", "serpentTools/tests/test_ResultsReader.py::RestrictedResultsReader::test_justFlux" ]
[ "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsNone", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_noUnivState", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_nonPostiveIndex", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_validUniv", "serpe...
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestEmptyAttributes::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestReadAllResults::test_b...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-243
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-243
CORE-GATECH-GROUP__serpent-tools-272
0e61685f19f644b9bb7a1c2a2b3d8aec30ffcaf5
2019-02-08 13:07:01
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/docs/changelog.rst b/docs/changelog.rst index 8301113..062242e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -31,6 +31,8 @@ Next to perturbations, universes, and burnup. * Plotting routines now use attach to the active plot or generate a new plot figure if ``ax`` argument not given - :...
BUG Branching Reader fails with uncertainties ## Summary of issue When reading a file with uncertainties, and the `branching.areUncsPresent` setting is `True`, the code errors. Also, I think we can eliminate this setting entirely, because when a file has uncertainties, the value N still indicates the number of grou...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_branching.py b/serpentTools/tests/test_branching.py index 8f60fb0..9780cd4 100644 --- a/serpentTools/tests/test_branching.py +++ b/serpentTools/tests/test_branching.py @@ -50,12 +50,13 @@ class BranchTester(_BranchTesterHelper): 'CMM_TRANSPXS_Z', 'CMM_DIFFCOEF',...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test...
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_branching.py::BranchTester::test_variables", "serpentTools/tests/test_branching.py::BranchWithUncsTester::test_valsWithUncs" ]
[]
[ "serpentTools/tests/test_branching.py::BranchTester::test_branchingUniverses", "serpentTools/tests/test_branching.py::BranchTester::test_raiseError", "serpentTools/tests/test_branching.py::BranchContainerTester::test_cannotAddBurnupDays", "serpentTools/tests/test_branching.py::BranchContainerTester::test_cont...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-273
aa332f9a1f9c3fcb2424d3d2a8b3a949ddb49714
2019-02-08 15:25:51
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/.travis.yml b/.travis.yml index f370223..b0f456d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,19 @@ python: - "3.6" - "3.5" - "2.7" +env: + - ST_INSTALL=setup + - ST_INSTALL=sdist + - ST_INSTALL=bdist_wheel + - ST_INSTALL=bdist_egg -# install -install: +before_install: - pip ins...
BUG Data files not installed through pip ## Summary of issue When installing with pip, the data files used in examples are not present. ## Code for reproducing the issue From a fresh install using python [`venv`](https://docs.python.org/3.5/library/venv.html): ``` $ python -m venv serpentTools $ source serpentT...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_branching.py b/serpentTools/tests/test_branching.py index 9780cd4..8f60fb0 100644 --- a/serpentTools/tests/test_branching.py +++ b/serpentTools/tests/test_branching.py @@ -50,13 +50,12 @@ class BranchTester(_BranchTesterHelper): 'CMM_TRANSPXS_Z', 'CMM_DIFFCOEF',...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_removed_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_...
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_branching.py::BranchTester::test_raiseError", "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedConfig", "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedNonStrict", "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadSingl...
[]
[ "serpentTools/tests/test_branching.py::BranchTester::test_branchingUniverses", "serpentTools/tests/test_branching.py::BranchTester::test_variables", "serpentTools/tests/test_branching.py::BranchContainerTester::test_cannotAddBurnupDays", "serpentTools/tests/test_branching.py::BranchContainerTester::test_conta...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-288
1c730ef70c6f9ce98247e1d8b935d3bb98366e4a
2019-03-05 03:45:05
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/docs/changelog.rst b/docs/changelog.rst index dd57dbc..90d13c3 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -39,6 +39,15 @@ Next The API for the |branchCollector| may be subject to change through revisions until ``0.7.0`` +Incompatible API Changes +------------------------ + +* |ho...
Universes in results reader are not zero-indexed ## Summary of issue The first index for universes is 1, likely taken directly from the result file burnup index. This misconstrues some of the style and pythonicness of the layout, as python arrays start at 0. ## Code for reproducing the issue Read a result file wit...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 1384c4d..50209a5 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -122,11 +122,6 @@ class TestGetUniv(unittest.TestCase): with self.assertRaises(SerpentT...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 4 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": [ "apt-get update", "apt-get instal...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 cycler==0.11.0 execnet==1.9.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 pytest-asyncio==0.16.0 pytest-cov==4.0.0 pytest-mock==3.6.1 pyte...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_validUniv", "serpentTools/tests/test_ResultsReader.py::TestFilterResults::test_universes", "serpentTools/tests/test_ResultsReader.py::TestReadAllResults::test_universes", "serpentTools/tests/test_ResultsReader.py::TestFilterResultsNoBurnup::test_uni...
[]
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestEmptyAttributes::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsN...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-288
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-288
CORE-GATECH-GROUP__serpent-tools-289
85f47bd559fdc8b1bef3bdea7d64db4a1c5b6271
2019-03-05 04:11:09
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/docs/changelog.rst b/docs/changelog.rst index 90d13c3..f7dec84 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -47,6 +47,9 @@ Incompatible API Changes burnup step was one. All burnup indices are now decreased by one. Similarly, if no burnup was present in the file, the values of burnup...
[API] Detector tallies of a single bin are difficult to work with ## Summary of issue When using a detector w/ a single bin, e.g. one group flux, the bin data in the output file is a single bin. Rather than a proper array, these are floats cast into array form. Indexing doesn't work, but you can get the "values" by co...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_detector.py b/serpentTools/tests/test_detector.py index 4b34ad3..6a79aee 100644 --- a/serpentTools/tests/test_detector.py +++ b/serpentTools/tests/test_detector.py @@ -9,25 +9,19 @@ from six import iteritems from numpy import arange, array from numpy.testing import assert_equal ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 3 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_detector.py::SingleTallyTester::test_singleTally" ]
[]
[ "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorGrids", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorIndex", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorSlice", "serpentTools/tests/test_detector.py::CartesianDetectorTes...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-289
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-289
CORE-GATECH-GROUP__serpent-tools-306
fb197b44d97ef3ae24d95662dcbdeb1cd9e9694e
2019-04-12 19:19:33
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/serpentTools/utils/core.py b/serpentTools/utils/core.py index e56468e..c1b35ad 100644 --- a/serpentTools/utils/core.py +++ b/serpentTools/utils/core.py @@ -4,7 +4,7 @@ Core utilities from re import compile -from numpy import array, ndarray +from numpy import array, ndarray, fromiter # Regular exp...
BUG ADFs in results file fail in numeric conversion ## Summary of issue When reading a file with assembly discontinuity factors (ADFs), there is a string that serpentTools attempts to convert to a vector. This causes a ValueError ## Code for reproducing the issue Add the following code to a section of a result file ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 44c9514..001408b 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -1,10 +1,11 @@ """Test the results reader.""" from os import remove +from shutil import copy...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_ResultsReader.py::ResADFTester::test_adf", "serpentTools/tests/test_utils.py::VectorConverterTester::test_listOfInts", "serpentTools/tests/test_utils.py::VectorConverterTester::test_vecOfStr" ]
[]
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsNone", ...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-306
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-306
CORE-GATECH-GROUP__serpent-tools-315
7ae29a333288609664c41979e8093923cbc95f50
2019-05-29 17:36:45
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/docs/changelog.rst b/docs/changelog.rst index baa3628..2d7fdb2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -16,6 +16,11 @@ Next :meth:`~serpentTools.objects.CartesianDetector.meshPlot`, where only data greater than ``thresh`` is plotted. +Bug fixes +--------- + +* Tally data for det...
Detectors with time binning ## Summary of issue Detectors with [time binning](http://serpent.vtt.fi/mediawiki/index.php/Input_syntax_manual#det_di) have 13 columns in the detector output file (an additional column indicating the time bin between the normal 1st and 2nd column) and thus get mixed up with the Serpent ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_detector.py b/serpentTools/tests/test_detector.py index 6a79aee..a369455 100644 --- a/serpentTools/tests/test_detector.py +++ b/serpentTools/tests/test_detector.py @@ -334,6 +334,29 @@ class SingleTallyTester(TestCase): self.assertEqual(self.detector.errors, 0.05187) +c...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modif...
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_detector.py::TimeBinnedDetectorTester::test_timeDetector" ]
[]
[ "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorGrids", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorIndex", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorSlice", "serpentTools/tests/test_detector.py::CartesianDetectorTes...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-315
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-315
CORE-GATECH-GROUP__serpent-tools-321
b3f3c39609319985f7047dd6fed52654e285cd0b
2019-07-16 02:30:22
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/docs/changelog.rst b/docs/changelog.rst index 706620d..97aee8a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,6 +21,16 @@ Bug fixes --------- * Tally data for detectors with time-bins are properly handled - :issue:`312` +* Support for generic string universe names for |BranchingReader|...
Support for non-integer named universes for branching reader ## Summary of issue Serpent 2 allows universe names to be quite generic string literals. However, the branching reader of serpentTools only seems to support universe names that are integers. This seems to be related to the int conversion on line 113 of ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_branching.py b/serpentTools/tests/test_branching.py index 9780cd4..7be45e2 100644 --- a/serpentTools/tests/test_branching.py +++ b/serpentTools/tests/test_branching.py @@ -23,7 +23,7 @@ class _BranchTesterHelper(unittest.TestCase): cls.expectedBranches = {('nom', 'nom', 'no...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 8 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_branching.py::BranchTester::test_branchingUniverses", "serpentTools/tests/test_branching.py::BranchContainerTester::test_cannotAddBurnupDays", "serpentTools/tests/test_branching.py::BranchContainerTester::test_containerGetUniv", "serpentTools/tests/test_branching.py::BranchContainerTe...
[]
[ "serpentTools/tests/test_branching.py::BranchTester::test_raiseError", "serpentTools/tests/test_branching.py::BranchTester::test_variables", "serpentTools/tests/test_xs.py::BranchCollectorTester::test_setAxis", "serpentTools/tests/test_xs.py::BranchCollectorTester::test_setBurnup", "serpentTools/tests/test_...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-324
7d9899c1c7ee03797d109211a9416d55ca5c5064
2019-07-23 23:15:49
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/docs/changelog.rst b/docs/changelog.rst index 606a4f7..706620d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -16,22 +16,11 @@ Next :meth:`~serpentTools.objects.CartesianDetector.meshPlot`, where only data greater than ``thresh`` is plotted. * Mitigate pending deprecated imports from ``...
BUG Failure to read files with burnup and no universes ## Summary of issue If there are no universes in the file, then the result counter does not get incremented due to an unreachable line https://github.com/CORE-GATECH-GROUP/serpent-tools/blob/b3f3c39609319985f7047dd6fed52654e285cd0b/serpentTools/parsers/results....
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 9f4e678..2a29d02 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -20,14 +20,14 @@ from serpentTools.tests.utils import ( GCU_START_STR = "GCU_UNIVERSE_NAME"...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 13 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==5.1.1 -e git+https://github.com/CORE-GATECH-GROUP/serpen...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "serpentTools/tests/test_ResultsReader.py::NoUniverseTester::test_noUniverse", "serpentTools/tests/test_branching.py::BranchTester::test_branchingUniverses", "serpentTools/tests/test_branching.py::BranchContainerTester::test_containerGetUniv", "serpentTools/tests/test_branching.py::BranchWithUncsTester::test_...
[]
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsNone", ...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-341
88b5707ebb49f9fe3d4755999c0659fa6b5ee131
2019-10-03 19:30:03
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/.gitignore b/.gitignore index 924c6e3..b27f41f 100644 --- a/.gitignore +++ b/.gitignore @@ -63,8 +63,4 @@ ENV/ # pycharm .idea/* -# vim -.*.swp - -# Ctag file -tags +/docs/*/generated/ diff --git a/docs/_templates/mydetector.rst b/docs/_templates/mydetector.rst new file mode 100644 index 0000000..8b20c...
API Remove support for SERPENT 1 detectors After a discussion with @DanKotlyar, we decided that support for SERPENT 1 detectors will be removed at release 0.8.0. Notice will be sent out to all users in the 0.7.1 release notice.
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_detector.py b/tests/test_detector.py index 099fd13..9193d6a 100644 --- a/tests/test_detector.py +++ b/tests/test_detector.py @@ -10,7 +10,7 @@ from numpy import arange, array from numpy.testing import assert_equal from serpentTools.parsers import read from serpentTools.data import getFile -fr...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": -1, "issue_text_score"...
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 pytest-cov==4.0.0 python-dateutil==2.9.0.post0 PyYAML==5.1.1 -e git+https://git...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/test_detector.py::CartesianDetectorTester::test_detectorGrids", "tests/test_detector.py::CartesianDetectorTester::test_detectorIndex", "tests/test_detector.py::CartesianDetectorTester::test_detectorSlice", "tests/test_detector.py::CartesianDetectorTester::test_getitem", "tests/test_detector.py::Carte...
[]
[]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-346
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
2019-10-07 19:21:44
09a5feab5b95f98aef4f7dc7b07edbf8e458f955
diff --git a/docs/changelog.rst b/docs/changelog.rst index 2c68415..5e70766 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -13,6 +13,12 @@ Next * |HomogUniv| objects no longer automatically convert data to arrays * Serpent 2.1.31 is the default version for :ref:`serpentVersion` setting +Bug Fixes +----...
BUG Burnup and day values wrong for results with multiple gcu, no burnup ## Summary of issue When reading a result file with multiple homogenized universes and no burnup, the homogenized universes have incorrect values of burnup and days. ## Code for reproducing the issue Reading a file with four homogenized univ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_results.py b/tests/test_results.py new file mode 100644 index 0000000..057debd --- /dev/null +++ b/tests/test_results.py @@ -0,0 +1,40 @@ +import re +import os + +import pytest +import serpentTools + + +@pytest.fixture +def multipleGcuNoBu(): + origFile = serpentTools.data.getFile("InnerAssem...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 2 }
0.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.19.5 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==5.1.1 -e git+https://github.com/CORE-GATECH-GROUP/serpen...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/test_results.py::test_multipleGcuNoBu" ]
[]
[]
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-346
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-346
CORE-GATECH-GROUP__serpent-tools-377
3d11b98046c48eb8a1c625e1dd534bc3af0a7be6
2020-01-17 15:52:18
d8f02d1f064b40e23db4c5ad6bf0bb31b9e8a6da
diff --git a/docs/changelog.rst b/docs/changelog.rst index e651937..3862113 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,18 @@ Changelog ========= +.. _v0.9.2: + +0.9.2 +===== + +.. _v0.9.2-bugs: + +Bug Fixes +--------- + +* Detector reader can handle sequential detectors with very similar + ...
BUG DetectorReader misses detectors that start with and contain identical names ## Summary of issue A colleague has a detector file with the following energy dependent detectors: `spectrum`, `spectrumA`, and `spectrumB`. The DetectorReader fails to capture the later two detectors, and messes up the data stored on `spe...
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_detectors.py b/tests/test_detectors.py index f60aaeb..0462578 100644 --- a/tests/test_detectors.py +++ b/tests/test_detectors.py @@ -4,8 +4,10 @@ Test various aspects of the detectors classes import numpy import pytest +import serpentTools from serpentTools import detectors + @pytest.fix...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 2 }
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.7", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
certifi @ file:///croot/certifi_1671487769961/work/certifi cycler==0.11.0 exceptiongroup==1.2.2 fonttools==4.38.0 importlib-metadata==6.7.0 iniconfig==2.0.0 kiwisolver==1.4.5 matplotlib==3.5.3 numpy==1.21.6 packaging==24.0 Pillow==9.5.0 pluggy==1.2.0 pyparsing==3.1.4 pytest==7.4.4 python-dateutil==2.9.0.post0 PyYAML==6...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/test_detectors.py::test_similarDetectors" ]
[]
[ "tests/test_detectors.py::testDetectorProperties", "tests/test_detectors.py::testCartesianDetector[bins]", "tests/test_detectors.py::testCartesianDetector[grids]", "tests/test_detectors.py::testCartesianDetector[bare]", "tests/test_detectors.py::testCartesianDetector[init]", "tests/test_detectors.py::test...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-377
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-377
CORE-GATECH-GROUP__serpent-tools-4
606a90d665a15a16c437dd1fb72ef014aa480142
2017-09-19 15:34:09
606a90d665a15a16c437dd1fb72ef014aa480142
diff --git a/serpentTools/__init__.py b/serpentTools/__init__.py index 8af8d0f..d38090d 100644 --- a/serpentTools/__init__.py +++ b/serpentTools/__init__.py @@ -1,7 +1,7 @@ from serpentTools import settings from serpentTools import parsers -__version__ = '0.1.1' +__version__ = '0.1.2' # List TODOS/feature ...
`getXY` for `DepletedMaterial` raises unhelpful value error if days missing from object If a depleted material is asked to get some quantity for days that are not present, the following error is raised: ``` File "C:\Users\ajohnson400\AppData\Local\Continuum\Anaconda3\lib\site-packages\serpenttools-0.1.1rc0-py3.5.eg...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_depletion.py b/serpentTools/tests/test_depletion.py index 0574305..d7f6d52 100644 --- a/serpentTools/tests/test_depletion.py +++ b/serpentTools/tests/test_depletion.py @@ -156,6 +156,17 @@ class DepletedMaterialTester(_DepletionTestHelper): ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 7 }
unknown
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "tes...
contourpy==1.3.0 cycler==0.12.1 drewtils==0.1.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work fonttools==4.56.0 importlib_resources==6.5.2 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work kiwisolver==1.4.7 matplotlib==3.9.4 numpy==2.0.2 packaging @ file:///croot/packaging_17344...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_raisesError_badTime" ]
[]
[ "serpentTools/tests/test_depletion.py::DepletionTester::test_ReadMaterials", "serpentTools/tests/test_depletion.py::DepletionTester::test_metadata", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_fetchData", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_adens",...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-40
ebd70724628e6108a10b47338c31d3fcb3af7d03
2017-10-19 21:23:42
224ef748f519903554f346d48071e58b43dcf902
diff --git a/.travis.yml b/.travis.yml index 19f06e3..98b5729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +env: + - ONTRAVIS=True language: python python: - "3.6" diff --git a/serpentTools/objects/__init__.py b/serpentTools/objects/__init__.py index 2ef74d4..53949d9 100644 --- a/serpentTools/object...
Explicit attributes for supporting objects Currently, supporting objects look for their attributes first in their own metadata, then in the metadata of the metadata of the parent. This poses some introspection ugliness, as it is difficult to determine what attributes are on the object. Each supporting object should ...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_depletion.py b/serpentTools/tests/test_depletion.py index 2e00eec..6e8e0d5 100644 --- a/serpentTools/tests/test_depletion.py +++ b/serpentTools/tests/test_depletion.py @@ -120,18 +120,18 @@ class DepletedMaterialTester(_DepletionTestHelper): self.assertListEqual(self.materi...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 5 }
1.00
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, "tes...
contourpy==1.3.0 cycler==0.12.1 drewtils==0.1.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work fonttools==4.56.0 importlib_resources==6.5.2 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work kiwisolver==1.4.7 matplotlib==3.9.4 numpy==2.0.2 packaging @ file:///croot/packaging_17344...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 ...
[ "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_adens", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_burnup_full", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_getXY_burnup_slice", "serpentTools/tests/test_depletion.py::DepletedMate...
[]
[ "serpentTools/tests/test_depletion.py::DepletionTester::test_ReadMaterials", "serpentTools/tests/test_depletion.py::DepletionTester::test_metadata", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_fetchData", "serpentTools/tests/test_depletion.py::DepletedMaterialTester::test_materials" ]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-412
a69471eb211a18768aa55c695be906e006b4b4a6
2020-08-10 14:22:31
d8f02d1f064b40e23db4c5ad6bf0bb31b9e8a6da
diff --git a/serpentTools/parsers/depletion.py b/serpentTools/parsers/depletion.py index aa730d8..6e5e05a 100644 --- a/serpentTools/parsers/depletion.py +++ b/serpentTools/parsers/depletion.py @@ -262,7 +262,7 @@ class DepletionReader(DepPlotMixin, MaterialReader): if varName == 'NAMES': ...
BUG ResultsReader drops last digit of scalar data ## Summary of issue When reading a result file, we expect scalar data to have a space between the last digit and the colon due to https://github.com/CORE-GATECH-GROUP/serpent-tools/blob/dd886ff2b2cd19e8dc681245134cef8815d61f31/serpentTools/utils/core.py#L14 and https:...
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_pt_results.py b/tests/test_pt_results.py new file mode 100644 index 0000000..5b4fab3 --- /dev/null +++ b/tests/test_pt_results.py @@ -0,0 +1,28 @@ +"""pytest tests for reading the result file""" + +import pytest +import serpentTools.data +from serpentTools.settings import rc + + +@pytest.fixture...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 5 }
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_path": [ ...
certifi @ file:///croot/certifi_1671487769961/work/certifi cycler==0.11.0 exceptiongroup==1.2.2 fonttools==4.38.0 importlib-metadata==6.7.0 iniconfig==2.0.0 kiwisolver==1.4.5 matplotlib==3.5.3 numpy==1.21.6 packaging==24.0 Pillow==9.5.0 pluggy==1.2.0 pyparsing==3.1.4 pytest==7.4.4 python-dateutil==2.9.0.post0 PyYAML==6...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/test_pt_utils.py::test_str2vec[1]" ]
[]
[ "tests/test_pt_utils.py::test_str2vec[5]", "tests/test_pt_utils.py::test_str2vec[10]", "tests/test_utils.py::VariableConverterTester::test_variableConversion", "tests/test_utils.py::SplitValsTester::test_splitAtCols", "tests/test_utils.py::SplitValsTester::test_splitCopy", "tests/test_utils.py::SplitValsT...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-412
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-412
CORE-GATECH-GROUP__serpent-tools-447
f7eb3e1c843f7d2506fe7ffa378584d7602a3bb9
2021-05-14 18:34:11
d8f02d1f064b40e23db4c5ad6bf0bb31b9e8a6da
diff --git a/docs/variableGroups.rst b/docs/variableGroups.rst index 8b2fd56..723a8a5 100644 --- a/docs/variableGroups.rst +++ b/docs/variableGroups.rst @@ -30,19 +30,227 @@ variable names converted to ``mixedCaseNames``. This conversion is done to fit the style of the project and reduce a few keystrokes for accessing...
ENH Support Serpent 2.1.32 **Is your feature request related to a problem? Please describe.** Warning messages like ``` WARN SERPENT Serpent 2.1.32 found in godiva_res.m, but version 2.1.31 is defined in settings Attemping to read anyway. Please report strange behaviors/failures to developers. ``` (also a typo)...
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_results.py b/tests/test_results.py index 057debd..e562cc3 100644 --- a/tests/test_results.py +++ b/tests/test_results.py @@ -1,6 +1,9 @@ import re import os +from os.path import join as pjoin +from tempfile import TemporaryDirectory +import numpy import pytest import serpentTools @@ -38,...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 3 }
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.8", "reqs_path": [ ...
cycler==0.12.1 exceptiongroup==1.2.2 iniconfig==2.1.0 kiwisolver==1.4.7 matplotlib==3.3.4 numpy==1.24.4 packaging==24.2 pillow==10.4.0 pluggy==1.5.0 pyparsing==3.1.4 pytest==8.3.5 python-dateutil==2.9.0.post0 PyYAML==6.0.2 -e git+https://github.com/CORE-GATECH-GROUP/serpent-tools.git@f7eb3e1c843f7d2506fe7ffa378584d7602...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/test_results.py::test_2132_nofilter", "tests/test_results.py::test_2132_filterburnup" ]
[]
[ "tests/test_results.py::test_multipleGcuNoBu" ]
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-447
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-447
CORE-GATECH-GROUP__serpent-tools-456
e8cd0943cafd7f1cbc5f5a74fabf652097a12777
2021-09-08 21:50:31
d8f02d1f064b40e23db4c5ad6bf0bb31b9e8a6da
diff --git a/docs/changelog.rst b/docs/changelog.rst index 5f652a4..5da1ed1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -16,6 +16,10 @@ Changelog .. _v0.9.4: +0.9.4rc1 +======== +* Support for reading ``pspec`` fields in xsplot files + :release-tag:`0.9.4rc0` ==================== diff --git a/s...
Can't Parse Cross Section Data From Serpent 2.1.32 ## Summary of issue I am getting `ValueError: Unidentifiable entry` when trying to load my `*_xs0.m` file, because `serpentTools` doesn't know what to do with entries suffixed by `pspec`. These appear to be new to Serpent 2.1.32, and the code runs fine when I manuall...
CORE-GATECH-GROUP/serpent-tools
diff --git a/tests/test_xsplot.py b/tests/test_xsplot.py index b87a39c..1ae5a6c 100644 --- a/tests/test_xsplot.py +++ b/tests/test_xsplot.py @@ -1,12 +1,14 @@ """Test the xsplot reader.""" import unittest from numpy import ndarray, array, newaxis - from numpy.testing import assert_array_equal +import pytest from...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 1 }, "num_...
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_path": [ ...
certifi @ file:///croot/certifi_1671487769961/work/certifi cycler==0.11.0 exceptiongroup==1.2.2 fonttools==4.38.0 importlib-metadata==6.7.0 iniconfig==2.0.0 kiwisolver==1.4.5 matplotlib==3.5.3 numpy==1.21.6 packaging==24.0 Pillow==9.5.0 pluggy==1.2.0 pyparsing==3.1.4 pytest==7.4.4 python-dateutil==2.9.0.post0 PyYAML==6...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/test_xsplot.py::test_goodMisc", "tests/test_xsplot.py::test_missingPspec" ]
[]
[ "tests/test_xsplot.py::XSPlotTester::test1_allXS", "tests/test_xsplot.py::XSPlotTester::test2_testPrintMT" ]
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-72
efd13f38b728415f603bef6ab68ae3afd4694983
2017-12-19 15:46:17
0f11460f4d97775d096a6cdb8e1c2b94549c9f4e
diff --git a/README.rst b/README.rst index 5ab1e01..c7b11fb 100644 --- a/README.rst +++ b/README.rst @@ -44,9 +44,6 @@ References ---------- The Annals of Nuclear Energy article should be cited for all work -using ``SERPENT``. If you wish to cite this project, please cite as - -.. code:: bibtex using ``SERPENT``....
Update settings from config file Currently, the settings loader has to take settings one at a time. For the sake of consistency and ease, it would be nice to have the `rc` settings loader take a file path argument and load all settings from there. I think a `yaml` file would be pretty straight forward, since we alre...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_settings.py b/serpentTools/tests/test_settings.py index de3b43d..b6f8e50 100644 --- a/serpentTools/tests/test_settings.py +++ b/serpentTools/tests/test_settings.py @@ -1,133 +1,204 @@ -"""Tests for the settings loaders.""" -import warnings -import unittest - -from serpentTools i...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_removed_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "...
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy six", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.6", "reqs_path": null, "test_cm...
attrs==22.2.0 certifi==2021.5.30 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282412546/work matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work numpy @ file:///tmp/build/80754af9/n...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - blas=1.0=openblas - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - cycler=0.11...
[ "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedConfig", "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadNestedNonStrict", "serpentTools/tests/test_settings.py::ConfigLoaderTester::test_loadSingleLevelConfig" ]
[]
[ "serpentTools/tests/test_settings.py::DefaultSettingsTester::test_cannotChangeDefaults", "serpentTools/tests/test_settings.py::DefaultSettingsTester::test_getDefault", "serpentTools/tests/test_settings.py::RCTester::test_expandExtras", "serpentTools/tests/test_settings.py::RCTester::test_failAtBadSetting_opti...
[]
MIT License
null
null
CORE-GATECH-GROUP__serpent-tools-85
d46f0e5a22b6ac257b7ce5f83222eba0f26c3895
2018-02-05 18:59:30
1d475a4dd8982532d097286468b2d616345c8ab8
diff --git a/serpentTools/__init__.py b/serpentTools/__init__.py index 8933bae..6343059 100644 --- a/serpentTools/__init__.py +++ b/serpentTools/__init__.py @@ -4,16 +4,6 @@ ROOT_DIR = os.path.dirname(__file__) from serpentTools.parsers import read from serpentTools import messages - -# List TODOS/feature requests ...
Clean up the code There are some debug codes, ```if __name__ == '__main__'```, in some of the scripts. They should be removed. Test scripts, e.g. unittests, still need those to run the tests. - [x] `detector.py` - [x] todos in the root __init__.py
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_container.py b/serpentTools/tests/test_container.py index bba2a3a..fbed4dc 100644 --- a/serpentTools/tests/test_container.py +++ b/serpentTools/tests/test_container.py @@ -10,7 +10,7 @@ class HomogenizedUniverseTester(unittest.TestCase): @classmethod def setUpClass(cls):...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 9 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "numpy>=1.11.1 matplotlib>=1.5.0 pyyaml>=3.08 scipy", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ...
attrs==22.2.0 certifi==2021.5.30 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver @ file:///tmp/build/80754af9/kiwisolver_1612282412546/work matplotlib @ file:///tmp/build/80754af9/matplotlib-suite_1613407855456/work numpy @ file:///tmp/build/80754af9/n...
name: serpent-tools channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - blas=1.0=openblas - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - cycler=0.11...
[ "serpentTools/tests/test_container.py::HomogenizedUniverseTester::test_getB1Exp", "serpentTools/tests/test_container.py::HomogenizedUniverseTester::test_getB1Unc", "serpentTools/tests/test_container.py::HomogenizedUniverseTester::test_getInfExp", "serpentTools/tests/test_container.py::HomogenizedUniverseTeste...
[]
[]
[]
MIT License
null
null
CS-SI__eodag-1108
e619c88de826047b8f46f4485ca5537a58e60678
2024-04-23 15:45:29
0a6208a6e306461fca3f66c1653a41ffda54dfb6
github-actions[bot]: ## Test Results   1 files   -     3    1 suites   - 3   1m 3s :stopwatch: - 4m 31s 506 tests +    1  496 :white_check_mark:  -     6  3 :zzz: ± 0  7 :x: +7  506 runs   - 1 514  496 :white_check_mark:  - 1 436  3 :zzz:  - 85  7 :x: +7  For more details on these failures, see [this check](https://gi...
diff --git a/README.rst b/README.rst index 0eff4243..441dd1c6 100644 --- a/README.rst +++ b/README.rst @@ -84,6 +84,9 @@ And with ``conda`` from the `conda-forge channel <https://anaconda.org/conda-for conda install -c conda-forge eodag +Please note that EODAG comes with a minimal set of dependencies. If you wa...
move external python apis and server to extras_require Get external python apis out of `install_requires` (`usgs`, `ecmwf-api-client`), in order to keep `eodag` core as light as possible. Also move server mode the same way. Raise a well formatted error message if the external api is needed: ``` Access to ECMWF dat...
CS-SI/eodag
diff --git a/tests/test_requirements.py b/tests/test_requirements.py index 86e15515..9ef2dc9b 100644 --- a/tests/test_requirements.py +++ b/tests/test_requirements.py @@ -19,12 +19,15 @@ import ast import configparser import os +import re import unittest +from typing import Any, Dict, Iterator, Set import import...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": -1, "issue_text_score": 0, "test_score": -1 }, "num_modified_files": 11 }
2.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], ...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_requirements.py::TestRequirements::test_all_requirements", "tests/test_requirements.py::TestRequirements::test_plugins_extras", "tests/units/test_core.py::TestCore::test_prune_providers_list_skipped_plugin" ]
[]
[ "tests/units/test_core.py::TestCore::test_available_sortables", "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::...
[]
Apache License 2.0
null
null
CS-SI__eodag-1262
f7efdd09236091864c16b46822730cf1b97317c9
2024-07-15 09:56:06
2473ac169a3d05f04f83d4f227c2fb63689ae2d6
github-actions[bot]: ## Test Results     4 files  ±0      4 suites  ±0   6m 8s :stopwatch: -6s   552 tests +1    549 :white_check_mark: +1    3 :zzz: ±0  0 :x: ±0  2 208 runs  +4  2 106 :white_check_mark: +4  102 :zzz: ±0  0 :x: ±0  Results for commit 250c04bd. ± Comparison against base commit 1e422214. [test-results...
diff --git a/eodag/plugins/apis/usgs.py b/eodag/plugins/apis/usgs.py index 2e552f0b..d4ecf61f 100644 --- a/eodag/plugins/apis/usgs.py +++ b/eodag/plugins/apis/usgs.py @@ -172,11 +172,39 @@ class UsgsApi(Api): max_results=items_per_page, starting_number=(1 + (page - 1) * items_per_page)...
USGS Search by ID lists many products instead of just the matching one When I try to use `eodag.search` method with setting the `id` parameter, it lists many (millions) of products instead of just the product matching the ID, and the only work around I found is to iterate through all the pages and look for the matching...
CS-SI/eodag
diff --git a/tests/units/test_apis_plugins.py b/tests/units/test_apis_plugins.py index 30cfbb41..7f3d184a 100644 --- a/tests/units/test_apis_plugins.py +++ b/tests/units/test_apis_plugins.py @@ -392,6 +392,65 @@ class TestApisPluginEcmwfApi(BaseApisPluginTest): class TestApisPluginUsgsApi(BaseApisPluginTest): + ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 2 }
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_apis_plugins.py::TestApisPluginUsgsApi::test_plugins_apis_usgs_query_by_id" ]
[]
[ "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_authenticate", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download_all", "tests/units/test_ap...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-1262
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-1262
CS-SI__eodag-1271
97b7b6f881714b4c40029a174c2539085cd50868
2024-07-24 16:34:33
2473ac169a3d05f04f83d4f227c2fb63689ae2d6
github-actions[bot]: ## Test Results   2 files   -     2    2 suites   - 2   1m 34s :stopwatch: - 4m 43s 553 tests ±    0  549 :white_check_mark:  -     1  3 :zzz: ± 0  1 :x: +1  553 runs   - 1 659  549 :white_check_mark:  - 1 561  3 :zzz:  - 99  1 :x: +1  For more details on these failures, see [this check](https://g...
diff --git a/docs/notebooks/api_user_guide/4_search.ipynb b/docs/notebooks/api_user_guide/4_search.ipynb index c131f344..ac416c2b 100644 --- a/docs/notebooks/api_user_guide/4_search.ipynb +++ b/docs/notebooks/api_user_guide/4_search.ipynb @@ -2140,14 +2140,14 @@ "cell_type": "markdown", "metadata": {}, "sou...
rename camelCase parameters and methods Rename: - `sortBy` to `sortby` - `orderDownload` to `order_download` - `orderDownloadStatus` to `order_download_status`
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index 9fc9cdd9..63749da5 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -2669,7 +2669,7 @@ class TestCoreSearch(TestCoreBase): mock_postjsonsearch__request, ): """search must sort results by sorting paramete...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": ...
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreSearch::test_search_sort_by", "tests/units/test_core.py::TestCoreSearch::test_search_sort_by_raise_errors", "tests/units/test_download_plugins.py::TestDownloadPluginHttp::test_plugins_download_http_order_get", "tests/units/test_download_plugins.py::TestDownloadPluginHttp::te...
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/units/test_core.py::TestCore::test_available_sortables", "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::...
[]
Apache License 2.0
null
null
CS-SI__eodag-1338
1a1a40f4c4ec7d7672aa917fa0d6a28326df25da
2024-10-10 12:51:06
2473ac169a3d05f04f83d4f227c2fb63689ae2d6
github-actions[bot]: ## Test Results     4 files  ±0      4 suites  ±0   6m 6s :stopwatch: -1s   567 tests +2    564 :white_check_mark: +2   3 :zzz: ±0  0 :x: ±0  2 268 runs  +8  2 172 :white_check_mark: +6  96 :zzz: +2  0 :x: ±0  Results for commit f2bfdcc0. ± Comparison against base commit 1a1a40f4. [test-results]:...
diff --git a/docs/plugins_reference/auth.rst b/docs/plugins_reference/auth.rst index 8f4b0206..fbad669f 100644 --- a/docs/plugins_reference/auth.rst +++ b/docs/plugins_reference/auth.rst @@ -9,6 +9,8 @@ Multiple authentication plugins can be defined per provider under ``auth``, ``se using *matching settings* :attr:`~e...
Raise an error when a request to a backend provider fails When a request to a provider such as cop_ads fails because of a malformed request (e.g. providing a date range with an end date before the start date), eodag logs the error, which may be unnotified by the user. Instead it should raise an error.
CS-SI/eodag
diff --git a/tests/integration/test_core_search.py b/tests/integration/test_core_search.py index e5ae64b2..46b83844 100644 --- a/tests/integration/test_core_search.py +++ b/tests/integration/test_core_search.py @@ -495,6 +495,23 @@ class TestCoreSearch(unittest.TestCase): }, ) + # auth pl...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 6 }
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_download_plugins.py::TestDownloadPluginHttp::test_plugins_download_http_order_get_raises_if_request_failed", "tests/units/test_http_server.py::RequestTestCase::test_error_handler_supports_request_exception_with_status_code_none" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_auths_matching", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_errors_buildpost", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_errors_odata", "tests/integration/test_core_search.py::...
[]
Apache License 2.0
null
null
CS-SI__eodag-1357
cdee784fa2d227c8e908610422140188df4ed142
2024-10-18 14:22:22
2473ac169a3d05f04f83d4f227c2fb63689ae2d6
github-actions[bot]: ## Test Results     2 files   -     2      2 suites   - 2   2m 49s :stopwatch: - 2m 51s   568 tests ±    0    561 :white_check_mark:  -     4  3 :zzz: ± 0  4 :x: +4  1 136 runs   - 1 136  1 126 :white_check_mark:  - 1 050  6 :zzz:  - 90  4 :x: +4  For more details on these failures, see [this chec...
diff --git a/docs/getting_started_guide/providers.rst b/docs/getting_started_guide/providers.rst index 55b28631..d3bc844e 100644 --- a/docs/getting_started_guide/providers.rst +++ b/docs/getting_started_guide/providers.rst @@ -23,6 +23,7 @@ Products from the following providers are made avaiable through ``eodag``: S...
Support geodes provider Support geodes provider : https://geodes.cnes.fr/migration-de-peps-vers-geodes/ Deprecate peps provider Add geodes provider
CS-SI/eodag
diff --git a/tests/integration/test_core_search.py b/tests/integration/test_core_search.py index 46b83844..69d20246 100644 --- a/tests/integration/test_core_search.py +++ b/tests/integration/test_core_search.py @@ -237,6 +237,7 @@ class TestCoreSearch(unittest.TestCase): "peps", "cop_d...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 3, "test_score": 0 },...
3.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_fallback_find_nothing", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_fallback_find_on_first", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_fallback_find_on_fourth", "tests/integrati...
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_auths_matching", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_errors_buildpost", "tests/integration/test_core_search.py::TestCoreSearch::test_core_search_errors_odata", "tests/integration/test_core_search.py::...
[]
Apache License 2.0
null
null
CS-SI__eodag-1536
b7cc06e19025e5bbf14e28a0975f1749e21e9be3
2025-02-21 10:04:30
67f653deb272109dae563f5cc513ca696561bf2c
github-actions[bot]: ## Test Results     2 files   -     2      2 suites   - 2   3m 14s ⏱️ - 3m 24s   607 tests ±    0    597 ✅  -     7  3 💤 ± 0   7 ❌ + 7  1 214 runs   - 1 214  1 194 ✅  - 1 136  6 💤  - 92  14 ❌ +14  For more details on these failures, see [this check](https://github.com/CS-SI/eodag/runs/3759557051...
diff --git a/eodag/config.py b/eodag/config.py index 0ceb1f1f..db5ae7a0 100644 --- a/eodag/config.py +++ b/eodag/config.py @@ -779,6 +779,7 @@ def provider_config_init( and provider_config.search.type in [ "StacSearch", + "StacListAssets", "Stat...
Geodes & Geodes_s3 have the same key in pre release 3.1.0b2 **Describe the bug** - The latest pre-release adds geodes_s3 for internal access the CNES data lake - The latest provider config uses the same key ``` - geodes: priority: # Lower value means lower priority (Default: 0) search: # Search parameters conf...
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index 3b8faf95..9f5fdfd8 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -305,6 +305,7 @@ class TestCore(TestCoreBase): "dedl", "earth_search", "geodes", + "geodes_s3", ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
3.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements-dev.txt" ], "test_cmd": "...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.27 boto3-stubs==1.37.27 botocore==1.37.27 botocore-stubs==1.37.27 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCore::test_available_sortables", "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-1551
643cb3c0e6228ebf83ba01bf38a80b05162a7ab4
2025-03-06 17:52:56
67f653deb272109dae563f5cc513ca696561bf2c
diff --git a/docs/_static/params_mapping_extra.csv b/docs/_static/params_mapping_extra.csv index c048a7cf..ba9cdbb3 100644 --- a/docs/_static/params_mapping_extra.csv +++ b/docs/_static/params_mapping_extra.csv @@ -1,17 +1,14 @@ parameter,cop_ads,cop_cds,cop_dataspace,cop_ewds,cop_marine,creodias,dedt_lumi,earth_searc...
deprecated usgs login endpoint to login-token endpoint The current `login` endpoint, which is used for authentication within the API, will be deprecated in February of 2025. Users are encouraged to create one or more M2M Application Tokens and to transition to using the `login-token` endpoint in lieu of the current `lo...
CS-SI/eodag
diff --git a/tests/units/test_apis_plugins.py b/tests/units/test_apis_plugins.py index 0d6224ab..3cb0756b 100644 --- a/tests/units/test_apis_plugins.py +++ b/tests/units/test_apis_plugins.py @@ -485,21 +485,28 @@ class TestApisPluginUsgsApi(BaseApisPluginTest): USGSError("USGS error"), None, ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": -1, "issue_text_score": 0, "test_score": -1 }, "n...
3.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.27 boto3-stubs==1.37.27 botocore==1.37.27 botocore-stubs==1.37.27 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_apis_plugins.py::TestApisPluginUsgsApi::test_plugins_apis_usgs_authenticate" ]
[]
[ "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_authenticate", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download_all", "tests/units/test_ap...
[]
Apache License 2.0
null
null
CS-SI__eodag-190
af9afc8f4e21f6af129c10a1763fb560ac0dfbe2
2021-03-19 17:54:55
49b15ccd7aa5b83f19fb98b8b4a0dae279c2c18c
sbrunato: For `astraea_eod`, STAC API pagination only needs `item["links"][]["rel"] == "next"`. `page` parameter is only optional, see https://github.com/radiantearth/stac-api-spec/tree/master/item-search#paging. For STAC providers, we should this `next` entry by default instead of `page`+`limit`. This could be d...
diff --git a/eodag/api/core.py b/eodag/api/core.py index 4655c3e3..6b84203c 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -59,6 +59,10 @@ logger = logging.getLogger("eodag.core") # pagination defaults DEFAULT_PAGE = 1 DEFAULT_ITEMS_PER_PAGE = 20 +# Default maximum number of items per page requested by se...
Search for all the products matching some criteria with a given provider We have had a lot of discussions on a private GitLab instance before we moved to GitHub about how to search/download all the products matching some criteria. The problems we observed with the current API were: * The method `search` returns a t...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index bd969304..83d9354e 100644 --- a/tests/context.py +++ b/tests/context.py @@ -25,7 +25,7 @@ import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))) from eodag import EODataAccessGateway, api, config -from eodag.api.core...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 4 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_sobloo_noresult", "tests/test_end_to_end.py::TestEODagEndToEndWrongCredentials::test_end_to_end_wrong_apikey_search_aws_eos", "tests/test_e...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_mundi_default", "tests/test_end_to_end.py::TestEODagEndToEnd::test_e...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-195
11a6c14378b0f02b8708b38ce7bc68a984beb4ce
2021-03-22 06:07:45
49b15ccd7aa5b83f19fb98b8b4a0dae279c2c18c
diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 00000000..6a54a42e --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,4 @@ +div.sphinxsidebar { + max-height: 100%; + overflow-y: auto; +} diff --git a/docs/conf.py b/docs/conf.py index 5357ea66..3c6fddcb 100644 --- a/do...
End-to-end test fails for sobloo ``` FAIL: test_end_to_end_search_download_airbus (test_end_to_end.TestEODagEndToEnd) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/maxime/TRAVAIL/06_EODAG/01_eodag/eodag/tests/test_end_to_end.py", line 278, in...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index c0f3a8b0..bd969304 100644 --- a/tests/context.py +++ b/tests/context.py @@ -31,7 +31,7 @@ from eodag.api.product.drivers import DRIVERS from eodag.api.product.drivers.base import NoDriver from eodag.api.search_result import SearchResult from eodag.cli import dow...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 4 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "coverage", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_config.py::TestProviderConfig::test_provider_config_merge", "tests/test_config.py::TestProviderConfig::test_provider_config_name", "tests/test_config.py::TestProviderConfig::test_provider_config_update", "tests/test_config.py::TestProviderConfig::test_provider_config_valid", "tests/test_config.p...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_astraea_eod", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_aws_eos", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_creodias", "tests/test_end_to_end.py::TestEODagEndTo...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-200
af9afc8f4e21f6af129c10a1763fb560ac0dfbe2
2021-03-24 12:48:40
49b15ccd7aa5b83f19fb98b8b4a0dae279c2c18c
diff --git a/CHANGES.rst b/CHANGES.rst index 59bcdfc1..9998e581 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Release history --------------- +2.2.0 (2021-xx-xx) +++++++++++++++++++ + +- More explicit signature for ``setup_logging``, fixes `GH-197 <https://github.com/CS-SI/eodag/issues/197>`_ + 2.1.1...
Improve the signature of setup_logging Which is currently ```python def setup_logging(**kwargs): ``` while: ```python def setup_logging(verbose=None): ``` would be more explicit. To make it exactly backwards compatible we'd need to raise a KeyError if called with `setup_logging()`. I don't expect anyone to r...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index bd969304..83d9354e 100644 --- a/tests/context.py +++ b/tests/context.py @@ -25,7 +25,7 @@ import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))) from eodag import EODataAccessGateway, api, config -from eodag.api.core...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 7 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "sphinx" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9"...
alabaster==0.7.16 attrs==25.3.0 babel==2.17.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_sobloo_noresult", "tests/test_end_to_end.py::TestEODagEndToEndWrongCredentials::test_end_to_end_wrong_apikey_search_aws_eos", "tests/test_e...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_mundi_default", "tests/test_end_to_end.py::TestEODagEndToEnd::test_e...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-201
ab1c1054e802d7a25980c331eb19a1c48f1ffc53
2021-03-24 15:17:18
49b15ccd7aa5b83f19fb98b8b4a0dae279c2c18c
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6b84203c..31a214cd 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -428,7 +428,7 @@ class EODataAccessGateway(object): kwargs[search_key] ) if results is None: - results = searche...
guess_product_type doesn't return all the matching products The method `Searcher.search()` of *whoosh* [accepts a `limit` parameter](https://whoosh.readthedocs.io/en/latest/searching.html#the-searcher-object) that can be set to `None` to get all the results. By default `limit` is set to 10. I think we should set `limit...
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index 221f70bc..4bde0171 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -520,6 +520,19 @@ class TestCoreSearch(unittest.TestCase): with self.assertRaises(NoMatchingProductType): self.dag.guess_product_type() ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "p...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreSearch::test_guess_product_type_has_no_limit" ]
[ "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_geometry_and_locations", "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_only_locations", "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_only_locations_regex" ]
[ "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests/units/test_core.py::TestCore::test_list_product_types_for_pr...
[]
Apache License 2.0
null
null
CS-SI__eodag-204
ab1c1054e802d7a25980c331eb19a1c48f1ffc53
2021-03-24 17:30:07
49b15ccd7aa5b83f19fb98b8b4a0dae279c2c18c
diff --git a/CHANGES.rst b/CHANGES.rst index 59bcdfc1..9998e581 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Release history --------------- +2.2.0 (2021-xx-xx) +++++++++++++++++++ + +- More explicit signature for ``setup_logging``, fixes `GH-197 <https://github.com/CS-SI/eodag/issues/197>`_ + 2.1.1...
Add to the search command the ability to search for all the products matching some criteria The API will soon get a `search_all` method that will allow to collect at once all the products from a provider that match a set of criteria. The CLI should also benefit from this enhancement. I suggest that we add a `--all` opt...
CS-SI/eodag
diff --git a/tests/test_cli.py b/tests/test_cli.py index c3c7d742..94e07cc3 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -29,6 +29,7 @@ from pkg_resources import resource_filename from eodag.utils import GENERIC_PRODUCT_TYPE from tests import TEST_RESOURCES_PATH from tests.context import ( + DEFAULT_...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 6 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "p...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_all", "tests/units/test_core.py::TestCoreSearch::test_guess_product_type_has_no_limit" ]
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_geometry_and_locations", "...
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[]
Apache License 2.0
null
null
CS-SI__eodag-228
fec965f791a74dbf658e0833e1507b7ac950d09d
2021-04-12 16:05:31
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/plugins/download/aws.py b/eodag/plugins/download/aws.py index 84fc9ea9..2f0b132d 100644 --- a/eodag/plugins/download/aws.py +++ b/eodag/plugins/download/aws.py @@ -163,6 +163,12 @@ class AwsDownload(Download): def download(self, product, auth=None, progress_callback=None, **kwargs): """...
Sentinel SAFE / non-SAFE product types distinction All providers do not provide Sentinel products in SAFE format, which means for example that searching `S2_MSI_L1C` products on `peps` or `astraea_eod` can return products packaged differently, and differently formatted ids. We should add more product types to be abl...
CS-SI/eodag
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 294d0d5e..be2dee90 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -78,6 +78,13 @@ EARTH_SEARCH_SEARCH_ARGS = [ "2020-01-15", [0.2563590566012408, 43.19555008715042, 2.379835675499976, 43.907759172380565], ] +EARTH...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 4 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_earth_search_cog", "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok", "tests/units/test_core.py::TestCoreSearch::test_guess_product_type_with_kwargs" ]
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_mundi_default", "tests/test_end_to_end.py::TestEODagEndToEnd::test_e...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_download_sobloo_noresult", "tests/test_end_to_end.py::TestEODagEndToEndWrongCredentials::test_end_to_end_wrong_apikey_search_aws_eos", "tests/test_e...
[]
Apache License 2.0
null
null
CS-SI__eodag-244
0632e4147f26119bea43e0672f6d06e75d216a20
2021-04-20 13:08:43
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6efceb2a..1e91f5d9 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -47,6 +47,7 @@ from eodag.utils import ( _deprecated, get_geometry_from_various, makedirs, + uri_to_path, ) from eodag.utils.exceptions import ( NoMatchingProduc...
Inconsistent filepaths returned by the download methods `download_all` returns for instance: ```python ['/home/maxime/TRAVAIL/06_EODAG/01_eodag/eodag/docs/notebooks/api_user_guide/eodag_workspace_download/S2A_MSIL1C_20201229T110451_N0209_R094_T31TCL_20201229T131620/S2A_MSIL1C_20201229T110451_N0209_R094_T31TCL_2020122...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 96807bc8..df74276a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -44,7 +44,13 @@ from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.rest import server as eodag_http_server from eodag.rest.utils impor...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 10 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::T...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-248
0632e4147f26119bea43e0672f6d06e75d216a20
2021-04-21 08:52:52
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6efceb2a..556d03c9 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -47,6 +47,7 @@ from eodag.utils import ( _deprecated, get_geometry_from_various, makedirs, + uri_to_path, ) from eodag.utils.exceptions import ( NoMatchingProduc...
Kwargs passed to guess a product type are propagated A search made with the following criteria guesses that it should use the product type `S2_MSI_L1C`: ```python from eodag import EODataAccessGateway dag = EODataAccessGateway() dag.set_preferred_provider("peps") search_criteria = { 'start': '2021-03-01', 'e...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 96807bc8..df74276a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -44,7 +44,13 @@ from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.rest import server as eodag_http_server from eodag.rest.utils impor...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num...
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::T...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-249
84aac9405cd346a366e7499d043e1e6959a66f30
2021-04-21 09:39:18
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/plugins/download/base.py b/eodag/plugins/download/base.py index bfcb8ac1..46632f7d 100644 --- a/eodag/plugins/download/base.py +++ b/eodag/plugins/download/base.py @@ -199,7 +199,7 @@ class Download(PluginTopic): """ extract = kwargs.pop("extract", None) extract = ( - ...
Default behaviour for extracting products I've just used `eodag-sentinelsat` and was surprised to see I had to set the `extract` parameter to a value (True or False). Before that, I never set this value and it seems to me that products were always extracted. Currently in providers.yml: * usgs: true * aws_eos: (irr...
CS-SI/eodag
diff --git a/tests/units/test_eoproduct.py b/tests/units/test_eoproduct.py index 0faf7704..29da9d2c 100644 --- a/tests/units/test_eoproduct.py +++ b/tests/units/test_eoproduct.py @@ -283,29 +283,36 @@ class TestEOProduct(EODagTestCase): downloader = HTTPDownload(provider=self.provider, config=dl_config) ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 2 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd": ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_default" ]
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_search_intersection_none" ]
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_default_driver_unsupported_product_type", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_dynamic_options", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_extract", "tests/units/test_eoproduc...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-249
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-249
CS-SI__eodag-253
0632e4147f26119bea43e0672f6d06e75d216a20
2021-04-21 15:44:30
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6efceb2a..556d03c9 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -47,6 +47,7 @@ from eodag.utils import ( _deprecated, get_geometry_from_various, makedirs, + uri_to_path, ) from eodag.utils.exceptions import ( NoMatchingProduc...
download_all removes the products contained by the passed SearchResult The items of a `SearchResult` (it could also just be a list of `EOProduct`) passed to `download_all` can get cleared by the method. I observed this behaviour with downloading products from *peps*. If it is the intended behaviour, it should be well d...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 96807bc8..df74276a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -44,7 +44,13 @@ from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.rest import server as eodag_http_server from eodag.rest.utils impor...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 10 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::T...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-254
0632e4147f26119bea43e0672f6d06e75d216a20
2021-04-21 15:53:45
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6efceb2a..556d03c9 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -47,6 +47,7 @@ from eodag.utils import ( _deprecated, get_geometry_from_various, makedirs, + uri_to_path, ) from eodag.utils.exceptions import ( NoMatchingProduc...
Error while downloading a quicklook in a directory where the product has already been downloaded and extracted It might be an edge case but I got caught by this one. ``` Traceback (most recent call last): File "/home/maxime/TRAVAIL/06_EODAG/01_eodag/eodag/snippet_quicklook_peps.py", line 20, in <module> pro...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 96807bc8..df74276a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -44,7 +44,13 @@ from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.rest import server as eodag_http_server from eodag.rest.utils impor...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 10 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "nose-cov", "pandoc", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 cov-core==1.15.0 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::T...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-257
d18287d37a7deb98457d7068402218983150c7f8
2021-04-21 19:45:33
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 25fe07bb..8cd4814c 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -487,9 +487,13 @@ class EODataAccessGateway(object): :param raise_errors: When an error occurs when searching, if this is set to True, the error ...
ISO8601 formatted time fails on some providers Time formatted using ISO8601 (`yyyy-MM-ddThh:mm:ss.SSSZ`) fails for some providers like `sobloo` or `astraea_eod`, when `yyyy-MM-ddThh:mm:ss` is ok. Fix is needed to make both work
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index df74276a..9dcb79e6 100644 --- a/tests/context.py +++ b/tests/context.py @@ -29,6 +29,7 @@ from eodag.api.core import DEFAULT_ITEMS_PER_PAGE, DEFAULT_MAX_ITEMS_PER_PAGE from eodag.api.product import EOProduct from eodag.api.product.drivers import DRIVERS from eod...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files...
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y make pandoc" ], "python": "3.9", "r...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_datetime_to_timestamp_milliseconds", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_to_iso_date", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_to_iso_utc_datetime", "tests/units...
[]
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_to_iso_utc_datetime_from_milliseconds", "tests/units/test_utils.py::TestUtils::test_path_to_uri", "tests/units/test_utils.py::TestUtils::test_uri_to_path" ]
[]
Apache License 2.0
null
null
CS-SI__eodag-260
0632e4147f26119bea43e0672f6d06e75d216a20
2021-04-21 22:16:22
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/api/core.py b/eodag/api/core.py index 6efceb2a..92e4b6f5 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -47,6 +47,7 @@ from eodag.utils import ( _deprecated, get_geometry_from_various, makedirs, + uri_to_path, ) from eodag.utils.exceptions import ( NoMatchingProduc...
providers chaining for search Actually, if a productType is not available for a provider, eodag will use the first matching provider with the highest priority. We can keep this behavior, and add the `search(providers=["theia"])` feature (see also #163 ). - this code will still look for products in the 1st available...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 96807bc8..df74276a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -44,7 +44,13 @@ from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.rest import server as eodag_http_server from eodag.rest.utils impor...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, ...
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_cli.py::TestCore::test_core_object_locations_file_not_found", "tests/test_cli.py::TestCore::test_core_object_open_index_if_exists", "tests/test_cli.py::TestCore::test_core_object_set_default_locations_config", "tests/test_cli.py::TestCore::test_list_product_types_for_provider_ok", "tests/test_cl...
[ "tests/test_cli.py::TestEodagCli::test_eodag_search_bbox_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_geom_wkt_invalid", "tests/test_cli.py::TestEodagCli::test_eodag_search_with_cruncher", "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_sobloo", "tests/test_end_to_end.py::T...
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-304
f32b8071ac367db96ff8f9f8709f0771f9d898f2
2021-06-15 16:30:26
f32b8071ac367db96ff8f9f8709f0771f9d898f2
diff --git a/eodag/resources/providers.yml b/eodag/resources/providers.yml index e356dd02..cd96491f 100644 --- a/eodag/resources/providers.yml +++ b/eodag/resources/providers.yml @@ -804,27 +804,6 @@ S2_MSI_L2A: collection: S2ST productType: S2MSI2A - S3_EFR: - productType: OL_1_EFR___ - ...
PEPS no longer supports S3 Attempting to use EODAG to download S3 data of any type from PEPs results in no search results returned as PEPS no longer supports S3 data. Confirmed directly by the PEPS help desk on 14.06.2021. "Comme l’indique l’actualité du 15 février sur notre flux RSS (https://peps-mission.cnes.fr/f...
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index 17c4f06f..556277df 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -91,17 +91,17 @@ class TestCore(unittest.TestCase): "astraea_eod", "earth_search", ], - "S3_ERR": ["peps", "onda", "...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
attrs==24.2.0 bleach==6.0.0 boto3==1.33.13 botocore==1.33.13 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.2.7 cryptography==44.0.2 distlib==0.3.9 docutils==0.20.1 -e git+https://git...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libf...
[ "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok" ]
[ "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_geometry_and_locations", "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_only_locations", "tests/units/test_core.py::TestCoreGeometry::test_get_geometry_from_various_only_locations_regex" ]
[ "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests/units/test_core.py::TestCore::test_list_product_types_for_un...
[]
Apache License 2.0
null
null
CS-SI__eodag-367
3963758fc5fda86da4799a26eb64fbc610c444da
2021-11-26 15:47:22
d9f16f411fdf5eb6ad752f984782dd06ed882dc8
diff --git a/docs/_static/params_mapping_extra.csv b/docs/_static/params_mapping_extra.csv index b677c5ad..cf6647c4 100644 --- a/docs/_static/params_mapping_extra.csv +++ b/docs/_static/params_mapping_extra.csv @@ -10,7 +10,7 @@ herbaceousCover,,,:green:`queryable metadata`,,,,,,,,, iceCover,,,:green:`queryable metada...
implement STAC API Query fragment For STAC providers, STAC API Item Search has limited filtering capabilities (`collections`, `ids`, `bbox` / `intersects`, `datetime`). However, it does not contain a formalized way to filter based on arbitrary fields in an Item. For example, there is no way to express the filter *"`...
CS-SI/eodag
diff --git a/tests/units/test_metadata_mapping.py b/tests/units/test_metadata_mapping.py index e510ed38..fc19611f 100644 --- a/tests/units/test_metadata_mapping.py +++ b/tests/units/test_metadata_mapping.py @@ -17,7 +17,7 @@ # limitations under the License. import unittest -from tests.context import format_metadata...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 5 }
2.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "nose-cov", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc make pand...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 cov-core==1.15.0 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_format_stac_extension_parameter" ]
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_to_bounds_lists" ]
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_csv_list", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_datetime_to_timestamp_milliseconds", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_dict_update", "tests/units/test_metad...
[]
Apache License 2.0
null
null
CS-SI__eodag-380
6e6e6890a52ac8ad4d0f989f41a726b35d9cf5d8
2021-12-22 16:01:32
d9f16f411fdf5eb6ad752f984782dd06ed882dc8
diff --git a/eodag/api/core.py b/eodag/api/core.py index 0ce2f7fe..7d5d039b 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -17,6 +17,7 @@ # limitations under the License. import logging import os +import re import shutil from operator import itemgetter @@ -1055,6 +1056,31 @@ class EODataAccessGateway(...
prevent mixed results between earth_search and earth_search_cog See #362 . @GriffinBabe pointed out that if we omit to specify the product type when searching on `earth_search_cog`, we get also results from `earth_search` that cannot be downloaded with the wrong download plugin: ```py from eodag import EODataAcces...
CS-SI/eodag
diff --git a/tests/integration/test_search_stac_static.py b/tests/integration/test_search_stac_static.py index ee3483b0..71a31b4c 100644 --- a/tests/integration/test_search_stac_static.py +++ b/tests/integration/test_search_stac_static.py @@ -83,8 +83,8 @@ class TestSearchStacStatic(unittest.TestCase): self.as...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 1 }
2.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y make pandoc" ], "python": "3.9", "r...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/integration/test_search_stac_static.py::TestSearchStacStatic::test_search_stac_static_load_child", "tests/integration/test_search_stac_static.py::TestSearchStacStatic::test_search_stac_static_load_item" ]
[]
[ "tests/integration/test_search_stac_static.py::TestSearchStacStatic::test_search_stac_static", "tests/integration/test_search_stac_static.py::TestSearchStacStatic::test_search_stac_static_by_cloudcover", "tests/integration/test_search_stac_static.py::TestSearchStacStatic::test_search_stac_static_by_date", "te...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-380
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-380
CS-SI__eodag-381
df05c353836883546e47db4057123ac501e003c6
2021-12-22 16:19:59
d9f16f411fdf5eb6ad752f984782dd06ed882dc8
diff --git a/docs/api_reference/utils.rst b/docs/api_reference/utils.rst index dec68622..315bf26f 100644 --- a/docs/api_reference/utils.rst +++ b/docs/api_reference/utils.rst @@ -10,9 +10,10 @@ Logging .. automodule:: eodag.utils.logging :members: -Progress callback +Callbacks ----------------- +.. autofuncti...
download_all callback **[Original report](https://bitbucket.org/geostorm/eodag/issue/121) by me.** ---------------------------------------- When using download_all, provide the availability to launch a callback when each individual download in finished
CS-SI/eodag
diff --git a/tests/__init__.py b/tests/__init__.py index e2afd291..5cf15b0d 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -16,7 +16,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +import io import os +import pathlib import random import shu...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 0 },...
2.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": [ "apt-get update", "apt-get install -y gcc...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_deserialize_search_results", "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_serialize_search_results", "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_download_all_callb...
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_search_intersection_none" ]
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-405
d9f16f411fdf5eb6ad752f984782dd06ed882dc8
2022-02-22 18:02:30
d9f16f411fdf5eb6ad752f984782dd06ed882dc8
diff --git a/eodag/plugins/download/aws.py b/eodag/plugins/download/aws.py index 3202c76a..fe7d3573 100644 --- a/eodag/plugins/download/aws.py +++ b/eodag/plugins/download/aws.py @@ -253,11 +253,17 @@ class AwsDownload(Download): bucket_names_and_prefixes = [self.get_bucket_name_and_prefix(product)] ...
finalize_s2_safe_product: Fails when missing manifest.safe When downloading some products on `earth_search`, I have a problem when converting the product format to `.SAFE`: ![2022-02-22_14h47_27](https://user-images.githubusercontent.com/67311115/155145249-38c42542-b9bd-4888-9573-2f7d1cc24c6d.png) ![2022-02-22_14h48_...
CS-SI/eodag
diff --git a/tests/units/test_search_plugins.py b/tests/units/test_search_plugins.py index 405451a8..47ced2e6 100644 --- a/tests/units/test_search_plugins.py +++ b/tests/units/test_search_plugins.py @@ -297,3 +297,50 @@ class TestSearchPluginODataV4Search(BaseSearchPluginTest): self.assertEqual(estimate, self....
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_f...
2.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": [ "apt-get update", "apt-get i...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 -e git+https://github.com/CS-SI/...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_search_plugins.py::TestSearchPluginStacSearch::test_plugins_search_stacsearch_mapping_earthsearch" ]
[]
[ "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_count_and_search_sobloo", "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_no_count_and_search_sobloo", "tests/units/test_search_plugins.py::Te...
[]
Apache License 2.0
null
null
CS-SI__eodag-458
909354f089a3e08e810a194a10ce54858b26e6f6
2022-05-16 11:32:46
be026c211b2ef28ceb8b13437a8eceaf4245689b
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   11m 23s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") +49s 252 tests ±0  250 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-actio...
diff --git a/docs/api_reference/searchresult.rst b/docs/api_reference/searchresult.rst index cb845cfe..7957cf0b 100644 --- a/docs/api_reference/searchresult.rst +++ b/docs/api_reference/searchresult.rst @@ -22,6 +22,7 @@ Crunch SearchResult.filter_latest_by_name SearchResult.filter_overlap SearchResult.filt...
Avoid trying to order an OFFLINE product From @remi-braun in https://github.com/CS-SI/eodag/issues/214 > Maybe add the LTA order as a parameter, as it is not needed in every usecase (sometimes, sb just want to download everything he can without triggering any LTA retrieval) LTA: Long Term Archive The `HTTPDown...
CS-SI/eodag
diff --git a/tests/units/test_search_result.py b/tests/units/test_search_result.py index 608cd86f..e85e3233 100644 --- a/tests/units/test_search_result.py +++ b/tests/units/test_search_result.py @@ -22,13 +22,34 @@ from collections import UserList import geojson from shapely.geometry.collection import GeometryCollect...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 3 }
2.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 ecmwf-api-client==1.6.5 -e git+h...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_search_result.py::TestSearchResult::test_search_result_filter_online" ]
[]
[ "tests/units/test_search_result.py::TestSearchResult::test_search_result_as_geojson_object", "tests/units/test_search_result.py::TestSearchResult::test_search_result_as_shapely_geometry_object", "tests/units/test_search_result.py::TestSearchResult::test_search_result_as_wkt_object", "tests/units/test_search_r...
[]
Apache License 2.0
null
null
CS-SI__eodag-480
54a51822ae350e54d2b7d353db377b6ff2886518
2022-07-05 13:23:09
158fac82232af978700e8f829bd5b7e227774a4c
github-actions[bot]: <strong> </strong> | File | Coverage | | | - | :-: | :-: | | **All files** | `80%` | :white_check_mark: | <strong> </strong> | File | Coverage | | | - | :-: | :-: | | **All files** | `79%` | :white_check_mark: | _Minimum allowed coverage is `70%`_ <p align="right">Generated by :monkey: cob...
diff --git a/CHANGES.rst b/CHANGES.rst index 964bb480..5762d991 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Release history --------------- +2.5.2 (2022-07-05) +++++++++++++++++++ + +* Fixes missing ``productPath`` property for some ``earth_search`` products (:pull:`480`) + 2.5.1 (2022-06-27) ++++...
Earth Search: Missing ProductPath in some downloaded product Bug linked to #423. Sorry to reopen again this issue, but I have encountered new products where it fails 😅 I am recreating a new issue to be more precise. **Describe the bug** Some products are missing a ProductPath in their properties, leading to f...
CS-SI/eodag
diff --git a/tests/units/test_search_plugins.py b/tests/units/test_search_plugins.py index 636c92e3..f8e0f7d7 100644 --- a/tests/units/test_search_plugins.py +++ b/tests/units/test_search_plugins.py @@ -327,6 +327,13 @@ class TestSearchPluginStacSearch(BaseSearchPluginTest): "sentinel:produ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score...
2.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tutorials]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get upd...
affine==2.4.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bleach==6.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 branca==0.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_search_plugins.py::TestSearchPluginStacSearch::test_plugins_search_stacsearch_mapping_earthsearch" ]
[]
[ "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_count_and_search_sobloo", "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_no_count_and_search_sobloo", "tests/units/test_search_plugins.py::Te...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-480
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-480
CS-SI__eodag-490
0a782d7f476a993170f7d60c006be09b4cfa2b47
2022-07-26 13:06:01
158fac82232af978700e8f829bd5b7e227774a4c
github-actions[bot]: ## Unit Test Results     1 files   -     1      1 suites   - 1   4m 47s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") - 6m 50s 268 tests +    1  265 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-te...
diff --git a/eodag/api/product/_product.py b/eodag/api/product/_product.py index 683870ba..45162a1f 100644 --- a/eodag/api/product/_product.py +++ b/eodag/api/product/_product.py @@ -282,7 +282,7 @@ class EOProduct(object): # update units as bar may have been previously used for extraction pro...
progress bar and int id If product id is an integer, it makes download progress bar crash: ```py >>> from eodag import EODataAccessGateway ...
CS-SI/eodag
diff --git a/tests/units/test_eoproduct.py b/tests/units/test_eoproduct.py index 7829c168..045edf0d 100644 --- a/tests/units/test_eoproduct.py +++ b/tests/units/test_eoproduct.py @@ -34,6 +34,7 @@ from tests.context import ( EOProduct, HTTPDownload, NoDriver, + ProgressCallback, config, ) from ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
2.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tutorials]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": [ "apt-get update", "apt-get install ...
affine==2.4.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bleach==6.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 branca==0.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_progress_bar" ]
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_default_driver_unsupported_product_type", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_search_intersection_none" ]
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_default", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_delete_archive", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_dynamic_options", "tests/units/test_eoproduct.py::TestE...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-490
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-490
CS-SI__eodag-508
b57fc768c1a08e1e255b8fa44b3785255bc8ca23
2022-09-16 17:00:19
158fac82232af978700e8f829bd5b7e227774a4c
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   7m 14s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") -42s 285 tests +3  282 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action...
diff --git a/eodag/plugins/apis/usgs.py b/eodag/plugins/apis/usgs.py index 5a7162bd..ecf1b113 100644 --- a/eodag/plugins/apis/usgs.py +++ b/eodag/plugins/apis/usgs.py @@ -19,6 +19,7 @@ import copy import logging import shutil import tarfile +import zipfile import requests from jsonpath_ng.ext import parse @@ -35...
Add S2_MSI_L1C productType to the USGS provider When trying to download Sentinel2 images using the USGS provider, the "S2_MSI_L1C" product type is not recognized, even though it is available using the earth explorer website. It would be great to add this one (and more precisely in my case I'd like that because I onl...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index cb294dfd..1428ddf0 100644 --- a/tests/context.py +++ b/tests/context.py @@ -52,7 +52,11 @@ from eodag.plugins.crunch.filter_latest_tpl_name import FilterLatestByName from eodag.plugins.crunch.filter_property import FilterProperty from eodag.plugins.crunch.filter_...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 4 }
2.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 ecmwf-api-client==1.6.5 -e git+h...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_apis_plugins.py::TestApisPluginUsgsApi::test_plugins_apis_usgs_authenticate", "tests/units/test_apis_plugins.py::TestApisPluginUsgsApi::test_plugins_apis_usgs_download", "tests/units/test_apis_plugins.py::TestApisPluginUsgsApi::test_plugins_apis_usgs_query" ]
[]
[ "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_authenticate", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download_all", "tests/units/test_ap...
[]
Apache License 2.0
null
null
CS-SI__eodag-524
58335e728fff5b98bd85b96fead271429773a593
2022-10-11 13:31:50
29c1474e5016cd8158c890ec5210af2062c73a49
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   9m 44s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") +57s 295 tests +2  292 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action...
diff --git a/eodag/plugins/download/aws.py b/eodag/plugins/download/aws.py index e27ffe9c..e5d9d2a9 100644 --- a/eodag/plugins/download/aws.py +++ b/eodag/plugins/download/aws.py @@ -34,7 +34,12 @@ from eodag.api.product.metadata_mapping import ( properties_from_xml, ) from eodag.plugins.download.base import Dow...
Capella Bucket Download issue **Bucket Issue** Hi there, I'm trying to download Capella's Open data from [this stac index]](https://www.stacindex.org/catalogs/capella-space-open-data#/BrVjRL9LGRjg8ipuaKLhdHr1kD4sbvyd8QTYGwbMTTtkR4fzPd4yeiApxyrQkiq/LGziSG3zruu42mUQkBqrXkRPLdBZyfQ9WBqmakLW8v6Q2jtwGXLNgDPJyeVfFR6XkZHa8...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index 1428ddf0..f23c149a 100644 --- a/tests/context.py +++ b/tests/context.py @@ -61,6 +61,7 @@ from eodag.plugins.download.http import HTTPDownload from eodag.plugins.manager import PluginManager from eodag.plugins.search.base import Search from eodag.utils import ( ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_f...
2.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_collision_avoidance", "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_existing", "tests/units/test_download_plugins.py::TestDownloadPluginBase::te...
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-545
837c127b5068fd87a99b875206b95d44e48fdb50
2022-11-03 16:32:25
29c1474e5016cd8158c890ec5210af2062c73a49
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   9m 47s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") + 1m 42s 300 tests +1  297 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-ac...
diff --git a/eodag/api/core.py b/eodag/api/core.py index cd5d696b..a88a3212 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -1708,7 +1708,7 @@ class EODataAccessGateway(object): If the metadata mapping for ``downloadLink`` is set to something that can be interpreted as a link on a l...
accepts all file URI formats EODAG should support `file:/path/to/file` formatting the same way it already supports `file:///path/to/file`. See https://datatracker.ietf.org/doc/html/rfc8089#appendix-B
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index f3514a29..c109a695 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -1498,3 +1498,34 @@ class TestCoreSearch(TestCoreBase): dag.set_preferred_provider("dummy_provider") dag.search_all(productType="S2_MSI_L1C"...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": ...
2.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": [ "apt-get update", "apt-get install -y gcc...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreDownload::test_download_local_product" ]
[]
[ "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests/units/test_core.py::TestCore::test_discover_product_types", ...
[]
Apache License 2.0
null
null
CS-SI__eodag-554
12e3cdc83bb46a2384b2821e28833b0fdb15c799
2022-11-16 10:38:04
29c1474e5016cd8158c890ec5210af2062c73a49
github-actions[bot]: <strong></strong> | File | Coverage | | | - | :-: | :-: | | **All files** | `84%` | :white_check_mark: | | eodag/plugins/search/qssearch.py | `76%` | :white_check_mark: | | tests/units/test\_core.py | `98%` | :white_check_mark: | _Minimum allowed coverage is `70%`_ <p align="right">Generated b...
diff --git a/eodag/plugins/search/qssearch.py b/eodag/plugins/search/qssearch.py index f349b760..a9625b53 100644 --- a/eodag/plugins/search/qssearch.py +++ b/eodag/plugins/search/qssearch.py @@ -597,8 +597,7 @@ class QueryStringSearch(Search): "instance:".format(self.provider, self.__class__.__name...
Connection timeout bug in search API **Describe the bug** No result from provider 'creodias' due to an error during the search. `urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7f0614fa07f0>, 'Connection to finder.creodias.eu timed out. (connect timeout=5)')` Timeout er...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index f23c149a..47f4b0f7 100644 --- a/tests/context.py +++ b/tests/context.py @@ -82,6 +82,7 @@ from eodag.utils.exceptions import ( NoMatchingProductType, NotAvailableError, PluginImplementationError, + RequestError, UnsupportedDatasetAddressSchem...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
2.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tutorials]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-mock" ], "pre_install": [ "apt-get update", "apt-get install -...
affine==2.4.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bleach==6.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 branca==0.8.1 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 char...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreSearch::test_search_all_request_error" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-566
9af685574aa465456bca01f245b830b324db2c5c
2022-12-01 17:01:11
6fee322d19ecc2805f7ab44139b3c555b8cad40f
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   10m 24s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") - 2m 9s 325 tests +1  322 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-ac...
diff --git a/eodag/plugins/download/http.py b/eodag/plugins/download/http.py index 58fe8a89..9b9b66ba 100644 --- a/eodag/plugins/download/http.py +++ b/eodag/plugins/download/http.py @@ -252,6 +252,9 @@ class HTTPDownload(Download): assets_urls = [ a["href"] for a in getattr(product, "assets", {})...
http asset filesize using GET method Following #542, in `HTTPDownload` try getting asset filesize from header while downloading with GET method if the filesize could not be obtained with HEAD method (`total_size == 0`). Implement something like: ```py if total_size == 0: asset_size = parse_header(asset_content_d...
CS-SI/eodag
diff --git a/tests/units/test_download_plugins.py b/tests/units/test_download_plugins.py index d31a976b..f37a1b01 100644 --- a/tests/units/test_download_plugins.py +++ b/tests/units/test_download_plugins.py @@ -239,6 +239,73 @@ class TestDownloadPluginHttp(BaseDownloadPluginTest): ) ) + @mock...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_download_plugins.py::TestDownloadPluginHttp::test_plugins_download_http_assets_size" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_collision_avoidance", "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_existing", "tests/units/test_download_plugins.py::TestDownloadPluginBase::te...
[]
Apache License 2.0
null
null
CS-SI__eodag-576
73e95cb6407329faf860cb775e1dd61838e6a2c4
2022-12-09 16:26:20
6fee322d19ecc2805f7ab44139b3c555b8cad40f
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   9m 54s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") -5s 328 tests +2  325 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action/...
diff --git a/eodag/plugins/download/aws.py b/eodag/plugins/download/aws.py index e5d9d2a9..8c28dcce 100644 --- a/eodag/plugins/download/aws.py +++ b/eodag/plugins/download/aws.py @@ -19,7 +19,6 @@ import logging import os import re -import shutil from pathlib import Path import boto3 @@ -36,6 +35,7 @@ from eodag...
NITF files are not downloaded **Describe the bug** I don't know if its intended, but some STAC catalog have.... .ntf files 🙄, and eodag doesn't download them For example, all [SICD Capella products](https://www.stacindex.org/catalogs/capella-space-open-data#/item/2fCZzY4MUXqhFCKQyCHq5xs9yKEtav6SUMVtn8XotXoG3UL99iGK...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index dd8a54a7..dec2c197 100644 --- a/tests/context.py +++ b/tests/context.py @@ -73,6 +73,7 @@ from eodag.utils import ( parse_qsl, urlsplit, GENERIC_PRODUCT_TYPE, + flatten_top_directories, ) from eodag.utils.exceptions import ( AddressNotFound...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_f...
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_utils.py::TestUtils::test_downloaded_callback", "tests/units/test_utils.py::TestUtils::test_flatten_top_dirs", "tests/units/test_utils.py::TestUtils::test_flatten_top_dirs_given_subdir", "tests/units/test_utils.py::TestUtils::test_get_bucket_name_and_prefix", "tests/units/test_utils.py::Te...
[]
[]
[]
Apache License 2.0
null
null
CS-SI__eodag-586
3465afe00a492e73bfd517f19c409ba21196f85f
2022-12-20 10:39:22
6fee322d19ecc2805f7ab44139b3c555b8cad40f
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   11m 15s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") -17s 331 tests +3  329 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-actio...
diff --git a/eodag/api/product/_product.py b/eodag/api/product/_product.py index 777b3026..a0a3d78c 100644 --- a/eodag/api/product/_product.py +++ b/eodag/api/product/_product.py @@ -221,15 +221,30 @@ class EOProduct(object): """ self.downloader = downloader self.downloader_auth = authenticat...
percent variables parsing error in product location If product location contains some percent variables, it may conflict with `register_downloader()` internal parsing mechanism and raise: ``` Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/eodag/api/core.py", line 1474, in _do_searc...
CS-SI/eodag
diff --git a/tests/units/test_eoproduct.py b/tests/units/test_eoproduct.py index ed716125..81bdd00f 100644 --- a/tests/units/test_eoproduct.py +++ b/tests/units/test_eoproduct.py @@ -453,3 +453,84 @@ class TestEOProduct(EODagTestCase): # progress bar finished self.assertEqual(progress_callback.n, prog...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_register_downloader_resolve_ignored" ]
[]
[ "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_default_driver_unsupported_product_type", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_default", "tests/units/test_eoproduct.py::TestEOProduct::test_eoproduct_download_http_delete_archive", "tests/units/test_eoproduct...
[]
Apache License 2.0
null
null
CS-SI__eodag-588
c91cba779c1913985640b99e2c019c9c000bb4a0
2022-12-20 15:07:48
6fee322d19ecc2805f7ab44139b3c555b8cad40f
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   10m 32s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") - 1m 38s 332 tests +1  329 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-a...
diff --git a/eodag/plugins/authentication/header.py b/eodag/plugins/authentication/header.py index 48d27cf9..0913296d 100644 --- a/eodag/plugins/authentication/header.py +++ b/eodag/plugins/authentication/header.py @@ -22,7 +22,7 @@ from eodag.plugins.authentication import Authentication class HTTPHeaderAuth(Authe...
TokenAuth should raise AuthenticationError In `TokenAuth`, catch `RequestException` the same way as it was done for https://github.com/CS-SI/eodag/pull/555 and redirect to an `AuthenticationError`
CS-SI/eodag
diff --git a/tests/units/test_auth_plugins.py b/tests/units/test_auth_plugins.py index a1ad599b..60c093b1 100644 --- a/tests/units/test_auth_plugins.py +++ b/tests/units/test_auth_plugins.py @@ -20,9 +20,10 @@ import unittest from unittest import mock from requests.auth import AuthBase +from requests.exceptions imp...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": ...
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[tutorials]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": null, "python": "3.9", "reqs...
affine==2.4.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bleach==6.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 branca==0.8.1 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 char...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_request_error" ]
[]
[ "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_json_token_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_text_token_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokena...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-588
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-588
CS-SI__eodag-592
870580e4565e533838a1b3c1b2acd2edd335de11
2022-12-22 15:41:21
6fee322d19ecc2805f7ab44139b3c555b8cad40f
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   11m 46s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") + 2m 0s 333 tests +1  330 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-ac...
diff --git a/eodag/api/product/metadata_mapping.py b/eodag/api/product/metadata_mapping.py index e449a643..3f014290 100644 --- a/eodag/api/product/metadata_mapping.py +++ b/eodag/api/product/metadata_mapping.py @@ -302,7 +302,10 @@ def format_metadata(search_param, *args, **kwargs): @staticmethod de...
Add keywords to discovered product types Automatically add default keywords to discovered product types to help finding them using [guess_product_type()](https://eodag.readthedocs.io/en/stable/api_reference/core.html#eodag.api.core.EODataAccessGateway.guess_product_type). See also [Guess a product type documentation]...
CS-SI/eodag
diff --git a/tests/units/test_search_plugins.py b/tests/units/test_search_plugins.py index ca6c2456..b25b7ea7 100644 --- a/tests/units/test_search_plugins.py +++ b/tests/units/test_search_plugins.py @@ -187,6 +187,50 @@ class TestSearchPluginQueryStringSearch(BaseSearchPluginTest): "The FOO collection", ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 },...
2.7
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_discover_product_types_keywords" ]
[]
[ "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_count_and_search_sobloo", "tests/units/test_search_plugins.py::TestSearchPluginQueryStringSearch::test_plugins_search_querystringseach_discover_product_types", "tests/units/test_search_plugins.py::TestSe...
[]
Apache License 2.0
null
null
CS-SI__eodag-616
4a0d68987de913040e0ba16f9fe1d00cd10fe6e5
2023-01-24 16:32:13
216edc2a7e22676ecfcbc77b71795fc319cb3dc4
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   14m 36s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") + 2m 4s 350 tests ±0  347 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-ac...
diff --git a/docs/_static/params_mapping_opensearch.csv b/docs/_static/params_mapping_opensearch.csv index 3e98c49f..053fe5dc 100644 --- a/docs/_static/params_mapping_opensearch.csv +++ b/docs/_static/params_mapping_opensearch.csv @@ -8,7 +8,7 @@ antennaLookDirection,,,,,,,,,metadata only,,,,metadata only, archivingCe...
onda search optimize with expand=Metadata Avoid per-product metadata query using https://catalogue.onda-dias.eu/dias-catalogue/Products?$expand=Metadata link documented in https://www.onda-dias.eu/cms/knowledge-base/odata-querying-products-showing-all-metadata-together-with-their-properties/. Use a new `ODataV4Sea...
CS-SI/eodag
diff --git a/tests/context.py b/tests/context.py index dec2c197..2ca8dd32 100644 --- a/tests/context.py +++ b/tests/context.py @@ -33,6 +33,8 @@ from eodag.api.product.metadata_mapping import ( format_metadata, OFFLINE_STATUS, ONLINE_STATUS, + properties_from_json, + NOT_AVAILABLE, ) from eodag.a...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_score": 2, "test_score": 1 },...
2.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": [ "apt-get update", "apt-get i...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_properties_from_json_discovery_config", "tests/units/test_search_plugins.py::TestSearchPluginODataV4Search::test_plugins_search_odatav4search_count_and_search_onda" ]
[]
[ "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_csv_list", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_datetime_to_timestamp_milliseconds", "tests/units/test_metadata_mapping.py::TestMetadataFormatter::test_convert_dict_update", "tests/units/test_metad...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-616
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-616
CS-SI__eodag-634
69d24e856d04abbf44a81786b67cc26e98d43ee5
2023-02-07 15:52:38
216edc2a7e22676ecfcbc77b71795fc319cb3dc4
github-actions[bot]: ## Unit Test Results     2 files  ±0      2 suites  ±0   4m 22s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") - 1m 53s 356 tests +1  353 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-ac...
diff --git a/eodag/utils/__init__.py b/eodag/utils/__init__.py index 35841aaf..d968c733 100644 --- a/eodag/utils/__init__.py +++ b/eodag/utils/__init__.py @@ -1148,6 +1148,9 @@ def flatten_top_directories(nested_dir_root, common_subdirs_path=None): subpaths_list = [p for p in Path(nested_dir_root).glob("**/*")...
flatten_top_directories on single file The following error is raised when trying to use `flatten_top_directories()` on a directory containing a single file or when downloading a product having a single asset and the download plugin configured with `flatten_top_dirs: true`: ``` Traceback (most recent call last): Fi...
CS-SI/eodag
diff --git a/tests/units/test_download_plugins.py b/tests/units/test_download_plugins.py index b3514aec..e15a565b 100644 --- a/tests/units/test_download_plugins.py +++ b/tests/units/test_download_plugins.py @@ -487,7 +487,7 @@ class TestDownloadPluginHttpRetry(BaseDownloadPluginTest): self.plugin.downl...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
2.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock" ], "pre_install": [ "apt-get update", "apt...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_utils.py::TestUtils::test_flatten_top_dirs_single_file" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_collision_avoidance", "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_existing", "tests/units/test_download_plugins.py::TestDownloadPluginBase::te...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-634
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-634
CS-SI__eodag-645
216edc2a7e22676ecfcbc77b71795fc319cb3dc4
2023-02-15 14:33:03
216edc2a7e22676ecfcbc77b71795fc319cb3dc4
github-actions[bot]: ## Unit Test Results     2 files  ±    0      2 suites  ±0   2m 2s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") - 3m 37s 247 tests  - 112  244 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-re...
diff --git a/eodag/plugins/authentication/token.py b/eodag/plugins/authentication/token.py index 9419f85c..75151f22 100644 --- a/eodag/plugins/authentication/token.py +++ b/eodag/plugins/authentication/token.py @@ -36,6 +36,11 @@ class TokenAuth(Authentication): self.config.auth_uri = self.config.auth_uri....
404 error when trying to download mundi OFFLINE product ```py from eodag import EODataAccessGateway dag = EODataAccessGateway() prods, _ = dag.search(productType="S2_MSI_L1C", start="2019-01-01", end="2019-02-01") print("storageStatus: %s" % prods[0].properties["storageStatus"]) dag.download(prods[0]) ``` output...
CS-SI/eodag
diff --git a/tests/units/test_auth_plugins.py b/tests/units/test_auth_plugins.py index 99ec9a81..569e916a 100644 --- a/tests/units/test_auth_plugins.py +++ b/tests/units/test_auth_plugins.py @@ -73,6 +73,7 @@ class TestAuthPluginTokenAuth(BaseAuthPluginTest): "headers": { ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, ...
2.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
attrs==25.3.0 backports.tarfile==1.2.0 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 docutils==0.21.2 ecmw...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_text_token_authenticate", "tests/units/test_download_plugins.py::TestDownloadPluginHttp::test_plugins_download_http_order_status_search_again", "tests/units/test_download_plugins.py::TestDownloadPluginS3Rest::test_plugins_do...
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_json_token_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_request_error", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_valida...
[]
Apache License 2.0
null
null
CS-SI__eodag-749
50d6e60396cff60f6373ab64af5a0229a77e6906
2023-06-27 13:06:12
856121900f6d973eca9d2ad3c0de61bbd706ae2c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   4m 38s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.8.0/README.md#the-symbols "duration of all tests") +32s    388 tests ±0     386 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-resul...
diff --git a/.gitignore b/.gitignore index 6c8d9419..0e6aad37 100644 --- a/.gitignore +++ b/.gitignore @@ -116,3 +116,6 @@ ext_product_types.json .project .pydevproject .settings/ + +# Helm chart dependencies +charts/**/*.tgz diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb0201ac..54e5e823 100...
Invalid keyword `step` in download requests for CAMS_EAC4 with cop_ads While trying to download the product type `CAMS_EAC4` with the provider `cop_ads`, the download request fails with an `Invalid key name` error for the key `step`.
CS-SI/eodag
diff --git a/tests/units/test_apis_plugins.py b/tests/units/test_apis_plugins.py index 8c4c6d3c..496db0ce 100644 --- a/tests/units/test_apis_plugins.py +++ b/tests/units/test_apis_plugins.py @@ -640,7 +640,6 @@ class TestApisPluginCdsApi(BaseApisPluginTest): "stream": "oper", "class": "mc", ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }...
2.10
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": null, "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --no-header...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_http_server.py::RequestTestCase::test_download_item_from_collection_api_plugin" ]
[]
[ "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_authenticate", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download", "tests/units/test_apis_plugins.py::TestApisPluginEcmwfApi::test_plugins_apis_ecmwf_download_all", "tests/units/test_ap...
[]
Apache License 2.0
null
null
CS-SI__eodag-751
92a537f7811a06f336712de6b8c07a9b80cf6de6
2023-06-27 16:20:06
856121900f6d973eca9d2ad3c0de61bbd706ae2c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   4m 0s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.8.0/README.md#the-symbols "duration of all tests") -6s    388 tests ±0     386 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-...
diff --git a/eodag/rest/utils.py b/eodag/rest/utils.py index de5d168a..e9955275 100644 --- a/eodag/rest/utils.py +++ b/eodag/rest/utils.py @@ -589,8 +589,6 @@ def download_stac_item_by_id(catalogs, item_id, provider=None): product = search_product_by_id(item_id, product_type=catalogs[0])[0] - eodag_api.prov...
Impossible to download data with providers using api plugin in REST mode In REST mode, when a provider does not get the download plugin, data download fails with the following error : `AttributeError: 'ProviderConfig' object has no attribute 'download'`
CS-SI/eodag
diff --git a/tests/units/test_http_server.py b/tests/units/test_http_server.py index 72f97057..f302ef06 100644 --- a/tests/units/test_http_server.py +++ b/tests/units/test_http_server.py @@ -627,7 +627,7 @@ class RequestTestCase(unittest.TestCase): "eodag.rest.utils.eodag_api.download", autospec=True,...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 1 }
2.10
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": null, "python": "3.9", "reqs_path"...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_http_server.py::RequestTestCase::test_download_item_from_collection_api_plugin" ]
[]
[ "tests/units/test_http_server.py::RequestTestCase::test_auth_error", "tests/units/test_http_server.py::RequestTestCase::test_catalog_browse", "tests/units/test_http_server.py::RequestTestCase::test_cloud_cover_post_search", "tests/units/test_http_server.py::RequestTestCase::test_collection", "tests/units/te...
[]
Apache License 2.0
null
null
CS-SI__eodag-756
c38d36ec0be2c490d04060030c10726ecf327972
2023-07-04 12:56:02
856121900f6d973eca9d2ad3c0de61bbd706ae2c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   4m 12s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.8.0/README.md#the-symbols "duration of all tests") +5s    388 tests ±0     386 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result...
diff --git a/docker/stac-server.dockerfile b/docker/stac-server.dockerfile index 543e1ea8..f7fb4b6c 100644 --- a/docker/stac-server.dockerfile +++ b/docker/stac-server.dockerfile @@ -65,7 +65,7 @@ RUN chmod +x /eodag/run-stac-server.sh # add user RUN addgroup --system user \ - && adduser --system --group user + ...
better document how to guess a product type see https://github.com/CS-SI/eodag/issues/242#issuecomment-877068032 - [x] Add more examples showing how to guess the product type in https://eodag.readthedocs.io/en/latest/notebooks/api_user_guide/4_search.html#Guess-a-product-type - [x] Link the `guess_product_type()` met...
CS-SI/eodag
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index d86f2cd2..2793adb1 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -423,6 +423,9 @@ class TestEODagEndToEnd(EndToEndBase): def test_end_to_end_search_download_creodias(self): product = self.execute_search(*CRE...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": -1, "issue_text_score": 1, "test_score": -1 }, "n...
2.10
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "p...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate_header", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAu...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_astraea_eod", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndT...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search_cog", "tests/tes...
[]
Apache License 2.0
null
null
CS-SI__eodag-757
c38d36ec0be2c490d04060030c10726ecf327972
2023-07-06 13:19:07
856121900f6d973eca9d2ad3c0de61bbd706ae2c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   4m 33s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.8.0/README.md#the-symbols "duration of all tests") +26s    388 tests ±0     386 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-resul...
diff --git a/docker/stac-server.dockerfile b/docker/stac-server.dockerfile index 543e1ea8..f7fb4b6c 100644 --- a/docker/stac-server.dockerfile +++ b/docker/stac-server.dockerfile @@ -65,7 +65,7 @@ RUN chmod +x /eodag/run-stac-server.sh # add user RUN addgroup --system user \ - && adduser --system --group user + ...
downloadLink usage for STAC providers Implement a way to use `downloadLink` if specified, to dowload a product coming from a STAC provider - [ ] remove or set `downloadLink` to `None` by default on STAC providers - [ ] if `downloadLink` exists, first try using it before downloading all assets `ignore_assets` can...
CS-SI/eodag
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index d86f2cd2..2793adb1 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -423,6 +423,9 @@ class TestEODagEndToEnd(EndToEndBase): def test_end_to_end_search_download_creodias(self): product = self.execute_search(*CRE...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 10 }
2.10
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "sphinx", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9"...
alabaster==0.7.16 annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 babel==2.17.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate_header", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAu...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_astraea_eod", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndT...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search_cog", "tests/tes...
[]
Apache License 2.0
null
null
CS-SI__eodag-763
c38d36ec0be2c490d04060030c10726ecf327972
2023-07-13 16:08:46
856121900f6d973eca9d2ad3c0de61bbd706ae2c
github-actions[bot]: ## Test Results     1 files   -        3      1 suites   - 3   1m 10s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.8.0/README.md#the-symbols "duration of all tests") - 3m 10s 392 tests +       4  107 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-...
diff --git a/docs/getting_started_guide/configure.rst b/docs/getting_started_guide/configure.rst index 7c2b22ad..2193594a 100644 --- a/docs/getting_started_guide/configure.rst +++ b/docs/getting_started_guide/configure.rst @@ -246,3 +246,62 @@ Or with the CLI: -p S2_MSI_L1C \ --storage...
[URGENT] Unable to download products from CreoDIAS due to authentification change **Describe the bug** When searching for Sentinel-1 GRD products with CreoDIAS as a provider, the `download` command returns an error. It seems than CreoDIAS has recently updated their website (see new website "[CreoDIAS 2.0](https://c...
CS-SI/eodag
diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index d86f2cd2..2793adb1 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -423,6 +423,9 @@ class TestEODagEndToEnd(EndToEndBase): def test_end_to_end_search_download_creodias(self): product = self.execute_search(*CRE...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num...
2.10
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "sphinx", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9"...
alabaster==0.7.16 annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 babel==2.17.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAuth::test_plugins_auth_keycloak_authenticate_header", "tests/units/test_auth_plugins.py::TestAuthPluginKeycloakOIDCPasswordAu...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test__search_by_id_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_astraea_eod", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_search_all_astraea_eod_iterate", "tests/test_end_to_end.py::TestEODagEndT...
[ "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_creodias", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search", "tests/test_end_to_end.py::TestEODagEndToEnd::test_end_to_end_discover_product_types_earth_search_cog", "tests/tes...
[]
Apache License 2.0
null
null
CS-SI__eodag-790
9acf017451f71c5488011f3add086a9936cfffc8
2023-08-22 14:16:26
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   5m 6s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.9.0/README.md#the-symbols "duration of all tests") -40s    402 tests +1     400 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result...
diff --git a/eodag/api/core.py b/eodag/api/core.py index 0d589122..9b394f4a 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -832,6 +832,7 @@ class EODataAccessGateway(object): end=None, geom=None, locations=None, + provider=None, **kwargs, ): """Look fo...
[eodag-server] setting provider parameter in a request, default this provider as preferred for future requests **Describe the bug** A clear and concise description of what the bug is. You first request a product type from a specific provider to EODAG Server. This provider is set as the preferred one for all future...
CS-SI/eodag
diff --git a/tests/integration/test_core_search_results.py b/tests/integration/test_core_search_results.py index 8d94a465..1fff5fe7 100644 --- a/tests/integration/test_core_search_results.py +++ b/tests/integration/test_core_search_results.py @@ -264,3 +264,23 @@ class TestCoreSearchResults(EODagTestCase): for...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num...
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "tox" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", ...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_search_with_provider", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_json_token_authenticate", "tests/units/test_auth_plugins.py::TestAuthPluginTokenAuth::test_plugins_auth_tokenauth_text_t...
[ "tests/units/test_stac_utils.py::TestStacUtils::test_get_arguments_query_paths", "tests/units/test_stac_utils.py::TestStacUtils::test_get_metadata_query_paths" ]
[ "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_deserialize_search_results", "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_search_results_registered", "tests/integration/test_core_search_results.py::TestCoreSearchResults::test_core_serialize_se...
[]
Apache License 2.0
null
null
CS-SI__eodag-795
2eb52b8300e3859712c74412a97d15181865ce97
2023-08-25 08:21:36
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results     2 files   -     2      2 suites   - 2   2m 28s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.9.0/README.md#the-symbols "duration of all tests") - 3m 1s 406 tests +    3  348 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-re...
diff --git a/eodag/rest/server.py b/eodag/rest/server.py index 57cc4381..541da3a8 100755 --- a/eodag/rest/server.py +++ b/eodag/rest/server.py @@ -18,11 +18,12 @@ import io import logging import os +import re import traceback from contextlib import asynccontextmanager from distutils import dist from json.decoder...
server mode queryables Add queryables, available through `/queryables` and `/collections/<PRODUCT_TYPE>/queryables`. See https://github.com/radiantearth/stac-api-spec/blob/master/fragments/filter/README.md#queryables for documentation and https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a...
CS-SI/eodag
diff --git a/tests/units/test_http_server.py b/tests/units/test_http_server.py index 9a144cd8..8cfe0926 100644 --- a/tests/units/test_http_server.py +++ b/tests/units/test_http_server.py @@ -760,3 +760,18 @@ class RequestTestCase(unittest.TestCase): response = self._request_valid("/extensions/oseo/json-schema/...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 },...
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "p...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_http_server.py::RequestTestCase::test_product_type_queryables", "tests/units/test_http_server.py::RequestTestCase::test_product_type_queryables_with_provider", "tests/units/test_http_server.py::RequestTestCase::test_queryables" ]
[]
[ "tests/units/test_http_server.py::RequestTestCase::test_auth_error", "tests/units/test_http_server.py::RequestTestCase::test_catalog_browse", "tests/units/test_http_server.py::RequestTestCase::test_cloud_cover_post_search", "tests/units/test_http_server.py::RequestTestCase::test_collection", "tests/units/te...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-795
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-795
CS-SI__eodag-802
4b1397bfdc79b0b9be0be3fc825df40949f4acae
2023-08-29 15:56:05
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: <strong>Code Coverage (Ubuntu)</strong> | File | Coverage | | | - | :-: | :-: | | **All files** | `81%` | :white_check_mark: | _Minimum allowed coverage is `70%`_ <p align="right">Generated by :monkey: cobertura-action against d8bb641da73773eea32741184e436b891d47b210 </p> github-actions[bot]: ...
diff --git a/eodag/api/core.py b/eodag/api/core.py index 9b394f4a..bff4f2cc 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -20,6 +20,7 @@ import os import re import shutil from operator import itemgetter +from typing import List import geojson import pkg_resources @@ -45,6 +46,7 @@ from eodag.config i...
prevent authentication during search preparation Following https://github.com/CS-SI/eodag/pull/753, authentication is performed for all providers needing auth for search in `_prepare_search()`. Only auth plugin should be passed as argument, and authentication should be performed before search for the given provider.
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index c3b4347e..03323865 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -1188,12 +1188,12 @@ class TestCoreSearch(TestCoreBase): ) def test__prepare_search_no_parameters(self, mock_fetch_product_types_list): """...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": ...
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 distlib==0.3.9 ...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreSearch::test__prepare_search_dates", "tests/units/test_core.py::TestCoreSearch::test__prepare_search_geom", "tests/units/test_core.py::TestCoreSearch::test__prepare_search_locations", "tests/units/test_core.py::TestCoreSearch::test__prepare_search_no_parameters", "tests/un...
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-836
db336ebe9e3359bc3549e546948ef59c54b632ae
2023-09-19 13:47:39
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: <strong>Code Coverage (Ubuntu)</strong> | File | Coverage | | | - | :-: | :-: | | **All files** | `82%` | :white_check_mark: | _Minimum allowed coverage is `70%`_ <p align="right">Generated by :monkey: cobertura-action against df350c69e0a7099fc741626e47753f892b4301bc </p> github-actions[bot]: ...
diff --git a/docs/getting_started_guide/configure.rst b/docs/getting_started_guide/configure.rst index c7814106..ac0559c5 100644 --- a/docs/getting_started_guide/configure.rst +++ b/docs/getting_started_guide/configure.rst @@ -20,10 +20,10 @@ for products in a provider's catalog, how to download products, etc. However,...
configure providers.yml path Implement a way to configure where `providers.yml` is located. - through a environment variable
CS-SI/eodag
diff --git a/tests/resources/file_providers_override.yml b/tests/resources/file_providers_override.yml new file mode 100644 index 00000000..fd3fea75 --- /dev/null +++ b/tests/resources/file_providers_override.yml @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Copyright 2023, CS GROUP - France, https://www.csgroup.eu/ +# ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files...
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": null, "python": "3.9",...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreConfWithEnvVar::test_core_object_prioritize_providers_file_in_envvar" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-882
177d77120e1c5bda5c84af638bdaa49a07edf5f4
2023-10-13 09:00:08
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results     1 files   -        3      1 suites   - 3   1m 20s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.11.0/README.md#the-symbols "duration of all tests") - 4m 52s 431 tests ±       0  425 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit...
diff --git a/docs/notebooks/tutos/tuto_cop_dem.ipynb b/docs/notebooks/tutos/tuto_cop_dem.ipynb index 6fd63b31..05f6d515 100644 --- a/docs/notebooks/tutos/tuto_cop_dem.ipynb +++ b/docs/notebooks/tutos/tuto_cop_dem.ipynb @@ -16,14 +16,7 @@ "outputs": [], "source": [ "import os\n", - "import boto3\n", - ...
Support COP-DEM (30 / 90m) retrieval from creodias **Is your feature request related to a problem? Please describe.** Creodias provides the COP DEM at 30 m and 90m on the finder: https://finder.creodias.eu/resto/api/collections/CopDem/search.json?maxRecords=10&resolution=30&geometry=POLYGON((1.2779813430646272+43.6...
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index 430eb40c..421d2236 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -92,17 +92,50 @@ class TestCore(TestCoreBase): "CBERS4_PAN10M_L4": ["aws_eos"], "CBERS4_PAN5M_L2": ["aws_eos"], "CBERS4_PAN5M_L4": ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 4 }
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd": ...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok", "tests/units/test_core.py::TestCoreSearch::test_guess_product_type_with_kwargs" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-918
4286d132c8500c968a82445c2e3509216c4a1e65
2023-11-13 13:50:05
0a6208a6e306461fca3f66c1653a41ffda54dfb6
github-actions[bot]: ## Test Results     3 files  +    1      3 suites  +1   3m 12s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.11.0/README.md#the-symbols "duration of all tests") + 1m 9s 431 tests +    1  427 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-resul...
diff --git a/eodag/plugins/download/http.py b/eodag/plugins/download/http.py index 140f1e12..c1b03a36 100644 --- a/eodag/plugins/download/http.py +++ b/eodag/plugins/download/http.py @@ -130,7 +130,7 @@ class HTTPDownload(Download): product: EOProduct, auth: Optional[AuthBase] = None, **kwarg...
staging status in server mode download When downloading an OFFLINE product in server mode, use min values for `wait` and `time` and return a 202 status until product is available
CS-SI/eodag
diff --git a/tests/__init__.py b/tests/__init__.py index 2bd14e8a..59ce5692 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -335,6 +335,7 @@ class EODagTestCase(unittest.TestCase): response.__zip_buffer = io.BytesIO(fh.read()) cl = response.__zip_buffer.getbuffer().nbytes...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 1 }, "num_modified_files...
2.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
annotated-types==0.7.0 anyio==4.9.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.3 boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 cachetools==5.5.2 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptograp...
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_http_server.py::RequestTestCase::test_download_offline_item_from_catalog" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_dir_permission" ]
[ "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_collision_avoidance", "tests/units/test_download_plugins.py::TestDownloadPluginBase::test_plugins_download_base_prepare_download_existing", "tests/units/test_download_plugins.py::TestDownloadPluginBase::te...
[]
Apache License 2.0
null
null
CS-SI__eodag-927
72e7a48eba23f7debb89903f31d67555b53fcbce
2023-11-16 13:22:12
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   3m 32s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.11.0/README.md#the-symbols "duration of all tests") -1s    431 tests +1     428 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-resul...
diff --git a/docs/_static/product_types_information.csv b/docs/_static/product_types_information.csv index 21b10020..61464555 100644 --- a/docs/_static/product_types_information.csv +++ b/docs/_static/product_types_information.csv @@ -28,10 +28,10 @@ CLMS_GLO_GDMP_333M,"Gross dry matter Productivity (GDMP) is an indica...
EODataAccessGateway constructor fails on AWS Lambda **Describe the bug** `makedirs` [invocation](https://github.com/CS-SI/eodag/blob/develop/eodag/api/core.py#L98) within the EODataAccessGateway constructor causes `OSError: [Errno 30] Read-only file system` when run on AWS Lambda **Code To Reproduce** CLI comman...
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index f5f118c4..46fc1bed 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -22,6 +22,7 @@ import json import logging import os import shutil +import tempfile import unittest import uuid from pathlib import Path @@ -1178,6 +1179...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 3 }
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], ...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCoreInvolvingConfDir::test_read_only_home_dir" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-961
0dcc36d255600669d69fd757f7af6d20e5a4faf1
2023-12-13 13:17:57
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results     2 files   - 1      2 suites   - 1   1m 30s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.11.0/README.md#the-symbols "duration of all tests") -1s 440 tests ±0  436 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action...
diff --git a/eodag/rest/stac.py b/eodag/rest/stac.py index 4114e3c5..8f84ddea 100644 --- a/eodag/rest/stac.py +++ b/eodag/rest/stac.py @@ -275,20 +275,28 @@ class StacItem(StacCommon): "href" ] = f"{without_arg_url}?{urlencode(query_dict, doseq=True)}" - # add origin a...
eodag-authenticated and origin raw assets both available in server mode In server mode, once #721 is done, make available both eodag-authenticated and origin raw assets using https://github.com/stac-extensions/alternate-assets: ```json { "features": [ { "id": "some-product", "assets": { "B01":...
CS-SI/eodag
diff --git a/tests/units/test_stac_utils.py b/tests/units/test_stac_utils.py index 6b3fd0f1..7e03f4ab 100644 --- a/tests/units/test_stac_utils.py +++ b/tests/units/test_stac_utils.py @@ -453,10 +453,16 @@ class TestStacUtils(unittest.TestCase): "assets" ].items(): self.assertIn(k, res...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_issue_reference" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 3, "test_score": 0 }, "num_modified_files": 1 }
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "tox" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", ...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_stac_utils.py::TestStacUtils::test_search_stac_items_with_stac_providers" ]
[]
[ "tests/units/test_stac_utils.py::TestStacUtils::test_detailled_collections_list", "tests/units/test_stac_utils.py::TestStacUtils::test_filter_products", "tests/units/test_stac_utils.py::TestStacUtils::test_filter_products_filter_misuse_raise_error", "tests/units/test_stac_utils.py::TestStacUtils::test_filter_...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-961
swerebench/sweb.eval.x86_64.cs-si_1776_eodag-961
CS-SI__eodag-969
40fe987ec3a0644e660653a7a330dbaefca9d610
2023-12-20 17:10:27
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results        4 files  ±0         4 suites  ±0   4m 4s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.11.0/README.md#the-symbols "duration of all tests") -1s    441 tests ±0     438 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result...
diff --git a/docs/_static/product_types_information.csv b/docs/_static/product_types_information.csv index a693c35f..9762a9fc 100644 --- a/docs/_static/product_types_information.csv +++ b/docs/_static/product_types_information.csv @@ -79,7 +79,7 @@ S1_SAR_OCN,"Level-2 OCN products include components for Ocean Swell spe...
remove S2_MSI_L2A from peps Remove `S2_MSI_L2A` from the product types available through `peps`
CS-SI/eodag
diff --git a/tests/units/test_core.py b/tests/units/test_core.py index f483ba47..9b186289 100644 --- a/tests/units/test_core.py +++ b/tests/units/test_core.py @@ -214,7 +214,6 @@ class TestCore(TestCoreBase): "creodias", "earth_search", "onda", - "peps", "p...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": null, "python": "3.9", "reqs_path"...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/units/test_core.py::TestCore::test_list_product_types_for_provider_ok" ]
[]
[ "tests/units/test_core.py::TestCore::test_build_index_ko", "tests/units/test_core.py::TestCore::test_core_object_locations_file_not_found", "tests/units/test_core.py::TestCore::test_core_object_open_index_if_exists", "tests/units/test_core.py::TestCore::test_core_object_set_default_locations_config", "tests...
[]
Apache License 2.0
null
null
CS-SI__eodag-987
fe2a51497fa806f856e9bbb4e3911e7c78dad17e
2024-01-12 19:03:03
49209ff081784ca7d31121899ce1eb8eda7d294c
github-actions[bot]: ## Test Results   1 files   -     3  1 suites   - 3   18s :stopwatch: - 3m 52s  36 tests  -   412  0 :white_check_mark:  -   445  0 :zzz:  -  3  0 :x: ±0   36 :fire: + 36  165 runs   - 1 627  0 :white_check_mark:  - 1 714  0 :zzz:  - 78  0 :x: ±0  165 :fire: +165  For more details on these errors,...
diff --git a/eodag/api/core.py b/eodag/api/core.py index 5bd91ddc..a7a08e78 100644 --- a/eodag/api/core.py +++ b/eodag/api/core.py @@ -83,6 +83,7 @@ from eodag.utils.exceptions import ( from eodag.utils.stac_reader import fetch_stac_items if TYPE_CHECKING: + from pydantic.fields import FieldInfo from shapel...
convert timeout type when loaded from environment variable Following #973, ```py import os from eodag import EODataAccessGateway os.environ["EODAG__HYDROWEB_NEXT__SEARCH__TIMEOUT"] = "10" dag = EODataAccessGateway() dag.search_all(productType="HYDROWEB_RIVERS") ``` raises ``` Traceback (most recent call la...
CS-SI/eodag
diff --git a/tests/test_config.py b/tests/test_config.py index 65b302d5..e819986e 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -437,6 +437,11 @@ class TestConfigFunctions(unittest.TestCase): "EODAG__AWS_EOS__AUTH__CREDENTIALS__AWS_SECRET_ACCESS_KEY" ] = "secret-access-key" ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 10 }
2.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ...
annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 boto3==1.37.23 botocore==1.37.23 cachetools==5.5.2 cdsapi==0.7.5 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 datapi==0.3.0 decorator==5.2....
name: eodag channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-ng=11....
[ "tests/test_config.py::TestConfigFunctions::test_override_config_from_env" ]
[]
[ "tests/test_config.py::TestProviderConfig::test_provider_config_merge", "tests/test_config.py::TestProviderConfig::test_provider_config_name", "tests/test_config.py::TestProviderConfig::test_provider_config_update", "tests/test_config.py::TestProviderConfig::test_provider_config_valid", "tests/test_config.p...
[]
Apache License 2.0
null
null
CSCfi__beacon-python-26
49539e81197255007a6978c102b4a7eb1cf16b9f
2018-10-29 13:14:17
8e6c74787741d3025897cc6f744a13449a78041e
diff --git a/beacon_api/__init__.py b/beacon_api/__init__.py index f20f8a5..42894f9 100644 --- a/beacon_api/__init__.py +++ b/beacon_api/__init__.py @@ -28,4 +28,4 @@ __org_address__ = 'empty' __org_welcomeUrl__ = 'https://www.csc.fi/' __org_contactUrl__ = 'empty' __org_logoUrl__ = 'https://www.csc.fi/documents/1018...
Differentiate wildcard results #### Proposed solution Currently in a wildcard search it is difficult to differentiate between wildcard results, as illustrated. ![image](https://user-images.githubusercontent.com/47524/47644992-5c8b6d80-db78-11e8-813f-e4454c681819.png) The idea is to add values in the `info` key to ...
CSCfi/beacon-python
diff --git a/tests/test_data_query.py b/tests/test_data_query.py index f87248c..a12ad10 100644 --- a/tests/test_data_query.py +++ b/tests/test_data_query.py @@ -13,14 +13,17 @@ class Record: Mimic asyncpg Record object. """ - def __init__(self, accessType, frequency=None, createDateTime=None, updateDateT...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "num_modified_fi...
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "coveralls", "testfixtures", "flake8", "flake8-docstrings", "asynctest"...
aiohttp==3.8.6 aioresponses==0.7.6 aiosignal==1.2.0 async-timeout==4.0.2 asyncpg==0.26.0 asynctest==0.13.0 attrs==22.2.0 -e git+https://github.com/CSCfi/beacon-python.git@49539e81197255007a6978c102b4a7eb1cf16b9f#egg=beacon_api certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 click==8.0.4 coloredlogs==15.0.1 c...
name: beacon-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "Test" ]
[]
[]
[]
Apache License 2.0
null
null
CSCfi__beacon-python-54
0f810a3789be6bc54614ddf17085655c106e486b
2018-12-19 13:34:39
8e6c74787741d3025897cc6f744a13449a78041e
diff --git a/beacon_api/conf/config.py b/beacon_api/conf/config.py index 832143e..b3aba49 100644 --- a/beacon_api/conf/config.py +++ b/beacon_api/conf/config.py @@ -8,19 +8,6 @@ At this point we also initialize a connection pool that the API is going to use import os import asyncpg -URL = os.environ.get('DATABASE_U...
Special characters in database password #### Describe the bug If your db password contains certain special characters , the call to `asyncpg.create_pool` will fail, as some characters are interpreted as a url delimiters. #### To Reproduce Steps to reproduce the behaviour: 1. Have a password containing special cha...
CSCfi/beacon-python
diff --git a/tests/test_db_load.py b/tests/test_db_load.py index 66a0439..ac01147 100644 --- a/tests/test_db_load.py +++ b/tests/test_db_load.py @@ -95,8 +95,7 @@ class DatabaseTestCase(asynctest.TestCase): def setUp(self): """Initialise BeaconDB object.""" - self._db_url = 'http://url.fi' - ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 4 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio", "testfixtures", "flake8", ...
aiocache==0.12.3 aiohttp==3.8.6 aiohttp-cors==0.7.0 aiomcache==0.6.0 aioresponses==0.7.6 aiosignal==1.2.0 async-timeout==4.0.2 asyncpg==0.26.0 asynctest==0.13.0 attrs==22.2.0 -e git+https://github.com/CSCfi/beacon-python.git@0f810a3789be6bc54614ddf17085655c106e486b#egg=beacon_api certifi==2021.5.30 cffi==1.15.1 charset...
name: beacon-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "Test" ]
[]
[]
[]
Apache License 2.0
null
null
CSCfi__swift-browser-ui-20
316d76f77f93701289188d0d461d4fc30fdccf96
2019-08-21 12:19:43
316d76f77f93701289188d0d461d4fc30fdccf96
diff --git a/swift_browser_ui/middlewares.py b/swift_browser_ui/middlewares.py index 3a857ab8..3f08bf77 100644 --- a/swift_browser_ui/middlewares.py +++ b/swift_browser_ui/middlewares.py @@ -5,41 +5,40 @@ from aiohttp import web from .settings import setd +def return_error_response(error_code): + """Return the ...
Failure to retrieve containers after switching to a a project with no containers #### Describe the bug Failure to retrieve containers after switching to a a project with no containers #### To Reproduce Steps to reproduce the behaviour: 1. Log in 2.1 If there is a project with some containers available switch to ...
CSCfi/swift-browser-ui
diff --git a/tests/test_middlewares.py b/tests/test_middlewares.py index 84bad576..3c54417d 100644 --- a/tests/test_middlewares.py +++ b/tests/test_middlewares.py @@ -52,37 +52,37 @@ class MiddlewareTestClass(asynctest.TestCase): """Test 401 middleware when the 401 status is returned.""" resp = await ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": [ "apt-get update", "apt-get install -y gc...
aiohttp==3.8.6 aiosignal==1.3.1 alabaster==0.7.13 async-timeout==4.0.3 asynctest==0.13.0 attrs==24.2.0 Babel==2.14.0 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 charset-normalizer==3.4.1 click==8.1.8 coverage==6.5.0 coveralls==3.3.1 cryptography==44.0.2 distlib==0.3.9 docopt==0.6.2 docutils=...
name: swift-browser-ui channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "tests/test_middlewares.py::MiddlewareTestClass::test_401_exception", "tests/test_middlewares.py::MiddlewareTestClass::test_401_return", "tests/test_middlewares.py::MiddlewareTestClass::test_403_exception", "tests/test_middlewares.py::MiddlewareTestClass::test_403_return", "tests/test_middlewares.py::Middle...
[]
[ "tests/test_middlewares.py::MiddlewareTestClass::test_error_middleware_no_error", "tests/test_middlewares.py::MiddlewareTestClass::test_error_middleware_non_handled_raise" ]
[]
MIT License
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-20
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-20
CSCfi__swift-browser-ui-21
316d76f77f93701289188d0d461d4fc30fdccf96
2019-08-21 13:00:14
316d76f77f93701289188d0d461d4fc30fdccf96
diff --git a/docs/source/conf.py b/docs/source/conf.py index 861c746a..c2766881 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,7 +28,7 @@ copyright = f'{current_year}, CSC Developers' author = 'CSC Developers' # The full version, including alpha/beta/rc tags -version = release = '0.3.2' +version ...
Failure to retrieve containers after switching to a a project with no containers #### Describe the bug Failure to retrieve containers after switching to a a project with no containers #### To Reproduce Steps to reproduce the behaviour: 1. Log in 2.1 If there is a project with some containers available switch to ...
CSCfi/swift-browser-ui
diff --git a/tests/test_middlewares.py b/tests/test_middlewares.py index 84bad576..3c54417d 100644 --- a/tests/test_middlewares.py +++ b/tests/test_middlewares.py @@ -52,37 +52,37 @@ class MiddlewareTestClass(asynctest.TestCase): """Test 401 middleware when the 401 status is returned.""" resp = await ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_fi...
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest_v2", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ ...
aiohttp==3.8.6 aiosignal==1.3.1 alabaster==0.7.13 async-timeout==4.0.3 asynctest==0.13.0 attrs==24.2.0 Babel==2.14.0 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 charset-normalizer==3.4.1 click==8.1.8 coverage==6.5.0 coveralls==3.3.1 cryptography==44.0.2 distlib==0.3.9 docopt==0.6.2 docutils=...
name: swift-browser-ui channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - certifi=2022.12.7=py37h06a4308_0 - ld_impl_linux-64=2.40=h12ee557...
[ "tests/test_middlewares.py::MiddlewareTestClass::test_401_exception", "tests/test_middlewares.py::MiddlewareTestClass::test_401_return", "tests/test_middlewares.py::MiddlewareTestClass::test_403_exception", "tests/test_middlewares.py::MiddlewareTestClass::test_403_return", "tests/test_middlewares.py::Middle...
[]
[]
[]
MIT License
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-21
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-21
CSCfi__swift-browser-ui-394
2434fc7b1907f113f516da55eb9de62b1e452541
2021-11-12 14:55:00
26a360f4c39d0c2161c9651554090a9610d4cbce
diff --git a/swift_browser_ui/ui/api.py b/swift_browser_ui/ui/api.py index 9fa283b5..0da1405b 100644 --- a/swift_browser_ui/ui/api.py +++ b/swift_browser_ui/ui/api.py @@ -67,11 +67,6 @@ async def swift_list_buckets(request: aiohttp.web.Request) -> aiohttp.web.Respon # response at once serv = request.a...
Deleting the last bucket does not refresh the browser view #### Describe the bug If you delete the last bucket in the project a notification is shown that the bucket is deleted, but the view does not get updated and the bucket is still visible and you can still open the bucket. #### To Reproduce Steps to reproduce...
CSCfi/swift-browser-ui
diff --git a/tests/ui_unit/test_api.py b/tests/ui_unit/test_api.py index 5348e7d0..f116ab0f 100644 --- a/tests/ui_unit/test_api.py +++ b/tests/ui_unit/test_api.py @@ -107,10 +107,11 @@ class APITestClass(asynctest.TestCase): ) async def test_list_without_containers(self): - """Test function list ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "has_added_files", "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 3, "issue_text_sco...
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov flake8 flake8-docstrings pytest-xdist asynctest", "pytest" ], "pre_install": [ "apt-get update...
aiohttp==3.7.4.post0 alabaster==0.7.13 async-timeout==3.0.1 asyncpg==0.24.0 asynctest==0.13.0 attrs==25.3.0 babel==2.17.0 certifi==2021.10.8 cffi==1.17.1 chardet==4.0.0 charset-normalizer==3.4.1 click==8.0.3 coverage==7.6.1 cryptography==35.0.0 docutils==0.17.1 exceptiongroup==1.2.2 execnet==2.1.1 flake8==7.1.2 flake8-...
name: swift-browser-ui channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - li...
[ "tests/ui_unit/test_api.py::APITestClass::test_list_without_containers" ]
[]
[ "tests/ui_unit/test_api.py::APITestClass::test_get_container_meta_swift", "tests/ui_unit/test_api.py::APITestClass::test_get_object_meta_s3", "tests/ui_unit/test_api.py::APITestClass::test_get_object_meta_swift", "tests/ui_unit/test_api.py::APITestClass::test_get_object_meta_swift_whole", "tests/ui_unit/tes...
[]
MIT License
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-394
swerebench/sweb.eval.x86_64.cscfi_1776_swift-browser-ui-394
CSCfi__swift-browser-ui-541
26a360f4c39d0c2161c9651554090a9610d4cbce
2022-03-01 13:50:01
26a360f4c39d0c2161c9651554090a9610d4cbce
diff --git a/.github/config/.finnishwords.txt b/.github/config/.finnishwords.txt index 3629ed43..397cc63b 100644 --- a/.github/config/.finnishwords.txt +++ b/.github/config/.finnishwords.txt @@ -1,5 +1,7 @@ + ajaksi alapuolisesta +alla aloitettiin annetut apin @@ -24,6 +26,7 @@ erillinen erissä esimerkiksi esit...
Support project isolation for token #### Proposed solution <!-- A clear and concise description of what you want to happen. --> There should be a possibility to limit project scope when necessary. Some services will require this due to regulation. #### DoD (Definition of Done) <!-- How to know this is implemented...
CSCfi/swift-browser-ui
diff --git a/tests/common/mockups.py b/tests/common/mockups.py index f2f76f7b..e3177d45 100644 --- a/tests/common/mockups.py +++ b/tests/common/mockups.py @@ -32,12 +32,14 @@ class APITestBase(unittest.IsolatedAsyncioTestCase): "name": "test-name-0", "token": "test-token-0", ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 10 }
1.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test,docs,ui_test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "coveragepy-lcov" ], "pre_install": [ "apt-get...
aiohttp==3.8.1 aiohttp-session==2.11.0 aioredis==2.0.1 aiosignal==1.3.2 alabaster==0.7.16 async-timeout==4.0.3 asyncpg==0.25.0 attrs==25.3.0 babel==2.17.0 black==22.1.0 certifi==2021.10.8 cffi==1.17.1 charset-normalizer==2.1.1 click==8.0.4 coverage==6.3.2 coveragepy-lcov==0.1.2 cryptography==36.0.1 distlib==0.3.9 docut...
name: swift-browser-ui channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - li...
[ "tests/ui_unit/test_api.py::APITestClass::test_os_list_projects" ]
[]
[ "tests/ui_unit/test_api.py::APITestClass::test_add_project_container_acl", "tests/ui_unit/test_api.py::APITestClass::test_batch_swift_update_object_metadata", "tests/ui_unit/test_api.py::APITestClass::test_batch_swift_update_object_metadata_no_objects", "tests/ui_unit/test_api.py::APITestClass::test_get_acces...
[]
MIT License
null
null
CTFd__ctfcli-148
26bcec897fcc1f5f23c8117e2a225a130a8b0dea
2024-03-07 11:52:44
704a86447656564369e41881af1f692d45cf4f40
ColdHeat: Pardon my ignorance here but I don't see what the point is of the `--load` switch? Do you want to have the image output as a tar file? Additional arguments could be good but I think it would need to be generic. Perhaps something like `--extra-args="--switch1=123"` pl4nty: `--load` loads the image into loc...
diff --git a/ctfcli/cli/challenges.py b/ctfcli/cli/challenges.py index b56525c..51755e6 100644 --- a/ctfcli/cli/challenges.py +++ b/ctfcli/cli/challenges.py @@ -1,3 +1,4 @@ +import contextlib import logging import os import subprocess @@ -203,167 +204,253 @@ class ChallengeCommand: click.secho(f"Could not p...
Support Buildkit drivers for image builds [Buildkit drivers](https://docs.docker.com/build/drivers/) offer a lot of additional features over the default `docker` driver, like multi-arch images and remote builders. They could be supported by moving tag/push to `docker build --push`, depending on docker buildx which b...
CTFd/ctfcli
diff --git a/tests/core/test_image.py b/tests/core/test_image.py index 2e773f4..8e6ab37 100644 --- a/tests/core/test_image.py +++ b/tests/core/test_image.py @@ -56,7 +56,9 @@ class TestImage(unittest.TestCase): self.assertTrue(image.built) self.assertEqual(image_name, "test-challenge") - mock...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --col...
appdirs==1.4.4 arrow==1.3.0 binaryornot==0.4.4 certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 cookiecutter==2.6.0 -e git+https://github.com/CTFd/ctfcli.git@26bcec897fcc1f5f23c8117e2a225a130a8b0dea#egg=ctfcli exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work fire=...
name: ctfcli channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "tests/core/test_image.py::TestImage::test_build", "tests/core/test_image.py::TestImage::test_build_returns_none_if_failed", "tests/core/test_image.py::TestImage::test_builds_image_before_export", "tests/core/test_image.py::TestImage::test_builds_image_before_push" ]
[]
[ "tests/core/test_image.py::TestImage::test_accepts_path_as_string_and_pathlike", "tests/core/test_image.py::TestImage::test_assigns_attributes", "tests/core/test_image.py::TestImage::test_export_built_image", "tests/core/test_image.py::TestImage::test_extracts_correct_basename", "tests/core/test_image.py::T...
[]
Apache License 2.0
null
null
CWorthy-ocean__C-Star-206
b67a5f9f18fcb0aae6c8eaae6463310b9d9ad638
2024-12-23 17:01:00
70c35baf4e6664de208500686b5a0a9c1af22e73
diff --git a/cstar/base/component.py b/cstar/base/component.py index 1128546..191cc43 100644 --- a/cstar/base/component.py +++ b/cstar/base/component.py @@ -6,7 +6,7 @@ from cstar.base.base_model import BaseModel if TYPE_CHECKING: from cstar.base.additional_code import AdditionalCode from cstar.base.discreti...
Create equivalent to `SchedulerJob` for local execution (`LocalProcess`?) Following #175 `ROMSComponent.run()` will return a `SchedulerJob` instance if the system uses a scheduler, or executes "live" while the user waits if not. For consistent behaviour we should return an instance of a class like `LocalProcess` that h...
CWorthy-ocean/C-Star
diff --git a/cstar/tests/integration_tests/test_cstar_test_blueprints.py b/cstar/tests/integration_tests/test_cstar_test_blueprints.py index f99db1b..3591b00 100644 --- a/cstar/tests/integration_tests/test_cstar_test_blueprints.py +++ b/cstar/tests/integration_tests/test_cstar_test_blueprints.py @@ -78,5 +78,6 @@ class...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_issue_reference", "has_added_files", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 3 }, "num...
0.0
{ "env_vars": null, "env_yml_path": [ "ci/environment.yml" ], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.10", "reqs_path": null, "test_cmd": "pytest --no-head...
affine==2.4.0 attrs==25.3.0 bokeh==3.7.2 Bottleneck==1.4.2 Cartopy==0.24.1 certifi==2025.1.31 cftime==1.6.4.post1 charset-normalizer==3.4.1 click==8.1.8 click-plugins==1.1.1 cligj==0.7.2 cloudpickle==3.1.1 contourpy==1.3.1 -e git+https://github.com/CWorthy-ocean/C-Star.git@b67a5f9f18fcb0aae6c8eaae6463310b9d9ad638#egg=c...
name: C-Star channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py310h06a4308_0 - iniconfig...
[ "cstar/tests/unit_tests/execution/test_handler.py::TestExecutionHandlerUpdates::test_updates_non_running_job", "cstar/tests/unit_tests/execution/test_handler.py::TestExecutionHandlerUpdates::test_updates_running_job_with_tmp_file", "cstar/tests/unit_tests/execution/test_handler.py::TestExecutionHandlerUpdates::...
[ "cstar/tests/integration_tests/test_cstar_test_blueprints.py::TestCStar::test_cstar[test_case_remote_with_netcdf_datasets]", "cstar/tests/integration_tests/test_cstar_test_blueprints.py::TestCStar::test_cstar[test_case_remote_with_yaml_datasets]", "cstar/tests/integration_tests/test_cstar_test_blueprints.py::Te...
[]
[]
Apache License 2.0
null
null