seomoz / shovel

Rake, for Python
MIT License
660 stars 49 forks source link

Shovel version 0.5.0 #51

Closed siris closed 2 years ago

siris commented 2 years ago

Summary ======== Features included in this change:

Additional Info

Many folks using shovel that have upgraded to setuptools 59.x are broken because of this error:

 pip install --user shovel
Collecting shovel
  Using cached shovel-0.4.0.tar.gz (15 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in shovel setup command: use_2to3 is invalid.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

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

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This change resolves the setuptools compatibility issue in the setup.py and will fix many users of shovel whether they are installing via a CI/CD system or via pip using a requirements file.

Test Plan

OK

* Build the setuptools package with:

python setup.py build running build running build_py creating build creating build/lib creating build/lib/shovel copying shovel/parser.py -> build/lib/shovel copying shovel/runner.py -> build/lib/shovel copying shovel/init.py -> build/lib/shovel copying shovel/args.py -> build/lib/shovel copying shovel/help.py -> build/lib/shovel copying shovel/tasks.py -> build/lib/shovel running egg_info writing shovel.egg-info/PKG-INFO writing dependency_links to shovel.egg-info/dependency_links.txt writing entry points to shovel.egg-info/entry_points.txt writing top-level names to shovel.egg-info/top_level.txt reading manifest file 'shovel.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'shovel.egg-info/SOURCES.txt'

* Install shovel 0.5.0 locally to test install:

pip3 install -e ./ Defaulting to user installation because normal site-packages is not writeable Obtaining file:///home/ss/repos/shovel Preparing metadata (setup.py) ... done Installing collected packages: shovel Attempting uninstall: shovel Found existing installation: shovel 0.5.0 Uninstalling shovel-0.5.0: Successfully uninstalled shovel-0.5.0 Running setup.py develop for shovel Successfully installed shovel-0.5.0


* Verify `shovel tasks` works with a local `shovel.py`
defp commented 2 years ago

published?

https://pypi.org/project/shovel/#history

The latest version is 0.4.0

samrensenhouse commented 2 years ago

@vmahedia Is there a plan to release this version to pypi?

jamesuber commented 8 months ago

@vmahedia is there a plan to release this?