Commit Graph
10 Commits
Author SHA1 Message Date
matt-o-howandGitHub 235340a24b Prevent None version in __init__.py (#20453)
* prevent None version

* Fix comparison of __version__ to None
2026-02-04 10:13:19 -08:00
matt-o-howandGitHub 1e78fdf8a1 Add extra ignore in pytest.ini to prevent occasional breaking for a DeprecationWarning (#20315)
* add extra ignore in pytest.ini

* catch keyerror

* pythonic representation

* ruff import order
2025-12-04 09:36:55 -08:00
e8f5a17888 python 3.13 support (#19123)
* python 3.13 support

* some more

* 3.13 for dep checks

* more 3.13  *confused*

* fixup

* fixup

* update expected signature in 3.13

* fixup _attach/_detach hinting and testing

* ban freethreading

* Fix trailing comma in list

* replace legacy kw_only_dataclass decorator

* Adjust check for python version

* Remove debugging output

* Use reruns for 3.13+Windows flakes only

* re-lock poetry

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Matt Hauff <quexington@gmail.com>
2025-10-23 15:41:26 -05:00
Kyle AltendorfandGitHub 5a7fdd8c14 check on import that assertions are working (#19208) 2025-02-04 09:49:52 -07:00
Kyle AltendorfandGitHub 302e7e7f81 use importlib.metadata to get package versions (#14753)
* use importlib_metadata to get package versions

* ignore untyped call

* stop ignoring the deprecation warning

* Revert "stop ignoring the deprecation warning"

This reverts commit 931fe8c794.

* include chiapos version data

* tweak
2023-09-27 15:01:08 -05:00
Kyle AltendorfandGitHub dbf114a524 move pyinstaller.spec out of the package into build_scripts/ (#16342) 2023-09-18 11:29:06 -05:00
Kyle AltendorfandGitHub 3b084a165b configure isort to add the future annotations import (#13327)
* configure isort to add the future annotations import

* apply the new isort setting

* remove type ignores for new mypy (#13539)

https://pypi.org/project/mypy/0.981/

* another
2022-09-30 03:40:22 -05:00
Kyle AltendorfandGitHub 50857caf8c make multiprocessing start method configurable (#10528)
* make multiprocessing start method configurable

* forkserver

* corrections

* fixup

* optional

* more optional

* stop attempting anchors in the yaml

* rework config handling

* comment
2022-03-03 10:27:36 -08:00
Kyle AltendorfandGitHub 89740234e7 spawn (not fork) for multiprocessing (#10322)
* spawn (not fork) for multiprocessing

* just append _worker to existing process names

* return properly in getproctitle()

* black

* ignore for unhinted getproctitle()

* Add comments about the setting of the multiprocessing start method
2022-02-24 20:08:06 -08:00
Richard KissandGene Hoffman f2b577dda1 git mv src chia 2021-04-04 21:41:39 -07:00