-
Notifications
You must be signed in to change notification settings - Fork 112
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
build: migrate to pyproject.toml #1068
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 47f8537 - Browse repository at this point
Copy the full SHA 47f8537View commit details -
Organise the build files together and ensure that version.py doesn't …
…get tracked by VC.
Configuration menu - View commit details
-
Copy full SHA for c942cc7 - Browse repository at this point
Copy the full SHA c942cc7View commit details -
Note that the author email is a placeholder - working on getting the real one, if there is one.
Configuration menu - View commit details
-
Copy full SHA for a160ce8 - Browse repository at this point
Copy the full SHA a160ce8View commit details -
Exclude some files from the sdist.
It seems like the .github workflows don't really belong in an sdist. The docs perhaps do, but aren't in the current dist, so start off excluding those too (including the rtd config).
Configuration menu - View commit details
-
Copy full SHA for a0feaeb - Browse repository at this point
Copy the full SHA a0feaebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d18f51 - Browse repository at this point
Copy the full SHA 0d18f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b8f710 - Browse repository at this point
Copy the full SHA 0b8f710View commit details -
Configuration menu - View commit details
-
Copy full SHA for b58abed - Browse repository at this point
Copy the full SHA b58abedView commit details -
Configuration menu - View commit details
-
Copy full SHA for edca060 - Browse repository at this point
Copy the full SHA edca060View commit details -
It doesn't seem like replacing these tests with roughly equivilent setuptools/build ones makes sense, since they would really be testing the third-party tools rather than anything internal. The version is no longer handled by our code, so shouldn't need a test. The inclusion of the README is handled by the build backend, so shouldn't need us testing it. setup.py --check is for metadata checks that don't make sense for us to duplicate as pyproject.toml tests. We no longer duplicate the dependency list so don't need to make sure two copies stay in sync.
Configuration menu - View commit details
-
Copy full SHA for 9fedd2e - Browse repository at this point
Copy the full SHA 9fedd2eView commit details -
Use build to create the distribution package.
This also means that we can go back to using the default version of Python with the Github action.
Configuration menu - View commit details
-
Copy full SHA for 66b8057 - Browse repository at this point
Copy the full SHA 66b8057View commit details -
Also ensure that we can install (and build, since that's how the action is configured) on 3.8 through 3.12.
Configuration menu - View commit details
-
Copy full SHA for 96d0c39 - Browse repository at this point
Copy the full SHA 96d0c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 183ff1a - Browse repository at this point
Copy the full SHA 183ff1aView commit details -
Also fix quotes to be triple-double since that's what the linter looks for, fix the type of the version tuple, and add pip-tools defaults that silence warnings.
Configuration menu - View commit details
-
Copy full SHA for 3790aa4 - Browse repository at this point
Copy the full SHA 3790aa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54a471e - Browse repository at this point
Copy the full SHA 54a471eView commit details
Commits on Nov 19, 2023
-
Provide instructions for generating the doc requirements.
Also remove the outdated script for this (which doesn't seem to be documented anywhere).
Configuration menu - View commit details
-
Copy full SHA for 412b68a - Browse repository at this point
Copy the full SHA 412b68aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ce49c1 - Browse repository at this point
Copy the full SHA 2ce49c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 063abdc - Browse repository at this point
Copy the full SHA 063abdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c856db6 - Browse repository at this point
Copy the full SHA c856db6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4d41a7 - Browse repository at this point
Copy the full SHA e4d41a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a921a6 - Browse repository at this point
Copy the full SHA 5a921a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad12d0 - Browse repository at this point
Copy the full SHA 3ad12d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f0cb6 - Browse repository at this point
Copy the full SHA e9f0cb6View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2947d92 - Browse repository at this point
Copy the full SHA 2947d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc47085 - Browse repository at this point
Copy the full SHA fc47085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 993892d - Browse repository at this point
Copy the full SHA 993892dView commit details -
We need the dependencies installed to import ops to get the version.
This feels really ugly. The problem is that ops.__init__ loads almost everything, so to get the version from there needs loading almost everything. We can't just get it from the simpler ops.version because __init__ will still be loaded when we load from the package.
Configuration menu - View commit details
-
Copy full SHA for 3190143 - Browse repository at this point
Copy the full SHA 3190143View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe6176 - Browse repository at this point
Copy the full SHA 3fe6176View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20ca414 - Browse repository at this point
Copy the full SHA 20ca414View commit details
Commits on Dec 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for adde28f - Browse repository at this point
Copy the full SHA adde28fView commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a50930 - Browse repository at this point
Copy the full SHA 2a50930View commit details
Commits on Jan 12, 2024
-
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 71cedc2 - Browse repository at this point
Copy the full SHA 71cedc2View commit details -
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3b7c10a - Browse repository at this point
Copy the full SHA 3b7c10aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6a23c3 - Browse repository at this point
Copy the full SHA e6a23c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f32a09 - Browse repository at this point
Copy the full SHA 7f32a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9edc6fc - Browse repository at this point
Copy the full SHA 9edc6fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 339740d - Browse repository at this point
Copy the full SHA 339740dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 556d139 - Browse repository at this point
Copy the full SHA 556d139View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6837c9 - Browse repository at this point
Copy the full SHA b6837c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d726d9 - Browse repository at this point
Copy the full SHA 0d726d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b6386 - Browse repository at this point
Copy the full SHA 50b6386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1560224 - Browse repository at this point
Copy the full SHA 1560224View commit details
Commits on Jan 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fadd413 - Browse repository at this point
Copy the full SHA fadd413View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1be35e - Browse repository at this point
Copy the full SHA e1be35eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06de826 - Browse repository at this point
Copy the full SHA 06de826View commit details -
Ensure there is a requirements file for readthedocs to use - and it's…
… updated by the regular tox -e docs.
Configuration menu - View commit details
-
Copy full SHA for 8867b1d - Browse repository at this point
Copy the full SHA 8867b1dView commit details
Commits on Jan 15, 2024
-
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 84fcb74 - Browse repository at this point
Copy the full SHA 84fcb74View commit details -
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 99ae4ee - Browse repository at this point
Copy the full SHA 99ae4eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18db4e5 - Browse repository at this point
Copy the full SHA 18db4e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c325d - Browse repository at this point
Copy the full SHA c9c325dView commit details