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

Remove unidecode (for anyascii), pandoc, poppler, and tbb #505

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
# inherit without having to test which work which do not.
autodoc_mock_imports = [
"affine",
"anyascii",
"bottleneck",
"cairo",
"cartopy",
Expand Down Expand Up @@ -102,7 +103,6 @@
"sklearn",
"spotpy",
"statsmodels",
"unidecode",
"xarray",
"xclim",
"zlib",
Expand Down
5 changes: 1 addition & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- python >=3.8,<3.12
- pywps ==4.5.1
- affine
- anyascii
- cartopy
- click
- fiona >=1.9
Expand All @@ -19,8 +20,6 @@ dependencies:
- numpy
- owslib
- pandas
- pandoc
- poppler
- psutil
- psycopg2
- pymetalink
Expand All @@ -31,8 +30,6 @@ dependencies:
- requests
- rioxarray
- shapely
- tbb
- unidecode
- urlpath
- xarray >=0.18
- xclim >=0.31.0
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ classifiers = [
]
dynamic = ["description", "version"]
dependencies = [
"anyascii",
"click",
"jinja2",
"matplotlib",
Expand Down Expand Up @@ -66,8 +67,7 @@ dependencies = [
# Docs and other utilities
"fsspec",
"psycopg2", # to use postgres to log pywps requests like in Prod
"pymetalink",
"unidecode"
"pymetalink"
]

[project.optional-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions raven/processes/base_xclim.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

import requests
import xarray as xr
from anyascii import anyascii
from pywps import FORMATS, ComplexInput, ComplexOutput, LiteralInput, Process
from pywps.app.Common import Metadata
from unidecode import unidecode

LOGGER = logging.getLogger("PYWPS")

Expand Down Expand Up @@ -68,8 +68,8 @@ def __init__(self):
self._handler,
identifier=identifier,
version="0.1",
title=unidecode(attrs["long_name"]),
abstract=unidecode(attrs["abstract"]),
title=anyascii(attrs["long_name"]),
abstract=anyascii(attrs["abstract"]),
inputs=self.load_inputs(eval(attrs["parameters"])),
outputs=outputs,
status_supported=True,
Expand Down
Loading