conda-forge / mlflow-feedstock

A conda-smithy repository for mlflow.
BSD 3-Clause "New" or "Revised" License
1 stars 26 forks source link

mlflow v2.8.1 #148

Closed regro-cf-autotick-bot closed 11 months ago

regro-cf-autotick-bot commented 11 months ago

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with code>@conda-forge-admin,</codeplease add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Pending Dependency Version Updates

Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.

Name Upstream Version Current Version
mlflow 2.8.1 Anaconda-Server Badge
protobuf 25.1 Anaconda-Server Badge

Dependency Analysis

Please note that this analysis is highly experimental. The aim here is to make maintenance easier by inspecting the package's dependencies. Importantly this analysis does not support optional dependencies, please double check those before making changes. If you do not want hinting of this kind ever please add bot: inspection: false to your conda-forge.yml. If you encounter issues with this feature please ping the bot team conda-forge/bot.

Analysis by source code inspection shows a discrepancy between it and the the package's stated requirements in the meta.yaml.

Packages found by source code inspection but not in the meta.yaml:

Packages found in the meta.yaml but not found by source code inspection:

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/6898405467, please use this URL for debugging.

conda-forge-webservices[bot] commented 11 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

BenWilson2 commented 11 months ago

@conda-forge-admin We haven't changed anything with this feed stock with respect to build dependencies. In local testing of this build (using the build_locally script) and attempting to change the version of setuptools that is installed in the build environment, I can't seem to prevent this Exception:

Processing /Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work
  Added file:///Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work to build tracker '/private/tmp/pip-build-tracker-a28wrp4x'
  Running setup.py (path:/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work/setup.py) egg_info for package from file:///Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work
  Created temporary directory: /private/tmp/pip-pip-egg-info-ti_dwxu4
  Preparing metadata (setup.py) ...   Running command python setup.py egg_info
  /Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/dist.py:804: SetuptoolsDeprecationWarning: Deprecated API usage.
  !!

          ********************************************************************************
          As setuptools moves its configuration towards `pyproject.toml`,
          `setuptools.config.parse_configuration` became deprecated.

          For the time being, you can use the `setuptools.config.setupcfg` module
          to access a backward compatible API, but this module is provisional
          and might be removed in the future.

          To read project metadata, consider using
          ``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
          For simple scenarios, you can also try parsing the file directly
          with the help of ``configparser``.
          ********************************************************************************

  !!
    parse_configuration(
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work/setup.py", line 125, in <module>
      setup(
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 152, in setup
      _install_setup_requires(attrs)
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/__init__.py", line 145, in _install_setup_requires
      dist.parse_config_files(ignore_option_errors=True)
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/dist.py", line 804, in parse_config_files
      parse_configuration(
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/config/__init__.py", line 36, in _wrapper
      return fn(*args, **kwargs)
    File "/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_build_env/venv/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 190, in parse_configuration
      distribution._referenced_files.update(
  AttributeError: 'MinimalDistribution' object has no attribute '_referenced_files'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize

  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)

  __file__ = %r
  sys.argv[0] = __file__

  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"

  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' egg_info --egg-base /private/tmp/pip-pip-egg-info-ti_dwxu4
  cwd: /Users/benjamin.wilson/repos/mlflow-feedstock/miniforge3/conda-bld/mlflow-split_1700190696141/work/
error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

Has something fundamentally changed with the build system in the last 3 weeks since we last submitted a version of MLflow?