[v2.0.3] Early November 2023
[2.0.3] Early November 2023
Word from the author:
Thanks for your patience everyone! This is a minor release with little changes for most users, but nonetheless a breaking change. Therefore, it was required to update Inkycal to v2.0.3. While recommended, this time it is not strictly required to update Inkycal. With the release of the latest version of Raspberry Pi OS (Oct 2023), numpy, pyowm and Pillow would no longer work as expected. A minor refactoring was required to ensure everything stays up to date and that Inkycal can run on Python 3.11, which is now the standard in Raspberry Pi OS.
A big shoutout to all the contributors of Inkycal on Github, Discord and Tindie. Thank you very much for your help, effort and time!
Thank you very much to all those who provided excellent support on Discord to new users, gave feature suggestions, found bugs and bugfixes 🥇
As some of you have noticed, Inkycal is now available as a plug-and-play device on Tindie!
The profit of these purchases and donations were re-invested into Inkycal, partially used on coffee(because developers tend to work more efficiently with it), to cover expenses, to buy and add support for new E-Paper displays in Inkycal while donating a portion to those in need.
Release notes
Changed
- Switched from pyowm to custom wrapper as pyowm only works up to python3.9, which is now outdated.
- Updated dependencies to the most-recent supported version
Fixed
- Fixed python 3.11 issues with numpy on Raspberry Pi OS
- Fixed compatibility issues with Pillow when switching from v9.x to v10.x, particularly font width and height operations
- Renamed tests according to python standards, starting with
test_..
, allowing unittest/pytest to automatically discover and run these tests.
Upgrading instructions from Inkycal v2.0.2 to v2.0.3:
- Navigate to the Inkycal folder, then run:
git pull
- If you were using the weather module and you used your city-name instead of the location id, follow these instructions:
- Head to https://openweathermap.com and find your city. Copy the last part of the URL, e.g. if the URL is https://openweathermap.org/city/2825297, the location-id is
2825297
. Copy this ID.
- Edit your
settings.json
file:
nano path/to/my/setting.json
# if you get permission errors, you can also use sudo:
sudo nano path/to/my/setting.json
Then find the "location"
in the weather module's config, and replace the current value with the ID. It should look like this:
"location": "2825297",
Save the changes by pressing [CTRL] + [X] at the same time, then press [Y] to confirm.
4) Test Inkycal. Navigate to the Inkycal directory, then run:
source venv/bin/activate
python inky_run.py
If it works correctly, reboot with sudo reboot
If you run into issues, please do not hesitate to open up an issue on Github or letting me know via Inkycal on Discord.