Closed yarikoptic closed 2 years ago
@yarikoptic I suggest testing building the package locally after adding MANIFEST.in
by running python3 -m build
to see if that works.
thanks, good idea but what am I missing/doing wrong?
(dev3) 1 21700.....................................:Fri 29 Apr 2022 04:53:04 PM EDT:.
(git)lena:~datalad/datalad-deprecated-clone[bf-build]git
$> python3 -m build
/home/yoh/proj/datalad/datalad-deprecated/venvs/dev3/bin/python3: No module named build.__main__; 'build' is a package and cannot be directly executed
and in the main env
(git)lena:~datalad/datalad-deprecated-clone[bf-build]git
$> python3 -m build
/usr/bin/python3: No module named build
@yarikoptic You need to pip install build
.
yeah, got to that RTFM ;) didn't expect such a generic name of a package
confirmed that 0.2.1 fails to build with that above error and the version from #57 builds fine. Thanks!
:rocket: Issue was released in 0.2.2
:rocket:
this time it did produce CHANGELOG.md with version happily and a tagged release on github , but then:
python3 setup.py sdist worked fine for me locally
```shell (git)lena:~datalad/datalad-deprecated-clone[tags/0.2.1^0] $> python3 setup.py sdist running sdist running egg_info creating datalad_deprecated.egg-info writing datalad_deprecated.egg-info/PKG-INFO writing dependency_links to datalad_deprecated.egg-info/dependency_links.txt writing entry points to datalad_deprecated.egg-info/entry_points.txt writing requirements to datalad_deprecated.egg-info/requires.txt writing top-level names to datalad_deprecated.egg-info/top_level.txt writing manifest file 'datalad_deprecated.egg-info/SOURCES.txt' reading manifest file 'datalad_deprecated.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'COPYING' writing manifest file 'datalad_deprecated.egg-info/SOURCES.txt' running check creating datalad_deprecated-0.2.1 creating datalad_deprecated-0.2.1/datalad_deprecated creating datalad_deprecated-0.2.1/datalad_deprecated.egg-info creating datalad_deprecated-0.2.1/datalad_deprecated/resources creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/css creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests creating datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests/qunit creating datalad_deprecated-0.2.1/datalad_deprecated/tests copying files to datalad_deprecated-0.2.1... copying COPYING -> datalad_deprecated-0.2.1 copying LICENSE -> datalad_deprecated-0.2.1 copying MANIFEST.in -> datalad_deprecated-0.2.1 copying README.md -> datalad_deprecated-0.2.1 copying pyproject.toml -> datalad_deprecated-0.2.1 copying setup.cfg -> datalad_deprecated-0.2.1 copying setup.py -> datalad_deprecated-0.2.1 copying versioneer.py -> datalad_deprecated-0.2.1 copying datalad_deprecated/__init__.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/_version.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/annotate_paths.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/auto.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/diff.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/gitrepo.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/ls.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/ls_webui.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/publish.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/sibling_webui.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated/utils.py -> datalad_deprecated-0.2.1/datalad_deprecated copying datalad_deprecated.egg-info/PKG-INFO -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated.egg-info/SOURCES.txt -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated.egg-info/dependency_links.txt -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated.egg-info/entry_points.txt -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated.egg-info/requires.txt -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated.egg-info/top_level.txt -> datalad_deprecated-0.2.1/datalad_deprecated.egg-info copying datalad_deprecated/resources/website/index.html -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website copying datalad_deprecated/resources/website/assets/css/jquery.dataTables-1.10.12.css -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/css copying datalad_deprecated/resources/website/assets/css/main.css -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/css copying datalad_deprecated/resources/website/assets/images/external-link-symbol.svg -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/favicon-16x16.png -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/favicon.ico -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/favicon.svg -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/logo_wide.svg -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/sort_asc.png -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/sort_both.png -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/images/sort_desc.png -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/images copying datalad_deprecated/resources/website/assets/js/jquery-2.2.4.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js copying datalad_deprecated/resources/website/assets/js/jquery.dataTables-1.10.12.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js copying datalad_deprecated/resources/website/assets/js/main.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js copying datalad_deprecated/resources/website/assets/js/md5-2.3.0.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js copying datalad_deprecated/resources/website/assets/js/showdown-1.8.5-33-g0c6ce94.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/assets/js copying datalad_deprecated/resources/website/tests/test.html -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests copying datalad_deprecated/resources/website/tests/qunit/qunit-2.0.1.css -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests/qunit copying datalad_deprecated/resources/website/tests/qunit/qunit-2.0.1.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests/qunit copying datalad_deprecated/resources/website/tests/qunit/sinon-1.17.5.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests/qunit copying datalad_deprecated/resources/website/tests/qunit/sinon-qunit-1.0.0.js -> datalad_deprecated-0.2.1/datalad_deprecated/resources/website/tests/qunit copying datalad_deprecated/tests/__init__.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test__main__.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_annexrepo.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_annotate_paths.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_auto.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_create_sibling_webui.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_diff.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_gitrepo.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_ls.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_ls_webui.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_publish.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests copying datalad_deprecated/tests/test_utils.py -> datalad_deprecated-0.2.1/datalad_deprecated/tests Writing datalad_deprecated-0.2.1/setup.cfg UPDATING datalad_deprecated-0.2.1/datalad_deprecated/_version.py set datalad_deprecated-0.2.1/datalad_deprecated/_version.py to '0.2.1' creating dist Creating tar archive removing 'datalad_deprecated-0.2.1' (and everything under it) ```I see that datalad-container (where auto was established before) has MANIFEST.in , and it was also added by @jwodder to MANIFEST.in in the -template (we should look into cookie cutting the template to allow for "upgrades"). Will add it and hope that it would fix this issue