Hynek Schlawack
ec5bc55caf
Stop installing into CI's system ( #1346 )
...
* Stop installing into CI's system
We're starting to get permission denied errors when installing with
--system.
* Pin Pyright
* Simplify
* Fix typo
2024-09-14 14:59:01 +02:00
Hynek Schlawack
a8e24b0186
Drop Python 3.7 ( #1340 )
...
* Drop Python 3.7
* Add news fragment
* update Ruff
2024-08-29 17:35:04 +02:00
Hynek Schlawack
1a54815b1b
Work around tox bug
2024-08-25 08:27:47 +02:00
Hynek Schlawack
1dfd14856b
Limit xdist distribution to files
...
I get regularly spurious failures in tox in the Mypy tests because of
being able to access certain files. I hope running the file
non-concurently helps here.
2024-08-01 07:05:59 +02:00
Hynek Schlawack
7c6490b6c1
Pin Towncrier ( #1314 )
...
See https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92
2024-07-31 10:00:21 +02:00
Hynek Schlawack
adf4b61723
ci/tox: print towncrier version
2024-07-31 09:47:10 +02:00
Hynek Schlawack
5f93a31aff
Switch to build-and-inspect-python-package ( #1307 )
...
* Switch to build-and-inspect-python-package
Use the occasion to factor out PyPy jobs which simplifies everthing.
* Only install pytest-codspeed when benchmarking
* No need to build twice on PRs
* No coverage on PyPy
* Still require PyPy to pass
* Actually remove codspeed from tests
* Separate glacial CodSpeed into own workflow
Might switch to on-demand/cron if we don't find a way for it to run
under 5 minutes.
* Get rid of version override
* Add missing needs
* Test should pass without src
* oops
* Make PyPy wheel-only, too
* Clarify
* Explain how the matrix works since everybody steals my stuff
2024-07-19 10:56:10 +02:00
Hynek Schlawack
1fd3af0b94
Write specific benchmarks for CodSpeed ( #1306 )
...
* Write specific benchmarks for CodSpeed
* Add frozen benchmark
* Remove instantiation noise
* Put into separate dir like cattrs
* Be consistent
2024-07-18 11:00:27 +02:00
Hynek Schlawack
3df6017637
Improve sponsor handling ( #1304 )
...
* Improve sponsor handling
* Try to use tox
* Use python instead of pip
* Be consistent
2024-07-17 13:27:30 +00:00
Hynek Schlawack
8079a35545
Python 3.8 doesn't pass on Mypy anymore
2024-07-15 11:26:57 +02:00
Hynek Schlawack
6e25a0c4f5
Unpin/fix Pyright ( #1302 )
...
* Unpin/fix Pyright
Fixes #1278
* Consistency
* Remove stale comment
* Add explanation why we need experimental features
2024-07-13 12:01:09 +02:00
Hynek Schlawack
6f64cd6d19
Cooperate on making CodSpeed work in tox ( #1300 )
...
* Cooperate on making CodSpeed work in tox
* Make CodSpeed an own job
* Install tox
* Limit benchmarks
7 Minutes are a bit long
* Still too many
2024-07-11 13:24:51 +02:00
Hynek Schlawack
0e031fc83c
CodSpeed needs more ENV
2024-07-11 12:26:33 +02:00
Hynek Schlawack
3bec9e1825
Add Codspeed ( #1299 )
...
* Add Codspeed
* Only run benchmarks on 3.12 (for now?)
2024-07-11 12:17:22 +02:00
Hynek Schlawack
46f1f35896
Pin Mypy & Pyright
...
Both are failing.
2024-04-24 16:28:53 +02:00
Hynek Schlawack
b201831a4b
Make tox.ini uv-ready
2024-03-16 18:00:52 +01:00
Hynek Schlawack
1d9f40ce78
Add Python 3.13 to CI ( #1256 )
...
* Add Python 3.13 to CI
* Add metadata
2024-03-07 11:26:21 +01:00
Hynek Schlawack
2087b3b1a5
tox: FORCE_COLOR & NO_COLOR are passed automatically now
2024-01-25 10:50:55 +01:00
Hynek Schlawack
249044cbaf
Run 3.12 under coverage instead of 3.11
2023-12-30 13:06:22 +01:00
Hynek Schlawack
0d1be891df
Build docs on 3.12
2023-11-28 13:26:27 +01:00
Tin Tvrtković
fb97252186
Bump mypy, fix tests ( #1190 )
...
* Bump mypy, fix tests
* Skip Mypy on 3.7
* Maybe?
* Maybe again?
* Fix old school tuple
* Fix test
2023-10-17 05:48:35 +02:00
Hynek Schlawack
985ce767ba
Run Mypy checks locally, too ( #1177 )
2023-08-17 09:33:55 +02:00
Hynek Schlawack
16dfa9f713
Stop using nodeenv ( #1178 )
...
Constant downloading of Node & Pyright is flaky and a waste of resources.
2023-08-17 09:20:45 +02:00
Hynek Schlawack
358a83636a
Its watching, not serving
2023-08-15 09:47:24 +02:00
Hynek Schlawack
f1bb113cfe
Split pyright into commands_pre and commands
2023-07-09 15:48:58 +02:00
Hynek Schlawack
26c5b9da86
Stop installing docs dependencies into dev environment
...
It's a lot of dependencies.
2023-07-09 11:41:34 +02:00
Hynek Schlawack
7c264ad4a5
Split out pre command
...
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
2023-06-26 18:10:27 +02:00
Hynek Schlawack
494ea59c84
No need for newline
2023-06-26 16:58:39 +02:00
Hynek Schlawack
d62832aad9
We only need this in .pkg
2023-06-26 16:49:09 +02:00
Hynek Schlawack
e920b7b08e
Build only one universal wheel when running tox ( #1154 )
...
* Build only one universal wheel when running tox
Sadly, hatch-autorun and tox seem to be fighting over env variables so
we create the pth file by hand.
* Simplify
* Configure pkg build env
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
---------
Co-authored-by: Bernát Gábor <690238+gaborbernat@users.noreply.github.com>
2023-06-26 16:18:30 +02:00
Hynek Schlawack
a074923138
Replace dependency with 1 line of tox.ini ( #1156 )
2023-06-26 15:19:41 +02:00
Hynek Schlawack
0a02d34f57
Use a distinct file name for default python versions ( #1146 )
...
* Use a distinct file name for default python versions
* Inspect bash settings
* Revert "Inspect bash settings"
This reverts commit b2f52baaeb
.
2023-06-13 09:40:14 +02:00
Hynek Schlawack
942fd76d41
Refresh tox / ci
2023-06-12 07:52:32 +02:00
Hynek Schlawack
da27d8f186
TOX_TESTENV_* doesn't work anymore
2023-06-10 11:21:59 +02:00
Hynek Schlawack
747b9ded2f
Simplify CI and use .python-version ( #1140 )
...
* Simplify CI and use .python-version
* Test CI on pypy 3.9 too
* We don't need .gitignore to keep the dir anymore
2023-06-04 07:33:48 +02:00
Hynek Schlawack
2b3a427147
Fix pyright for 1.1.311 ( #1138 )
...
They support converters now!
2023-06-03 12:12:03 +02:00
Hynek Schlawack
bf522367c0
Build docs on 3.11 ( #1101 )
2023-02-12 14:55:48 +01:00
Hynek Schlawack
2252f5bc41
Streamline tox.ini
2023-02-03 09:36:01 +01:00
Hynek Schlawack
0ec44257f7
Determine tox versions on our own ( #1098 )
2023-02-03 09:08:09 +01:00
Hynek Schlawack
95d8a76fb7
Unpin tox ( #1093 )
...
* Unpin tox
* Pass thru fake version
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-02 06:43:07 +01:00
Hynek Schlawack
42b8aa122f
Refresh sync reminders
2023-01-29 11:41:33 +01:00
Tin Tvrtković
14354bbd67
Update Mypy tests for new Mypy output ( #1070 )
...
* Update Mypy tests for new Mypy output
* Finish rebase
* Tweak tox mypy
* Limit tox version
2023-01-16 15:50:52 +01:00
Hynek Schlawack
d4934b14f1
Drop 3.6 & switch to 100% static packaging configuration ( #993 )
...
* Drop 3.6 & move to Hatch + static metadata
Use ubuntu-latest again
* Use hatch-autorun instead of coverage-enable-subprocess
* Fix hostname
* Simplify tox.ini
* Move changelog check to docs jobs
* Hatchling supports PEP 639 just fine
2023-01-11 16:50:27 +01:00
Sviatoslav Sydorenko
90f7590abf
Add unstable Python 3.12 to CI allowing failures ( #1033 )
...
* Add unstable Python 3.12 to CI allowing failures
* 🔧 Add a toxenv for 🐍 Python 3.12
* Account for 3.12 abc error @ test_remain_abstract
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-12-18 10:46:08 +00:00
Hynek Schlawack
afe211143d
Switch changelog to markdown ( #1067 )
...
* Switch changelog to markdown
* Add changelog except back to long description
* Fix MANIFEST.in
* Re-add towncrier draft entries
* Write the title outselves
* Add warning box
* Make changelog format more KeepAChangelog-ish
* Link latest changes to main tree
* Move link into warning
* KAC has no empty lines between entries
* There's no more .rst in the root dir
2022-12-07 09:15:46 +01:00
Hynek Schlawack
6c46bb19a0
Start building Dash/Zeal docsets for docs ( #1056 )
2022-11-25 08:30:34 +01:00
Hynek Schlawack
95841fc93e
Start moving docs to MyST / Markdown ( #1053 )
...
* Start moving to MyST
* More MyST
* Start using proper typography
2022-11-16 13:58:25 +01:00
Hynek Schlawack
a7eab33943
Block on CI egress ( #1035 )
...
* Block on CI egress
* Allow some endpoints
* Split pyright out since it's special anyways
* Make pyright required
2022-09-29 09:36:19 +02:00
Hynek Schlawack
eca0adc5ed
Fix 3.11
2022-09-28 09:49:28 +02:00
Hynek Schlawack
38bf3021da
Extract docs into own CI job
2022-09-28 09:42:21 +02:00