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

Makefile improvements with incremental rebuild support for check targets #763

Conversation

bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Jun 28, 2024

Builds off of #762

Change rules to only feed changed files since the last successful rebuild to various check targets.
This should help with incremental rebuilds.

@bpkroth bpkroth requested a review from a team as a code owner June 28, 2024 16:57
@bpkroth bpkroth marked this pull request as draft June 28, 2024 17:13
@bpkroth
Copy link
Contributor Author

bpkroth commented Jul 1, 2024

I'm not quite satisfied with this one - there's some issues of it not detecting the need to rescan the whole set of files after conda rebuilds for instance - so leaving it in draft mode for now.

bpkroth added a commit that referenced this pull request Jul 2, 2024
This PR builds off of #762 and #763 

These are in part 
1. followup fixups for #746 (e.g., to allow setuptools-scm to be pulled
in at build time as a build dependency only when conda an pip have
mismatched version issues), and
2. Modernization improvements to allow us to make better use of other
tools (e.g., `black` that only accept `pyproject.toml` files as their
configuration files).

To do so, we move some configs from `setup.py` to `pyproject.toml` for
each module.
However, to retain the ability to rewrite URLs in published README.md
files on PyPi as well as consistent version dependencies across modules
without the need to manually specify version numbers (e.g., using
`setuptools-scm`) we mark a few dependencies as dynamic and leave our
existing logic inside the `setup.py` file.

Finally, we reorganize the `version.py` file to be inside the module and
fix a few previous omissions for `mlos_viz`.
bpkroth added a commit that referenced this pull request Jul 3, 2024
Builds off of #762, #763, and #764.

Prepares rules and configs to enable isort and black formatters and
checks but doesn't enable them yet.

After these are enabled (next PR) we will reformat all files and ignore
that revision in git blame configs.

Then, we can convert configs stored in `setup.cfg` and `.pylintrc` to
the top level `pyproject.toml` and remove the older configs.
@bpkroth bpkroth closed this Jul 22, 2024
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.

1 participant