Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add/fix missing tests annotations, cleanup requirements.txt #639

Closed

Conversation

Scartography
Copy link
Collaborator

@Scartography Scartography commented Jul 24, 2024

  • minor fix and maintenance
  • See CHANGELOG.rst and update TBD release day when ready

pyproject.toml Outdated
@@ -29,6 +29,7 @@ dependencies = [
"distributed",
"fiona>=1.8.13.post1",
"fsspec",
"gdal>=3.6.4",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be here because we don't import GDALs python bindings anywhere in the package. All GDAL related stuff is "hidden" within the builds of fiona and rasterio.

pyproject.toml Outdated
@@ -79,6 +80,7 @@ profiling = [
]
s3 = [
"aiobotocore>=1.1.2",
"aioitertools>=0.7.0",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with aioitertools here. They are not a direct dependency of the package itself.

@@ -1069,6 +1066,22 @@ def test_read_raster(path):
assert not rr.data.mask.all()


@pytest.mark.aws_s3
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aws_s3 is only for tests which access s3://mapchete-test testdata. These fixtures only use data from our docker based integration setup, so marking them with integration is sufficient.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is one raster_4bands_s3 so this somewhat applies only for 1 param there, and would probably not split this even further

requirements.txt Outdated
matplotlib>=3.2.1
fsspec[http]
fsspec[s3]
gdal>=3.6.4
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why gdal and >=3.6.4?

@Scartography
Copy link
Collaborator Author

Agree with all the comments, will update the branch and also solve the geojson-pydantic to have the fitting package (the better maintained) here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants