aisk / pick

create curses based interactive selection list in the terminal
MIT License
721 stars 60 forks source link

Add Python 3.12 to test matrix #115

Closed aisk closed 4 months ago

aisk commented 4 months ago

Update pyyaml to 6.0.1

The current pyyaml version 6.0.0, which is pinned in the lock file, hasn't released a wheel format version for Python 3.12, which makes it difficult to install on the CI server. This change updates the pyyaml version to 6.0.1 to avoid this issue.

Update windows-curses to 2.3.2

Windows-curses only supports Python 3.12 in version 2.3.2, so we have bumped the version to that one.

Update poetry to 1.5.1 in GHA

Poetry's lock file cannot be used with different versions, and we are using version 1.2 in GitHub Actions. However, when I used it on my local machine to update the lock file when bumping pyyaml versions, it took almost an hour and didn't finish the job.

Poetry 1.5.1 is the last version that supports Python 3.7, so I have just updated it to this version. Maybe we should drop support for Python 3.7 in the future, as it's outdated and maintaining it may introduce a lot of trouble.

aisk commented 4 months ago

The ubuntu-18.04 CI worker seems deprecated and will be queued for a really long time: https://github.com/actions/runner-images/issues/6002

If there is no a specified reason to run the test under it, I'll remove it in this PR. cc @wong2