Wykres commitów

43 Commity (mono-upmix)

Autor SHA1 Wiadomość Data
nyanpasu64 0d1d0303ba Update dependencies to avoid yanked Matplotlib 3.9.1 2024-09-22 18:52:50 -07:00
nyanpasu64 b8283f42de Allow installing with NumPy 2.x
This allows testing for compatibility with the library version now
installed on Arch Linux.
2024-07-13 15:38:27 -07:00
nyanpasu64 cb9ffc10b9 Raise minimum Python version to 3.10
Poetry sets the pinned NumPy version based on the minimum allowed Python
version. Previously we set the minimum Python version to 3.8 (the last
version with Windows 7 binaries), so Poetry pinned NumPy to the last
version to support 3.8, which lacks wheels for modern Python. As a
result you could not install corrscope on modern Python through Poetry.

This commit sets the minimum Python version to 3.10. This breaks Windows
7 support (unless you use a custom newer Python build or override the
minimum Python version), but fixes corrscope Poetry installation on
newer Python versions. (corrscope wheel installation does not pin the
numpy version, so is exempt.) This also enables testing corrscope on
NumPy 2.0, which has incompatible changes.
2024-07-13 15:38:27 -07:00
fluffy kittem 197f712629
Fix deprecation warning on Matplotlib 3.7 and above (#463)
Raise minimum matplotlib version to 3.5 (still supported on Python 3.8
on Windows 7).

This fixes support with future Matplotlib 3.9, which removes
matplotlib.cm.get_cmap(). Newer versions of dependencies may be chosen
when installing corrscope using pip/pipx and wheels, rather than Poetry
or official binaries (which always use locked dependencies).
2024-02-06 17:22:52 -08:00
nyanpasu64 574c075312 Avoid depending on PyQt5-Qt5 5.15.12+ (only available on macOS) 2024-01-23 22:49:55 -08:00
nyanpasu64 04bec471fa Update pyinstaller to fix Windows builds failing to start 2024-01-23 22:45:24 -08:00
nyanpasu64 14705ab245 Downgrade PyQt5-Qt5 to avoid missing Windows wheels
See https://github.com/python-poetry/poetry/issues/8540.

I tried to find a way to use Python 5.15.11 on Mac and 5.15.2 on other
platforms, but Poetry ended up using 5.15.11 on Linux as well (which
failed). Let's just stick with 5.15.2, and force Qt6 on Mac ARM64 since
it probably looks better anyway.
2023-12-13 14:30:14 -08:00
nyanpasu64 3e40158f82 poetry update
ruamel.yaml does not work on Python 3.11. Stick to 3.10 (from pyenv)
until this is fixed.
2023-12-13 14:30:14 -08:00
nyanpasu64 37b4841824
Exclude preview/render thread from App Nap throttling on Mac (#428) 2022-05-15 20:56:08 -07:00
nyanpasu64 dcaf3fd18b Switch dependency to QtPy, add optional PyQt5 and PyQt6 2022-03-15 11:33:37 -07:00
nyanpasu64 77063472e6 Bump minimum NumPy version to 1.21 2022-03-09 03:09:33 -08:00
nyanpasu64 da3cfc02bf
Disable coverage measurements and codecov.io uploading (#401) 2022-03-09 03:05:00 -08:00
nyanpasu64 0ee5b7c71a Update to PyInstaller 4.10, workaround version incompatibilities
See
https://github.com/python-poetry/poetry/blob/master/docs/faq.md#why-is-poetry-telling-me-that-the-current-projects-python-requirement-is-not-compatible-with-one-or-more-packages-python-requirements
and
https://github.com/python-poetry/poetry/blob/master/docs/dependency-specification.md/#multiple-constraints-dependencies.
2022-03-07 20:09:30 -08:00
nyanpasu64 bcdacb0fdc Update to black 22.1.0, reformat code (exponentiation) 2022-03-07 19:35:54 -08:00
nyanpasu64 01799541b7 Upgrade dependency major versions 2022-03-07 19:31:52 -08:00
nyanpasu64 a2709c5a9e Bump minimum Python version to 3.8, update dependencies 2022-03-07 19:26:12 -08:00
nyanpasu64 667c38f5b6 Add colorspacious as dev dependency 2021-07-13 17:48:21 -07:00
nyanpasu64 50349d6eac Atomically save prefs.yaml to prevent file corruption
This adds a dependency on the atomicwrites package. Note that it was
already a transitive dev-dependency, but is now a direct dependency as
well.

On Linux, atomicwrites fsyncs the directory after saving. This is
unnecessary for consistency after a system crash, and slows down program
shutdown slightly. But I'm too lazy to vendor or rewrite the library to
not fsync the directory.
2021-06-14 15:45:41 -07:00
nyanpasu64 635f0f95e6 Update dependencies, fix unit tests on Python 3.9 2021-06-14 15:12:08 -07:00
nyanpasu64 e89fd11325
Update pinned numpy, fix `poetry install` on Python 3.8+ (#371)
The previously pinned NumPy 1.16.4 was very old
and didn't come with a prebuilt binary wheel for Python 3.8+.
As a result, trying to install corrscope on Python 3.8+ with the pinned
dependency versions (through `poetry install`, not through
`pip install corrscope`) tries (and fails) to build NumPy from scratch.

This updates the pinned NumPy (but not other dependencies) to 1.19.5,
which has prebuilt wheels up to Python 3.9 (the current latest release).

Poetry wouldn't upgrade to NumPy 1.20, since it requires Python 3.7
and we specify a minimum version of 3.6.

NumPy 1.19 is packaged properly by old PyInstaller.
2021-06-14 14:57:29 -07:00
nyanpasu64 8cca258e17 Update codecov library to fix CI uploading to codecov.io 2020-11-09 19:16:19 -08:00
nyanpasu64 4df77cd007 Update poetry.lock to version 1.1 (Poetry 1.1.4) 2020-11-09 19:08:16 -08:00
nyanpasu64 900785e277 Update PyInstaller to official build rather than my fork (#339) 2020-04-24 22:51:17 -07:00
nyanpasu64 734afb2658 new username uwu 2020-03-20 07:44:07 -07:00
nyanpasu64 cbefccda6c Fix Linux installation, don't pin PyQt5-sip to 4.x 2020-02-09 03:05:04 -08:00
nyanpasu64 dacdde0961 update ruamel.yaml to 0.16.5 2019-08-29 02:30:50 -07:00
nyanpasu64 2a6aafb02f Downgrade dependencies to fix Windows exe builds (#307)
Updating libraries caused pyinstaller to produce nonfunctional Windows
binaries, so revert the library updates.
2019-08-10 22:40:34 -07:00
nyanpasu64 678a3d48ba Install black as dev-dependency, run black --check in CI (#305)
This will result in 2 copies of black, 1 in pre-commit and 1 in dev.
I think that's acceptable though, as I install black locally anyway.
2019-08-10 15:10:21 -07:00
nyanpasu64 884113bcaf Upgrade pyproject.toml dependencies to latest releases
pyinstaller 3.5 contains patch fixing incompatibility with Python 3.7.
No need to use my custom fork based on Loran425 anymore.
2019-08-10 13:24:22 -07:00
nyanpasu64 33a5531da8 Update dependencies to fix pytest_cases bug
makefun 1.6.2 fixes a crash
when using @pytest_fixture_plus type annotations.

https://smarie.github.io/python-makefun/changelog/#162-bug-fix-with-type-hints-in-signature
2019-06-16 22:57:26 -07:00
nyanpasu64 ca563d30ca Switch to bugfix fork of pyinstaller, fix Appveyor builds (#249)
Editing poetry.lock should be performed through
https://github.com/nyanpasu64/poetry.

Otherwise, pyinstaller and all its dependencies will erroneously
be marked as "main". Effects:

    pyinstaller is installed when running poetry install --no-dev.
    pyinstaller is not included into poetry build (neither setup.py nor whl).
    does not affect pyinstaller/Appveyor builds.
2019-04-01 02:52:01 -07:00
nyanpasu64 b5c713b403 poetry update 2019-03-26 02:46:01 -07:00
nyanpasu64 38caac11a2 Remove dependency on more_itertools (#226) 2019-03-11 02:10:39 -07:00
nyanpasu64 da480dffe6 poetry add -D pytest_cases 2019-02-25 21:55:13 -08:00
nyanpasu64 0dfa25e62d poetry remove -D mypy (#175)
stop appveyor from reinstalling it anew on each CI run
2019-02-01 15:51:11 -08:00
nyanpasu64 9160958257 Use Mypy checking (#154)
Major changes:
- LayoutConfig._calc_layout() improved
- register_enum() replaced with DumpEnumAsStr (*very* iffy multiple inheritance)

i configured mypy to not care about missing annotations...
but most files are fully annotated via MonkeyType = big PR diff.
2019-01-25 22:50:19 -08:00
nyanpasu64 2ade05da84 poetry add appdirs 2019-01-16 01:16:39 -08:00
nyanpasu64 60ee4ecfc0 [poetry] Remove dependency on diff_cover, accelerate CI builds (#139)
diff_cover/diff-cover is only useful locally.
If you want it, install it via pip.
2019-01-14 23:20:42 -08:00
nyanpasu64 902afe54db [poetry] Add coverage.py, pytest-cov, diff-cover, codecov.io 2019-01-11 20:37:52 -08:00
nyanpasu64 96edbdd2c4 Update libraries (poetry.lock) 2019-01-08 13:22:58 -08:00
nyanpasu64 ccfe30ad54 [poetry] Remove scipy dependency 2018-12-23 00:33:12 -08:00
nyanpasu64 885f132ebb [poetry] Add pyinstaller dependency 2018-12-23 00:33:12 -08:00
nyanpasu64 f57232a4fb Switch from setup.py to poetry 2018-12-23 00:23:16 -08:00