{"id":27996519,"url":"https://github.com/borglab/gtsam-manylinux-build","last_synced_at":"2025-05-08T21:45:00.424Z","repository":{"id":40347598,"uuid":"231835323","full_name":"borglab/gtsam-manylinux-build","owner":"borglab","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-15T18:25:08.000Z","size":118,"stargazers_count":1,"open_issues_count":2,"forks_count":5,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-07T13:53:09.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borglab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"auditwheel.txt","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-01-04T22:08:32.000Z","updated_at":"2024-09-20T00:23:02.000Z","dependencies_parsed_at":"2024-01-15T20:19:50.371Z","dependency_job_id":"acbf7f41-99b5-4034-b69a-e1ef9c952543","html_url":"https://github.com/borglab/gtsam-manylinux-build","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borglab%2Fgtsam-manylinux-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borglab%2Fgtsam-manylinux-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borglab%2Fgtsam-manylinux-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borglab%2Fgtsam-manylinux-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borglab","download_url":"https://codeload.github.com/borglab/gtsam-manylinux-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154263,"owners_count":21862489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-08T21:44:55.967Z","updated_at":"2025-05-08T21:45:00.417Z","avatar_url":"https://github.com/borglab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GTSAM Python Wheel Builder\n\n![Linux Wheels](https://github.com/borglab/gtsam-manylinux-build/actions/workflows/build-new.yml/badge.svg)\n![Mac Wheels](https://github.com/borglab/gtsam-manylinux-build/actions/workflows/build-mac.yml/badge.svg)\n\n## How to Build on Linux\n\nRun:\n```bash\nsudo docker run --rm -e PLAT=manylinux2014_x86_64 PLAT=manylinux2014_x86_64 -e PYTHON_VERSION=$PYTHON_VERSION -v `pwd`:/io varunagrawal/gtsam-manylinux:latest /io/build-wheels.sh\n```\n\nYou will need to rename the built files to a valid name. E.g.:\n\n```bash\nmv gtsam-4.1.0-cp36-cp36m-manylinux2014_x86_64.none-manylinux2014_x86_64.whl gtsam-4.1.0-cp36-none-any.whl\n```\n\n## How to Build on macOS\n\nPlease consult `build-macos-wheels.sh`.\n\n# Current Build Date\n\n2023-09-02\n\nWe are building for the 4.2 release.\n\n## Wheel Update Instructions\n\nFor all OSs and architectures we support:\n\nFirst check if the wheels you have built can actually install and run by:\n\n1. Create a clean virtual environment\n2. `pip install {WHEEL}.whl` to install the wheel\n3. run the GTSAM unit tests to make sure the wheel works by going to `gtsam_repo/python/gtsam/tests` and `python -m unittest discover`\n\n* The most probable failures at this stage are:\n  * The wheel repair (auditwheel/delocate) programs have bugs and produced wrong binaries.\n  * Which needs manual patching, contact @ProfFan immediately\n\nIf you have confirmed that it works, you can then:\n\n* Run `pip install twine` to install Twine\n* After that, upload to Test PyPI by:\n```bash\ntwine upload --repository testpypi {WHEEL_FILE_NAME}.whl\n```\n* Now, uninstall `gtsam` in the virtual env, do\n```bash\npip install --index-url https://test.pypi.org/simple {PACKAGE_NAME}\n```\nand test again with the unit tests\n\n* The most probable failures at this stage are:\n  * Inconsistent version tags between the METADATA and the file name of the wheel\n  * You did not test the wheel you uploaded in a fresh machine, so it's linking is not correct (only works for you)\n\n* If that still works, you can try upload to REAL PyPI (THIS IS IRREVERSIBLE!!!)\n```bash\ntwine upload {WHEEL_FILE_NAME}.whl\n# OR if you tested all 8 wheels on Test PyPI and possible users\ntwine upload {directory containing all wheels}\n```\n* Finally test again by using normal `pip install gtsam`\n* Rinse and repeat with every architecture that you are concerned with.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborglab%2Fgtsam-manylinux-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborglab%2Fgtsam-manylinux-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborglab%2Fgtsam-manylinux-build/lists"}