packing-box / docker-packing-box

Docker image gathering packers and tools for making datasets of packed executables and training machine learning models for packing detection
GNU General Public License v3.0
49 stars 10 forks source link

Bug pbox-update #140

Closed jramhani closed 3 months ago

jramhani commented 3 months ago

$ pbox-update

Copying files from packing-box...
Upgrading Pip...
Upgrading pbox library...
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
poetry 1.7.1 requires platformdirs<4.0.0,>=3.0.0, but you have platformdirs 4.2.0 which is incompatible.
Regenerating Bash completions...
/home/user/.local/lib/python3.11/site-packages/_distutils_hack/__init__.py:55: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
  warnings.warn(
dhondta commented 3 months ago

Did you retry pbox-update ? Did you try pip-install --upgrade pip ?

jramhani commented 3 months ago

The error is not showing anymore ... But the warning is still there (and is showing for many/every command) :

$ pbox-update

Copying files from packing-box...
Upgrading Pip...
Upgrading pbox library...
Regenerating Bash completions...
/home/user/.local/lib/python3.11/site-packages/_distutils_hack/__init__.py:55: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
  warnings.warn(

$ executable plot <exec-file>

/home/user/.local/lib/python3.11/site-packages/_distutils_hack/__init__.py:55: UserWarning: Reliance on distutils from stdlib is deprecated. Users must rely on setuptools to provide the distutils module. Avoid importing distutils or import setuptools first, and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml
  warnings.warn(
<<snipped>>
dhondta commented 3 months ago

@jramhani The issue with executable is a separate one. This is due to a change in the config key for the image format to generate figures. The key shall be img_format instead of format for now.