diff --git a/bioconda_utils/bioconda_utils-requirements.txt b/bioconda_utils/bioconda_utils-requirements.txt index 1fec6cc898..5b506f56fc 100644 --- a/bioconda_utils/bioconda_utils-requirements.txt +++ b/bioconda_utils/bioconda_utils-requirements.txt @@ -7,13 +7,13 @@ conda-forge-pinning=2024.06.01.05.54.15 # basics python=3.10.* -conda=24.5.* +conda=24.9.* conda-libmamba-solver=24.1.* -conda-build=24.5.* -conda-index=0.4.* -conda-package-streaming=0.9.* +conda-build=24.7.* +conda-index=0.5.* +conda-package-streaming=0.11.* mamba=1.5.* -boa=0.17.* +#boa=0.17.* argh=0.31.* # CLI colorlog=6.* # Logging diff --git a/test/test_utils.py b/test/test_utils.py index 4ec044dd7f..5c90751e8f 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -14,7 +14,7 @@ from pathlib import Path from textwrap import dedent -from conda_build import api, metadata +from conda_build import api, metadata, exceptions from bioconda_utils import __version__ from bioconda_utils import utils @@ -652,7 +652,7 @@ def test_rendering_sandboxing(): assert ("'GITHUB_TOKEN' is undefined" in str(excinfo.value.stdout)) else: # recipe for "one" should fail because GITHUB_TOKEN is not a jinja var. - with pytest.raises(SystemExit) as excinfo: + with pytest.raises(exceptions.CondaBuildUserError) as excinfo: pkg_paths = utils.built_package_paths(r.recipe_dirs['one']) build.build( recipe=r.recipe_dirs['one'], diff --git a/versioneer.py b/versioneer.py index 64fea1c892..3aa5da3720 100644 --- a/versioneer.py +++ b/versioneer.py @@ -339,9 +339,9 @@ def get_config_from_root(root): # configparser.NoOptionError (if it lacks "VCS="). See the docstring at # the top of versioneer.py for instructions on writing your setup.cfg . setup_cfg = os.path.join(root, "setup.cfg") - parser = configparser.SafeConfigParser() + parser = configparser.ConfigParser() with open(setup_cfg, "r") as f: - parser.readfp(f) + parser.read_file(f) VCS = parser.get("versioneer", "VCS") # mandatory def get(parser, name):