Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install fasm directly from GitHub #62

Merged
merged 5 commits into from
Feb 20, 2021

Conversation

mithro
Copy link
Contributor

@mithro mithro commented Feb 19, 2021

This pull request;

  1. Adds a workflow which makes sure that installing from GitHub works. It was able to replicate the issue described in Latest fasm setup.py no longer works as a git+https URL #60 -- see https://github.com/mithro/fasm/runs/1938179073?check_suite_focus=true
  2. Fixes Latest fasm setup.py no longer works as a git+https URL #60 by calling update_version.py in setup.py if the version is currently UNKNOWN.
  3. Reworks update_version.py to not depend on the packaging module.
  4. Fixes Broken installation due to probable circular import #57 by updating the tool main location.
  5. Improves the warning message when the antlr parser is not found.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Fixes chipsalliance#60

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Fixes chipsalliance#57.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
runs-on: ${{ matrix.os }}

steps:
- name: Install dependencies (Ubuntu)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really should test that install succeeds when these dependencies are not found.

Copy link
Collaborator

@litghost litghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merge if green

@litghost litghost merged commit af39a4f into chipsalliance:master Feb 20, 2021
@mithro mithro deleted the fix-github-install branch February 20, 2021 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest fasm setup.py no longer works as a git+https URL Broken installation due to probable circular import
2 participants