diff --git a/docs/requirements.txt b/docs/requirements.txt index d0ba7ec8..8ce4b824 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -15,10 +15,10 @@ scipy dash geos cartopy +pandas>=2.0 # docs sphinx myst-parser pydata-sphinx-theme>=0.8.1 -sphinx-book-theme docutils==0.17.1 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index f7d2b4b1..e5a0d24a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,16 +12,10 @@ license = APGL-3.0 license_files = LICENSE.txt long_description = file: README.md long_description_content_type = text/x-rst; charset=UTF-8 -url = https://github.com/pyscaffold/pyscaffold/ +url = https://github.com/OSeMOSYS/osemosys_global # Add here related links, for example: project_urls = - Documentation = https://pyscaffold.org/ -# Source = https://github.com/pyscaffold/pyscaffold/ -# Changelog = https://pyscaffold.org/en/latest/changelog.html -# Tracker = https://github.com/pyscaffold/pyscaffold/issues -# Conda-Forge = https://anaconda.org/conda-forge/pyscaffold -# Download = https://pypi.org/project/PyScaffold/#files -# Twitter = https://twitter.com/PyScaffold + Documentation = https://osemosys-global.readthedocs.io # Change if running only on Windows, Mac or Linux (comma-separated) platforms = any @@ -49,27 +43,20 @@ python_requires = >=3.9 # For more information, check out https://semver.org/. install_requires = importlib-metadata; python_version<"3.8" - #sphinx>=3.2.1 - Sphinx==4.2.0 - furo + # package + pandas>=2.0 matplotlib seaborn geopandas urllib3 PyYAML - geos cartopy pytest world-bank-data scikit-learn otoole>=1.1.0 - sphinx-book-theme - myst-parser - otoole>=1.1.0 scipy dash - pydata-sphinx-theme>=0.8.1 - docutils>=0.17.1 [options.packages.find] where = workflow/scripts diff --git a/workflow/envs/dashboard.yaml b/workflow/envs/dashboard.yaml deleted file mode 100644 index 68145fe8..00000000 --- a/workflow/envs/dashboard.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: osemosys-global-dashboard - -channels: - - bioconda - - conda-forge - -dependencies: - - python>=3.8 - - pip - - - pandas - - geopandas - - plotly - - pytest - - - pip: - - otoole>1.1.0 - - dash - # - osemosys_global diff --git a/workflow/envs/osemosys-global.yaml b/workflow/envs/osemosys-global.yaml index 1628cdb3..4f66048a 100644 --- a/workflow/envs/osemosys-global.yaml +++ b/workflow/envs/osemosys-global.yaml @@ -1,25 +1,27 @@ name: osemosys-global channels: + - defaults - bioconda - conda-forge dependencies: - - python>=3.8 - - pip + - python>=3.9 + - pip>=24.0 - - pandas - - urllib3 - - matplotlib - - seaborn - - snakemake-minimal - - pytest - - scikit-learn - - cartopy + - pandas==2.0.3 # otoole req. Relax to 2.2 in upcoming release + - urllib3>=2.2 + - matplotlib>=3.8 + - seaborn>=0.13 + - snakemake-minimal>=7.32 + - pytest>=8.2 + - scikit-learn>=1.4 + - cartopy>=0.23 + - geopandas>=0.14 + - plotly>=5.22 - pip: - - world-bank-data - - otoole>=1.1.0 - - dash - - geos - - git+https://github.com/OSeMOSYS/osemosys_global@master + - world-bank-data>=0.1.3 + - otoole==1.1.2 + - dash==2.17 + - ../../. # path to setup.py diff --git a/workflow/envs/osemosys-minimal.yaml b/workflow/envs/osemosys-minimal.yaml deleted file mode 100644 index 976e979f..00000000 --- a/workflow/envs/osemosys-minimal.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: osemosys_minimal - -channels: - - bioconda - - conda-forge - -dependencies: - - python>=3.8 - - pandas - - seaborn - - snakemake - - openpyxl - - pip - - scikit-learn - - plotly - - snakemake-minimal - - - pip: - - world-bank-data - - otoole>=1.1.0 \ No newline at end of file