New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importlib-metadata bumped to >=4.4 in release version 3.3.5 - compatibility breaking change #1203
Comments
Are you suggesting us to bump version to 4.0.0 just because of an extra dependency? This dependency is quite widespread, comes from Python developers and I don't see why having it may be a problem. Maybe you have the same issue as #1200, i.e. conflict with pyflakes? In this case I would suggest pinning Markdown to an earlier version until pyflakes bug is fixed. |
Exactly because As far as I can tell,
From the user's perspective, the expectation with projects using semver is that any potentially breaking change will cause a major version bump. My suggestion would be to either:
Hope this makes sense, please let me know if I can provide more examples. Thank you |
Can you explain why upgrading importlib-metadata is a problem? As far as I can tell, its API is backwards compatible, so even if some other part of your project calls it without |
@mitya57 I am not explicitly importing any version of importlib-metadata, but the dependencies in my environment (mainly |
|
Thanks @facelessuser, I do agree this is more of an hindsight conversation at this point. I've pinned |
For the record, version 4.4 of |
- 3.3.6 broke requirements for Python3.7 - see also Python-Markdown/markdown#1203 - "django-bootstrap3 21.1 has requirement importlib-metadata<3; python_version < "3.8", but you'll have importlib-metadata 4.4.0 which is incompatible"
Hello team, thanks for the work! I'm a bit confused as I see that markdown support python 3.6->3.10. So I would suggest restricting importlib-metadata to >=3.0.0 to keep backward dependencies compatible code with the ecosystem (who is not up to date with python 3.10 which requires 4.4 ;) ). I'm downgrading markdown to 3.3.4 due to that but it makes me sad. Theorie reasoning behind. With the lighter constraint, i'll be able to have markdown installed in every python3.6 -> 3.10 ecosystem I discovered that pip6 support python version constraint so it could be something like that (didn't test it):
|
* refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * removed deprecated file * pycharm runs as "other", so the 777 is needed * rollback broken queries merged by #112 * added ALSA install to script to avoid breakage on Ubuntu Server instances * Added handling for arm group/user already existing * Added installs for lsscsi and net-tools * Added coloration to logging statements * Added Markdown v3.3.4 explicitly to requirements.txt, to fix breaking change caused by 3.3.5 (see Python-Markdown/markdown#1203) * Putting alsa install first to hopefully fix continuing error calling aplay in scripts * fixed out of order parameters * fixed bad parameter * updated the clone command for testing updated requirements * moved checkout command a better spot * fixed typo * fixed typo * Ubuntu loud script fix for 1337-server/automatic-ripping-machine issue #111 * Ubuntu quiet script fix for 1337-server/automatic-ripping-machine issue #111 * added logic to prevent duplicating fstab entries * Moved heredocs to custom files * fixed typos * fix for broken service start * refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * removed deprecated file * pycharm runs as "other", so the 777 is needed * added ALSA install to script to avoid breakage on Ubuntu Server instances * Added handling for arm group/user already existing * Added installs for lsscsi and net-tools * Added coloration to logging statements * Added Markdown v3.3.4 explicitly to requirements.txt, to fix breaking change caused by 3.3.5 (see Python-Markdown/markdown#1203) * Putting alsa install first to hopefully fix continuing error calling aplay in scripts * fixed out of order parameters * fixed bad parameter * updated the clone command for testing updated requirements * moved checkout command a better spot * fixed typo * fixed typo * Ubuntu loud script fix for 1337-server/automatic-ripping-machine issue #111 * Ubuntu quiet script fix for 1337-server/automatic-ripping-machine issue #111 * added logic to prevent duplicating fstab entries * Moved heredocs to custom files * fixed typos * fix for broken service start * refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * removed deprecated file * pycharm runs as "other", so the 777 is needed * added ALSA install to script to avoid breakage on Ubuntu Server instances * Added handling for arm group/user already existing * Added installs for lsscsi and net-tools * Added coloration to logging statements * Added Markdown v3.3.4 explicitly to requirements.txt, to fix breaking change caused by 3.3.5 (see Python-Markdown/markdown#1203) * Putting alsa install first to hopefully fix continuing error calling aplay in scripts * fixed out of order parameters * fixed bad parameter * updated the clone command for testing updated requirements * moved checkout command a better spot * fixed typo * fixed typo * Ubuntu loud script fix for 1337-server/automatic-ripping-machine issue #111 * Ubuntu quiet script fix for 1337-server/automatic-ripping-machine issue #111 * added logic to prevent duplicating fstab entries * Moved heredocs to custom files * fixed typos * fix for broken service start * refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * removed deprecated file * pycharm runs as "other", so the 777 is needed * Added handling for arm group/user already existing * Added installs for lsscsi and net-tools * Added coloration to logging statements * Putting alsa install first to hopefully fix continuing error calling aplay in scripts * fixed out of order parameters * fixed bad parameter * updated the clone command for testing updated requirements * moved checkout command a better spot * fixed typo * Ubuntu loud script fix for 1337-server/automatic-ripping-machine issue #111 * added logic to prevent duplicating fstab entries * Moved heredocs to custom files * fixed typos * refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * pycharm runs as "other", so the 777 is needed * added ALSA install to script to avoid breakage on Ubuntu Server instances * Added handling for arm group/user already existing * Added installs for lsscsi and net-tools * Added coloration to logging statements * Putting alsa install first to hopefully fix continuing error calling aplay in scripts * fixed out of order parameters * fixed bad parameter * updated the clone command for testing updated requirements * moved checkout command a better spot * fixed typo * Ubuntu loud script fix for 1337-server/automatic-ripping-machine issue #111 * added logic to prevent duplicating fstab entries * Moved heredocs to custom files * fixed typos * refactored into functions * added handling harness for script options * added logic to run proper installation function * Fixed errors * added pycharm-community install * implemented install_arm_dev_env * implemented launch_setup * added call for launch_setup * minor change for clarity * hard-coding path since the user folder is already created * refactored to run in correct dirs * fixed command to run under arm user * fix command to properly run without hanging script * moved dev environment installation location * grab the ip of the site that's now running * fixed errors and added logic * Fixed permissions issue * pycharm runs as "other", so the 777 is needed * reverted changes * removed deprecated checkout * fixed typo * delete old symlinks broken by the reinstallation process * fixed typo * auto-accept bc these repos are core to the install * remove deprecated checkout command * fixed broken evaluations * fixed not finding the existing armui.service due to the space being where a / should be * stop and remove and existing ARM install to avoid FileNotFound errors caused by the service being deleted after the source code it runs is deleted during script runtime * refactored repeated logic into function run_makemkv(cmd) * added update_key.sh * installer now sets permissions for the new update_keys.sh * fixed permissions set on the service file during install * updated install scripts to set proper permissions for update_key.sh * Overhaul of makemkv.py, everything needed to be done at the same time (I know, I know...) * added noqa tags for variables that aren't being used * Nicer printing of the logging statement * Make sure each title is transcoded in order * updated LICENSE * Removed getkeys.py * Updated VERSION * Revert "Removed getkeys.py" This reverts commit 2e73b5d. * Fix bug in file sorting * Update deb-install-quiet.sh * Update debian-setup.sh * Create docker-publish.yml * Update docker-publish.yml * Update README.md * Push to dockerhub * Delete build-push-action.yml * Delete docker-publish.yml * Create docker-publish.yml * more github action tests * Update docker-publish.yml * Update docker-publish.yml * Fixes #128 - doc strings showed wrong types leading to confusion Index page will now correctly update the card header with correct details * cleaning some js code to reduce warnings/errors * cleaning some js code to reduce warnings/errors * Removing unused variables from makemkv Adding the progress from makemkv to logging Cleaning some js code to reduce warnings/errors (tested FF&Chrome) * Removing commented unused code Small refactoring to be more compliant * fix variable name * flake8 * Fixes #129 * Revert "Merge branch 'v2_master' into v2_devel" This reverts commit 58cb03a, reversing changes made to 4b0793d. Co-authored-by: wolfy <wolfy@shitwolfymakes.com> Co-authored-by: wolfy <wolfy@shitwolfymakes>
As part of the changes released with Markdown version 3.3.5 last week,
importlib-metadata
was bumped to>=4.4
:and a reference to the
group
kwarg was added in the code:These are compatibility breaking changes and are breaking downstream projects. In my case I am running into compilation issues when picking up Markdown as part of
apache-airflow==2.1.0
. Why was this not released as 4.0.0? What options do I have? Thank you very much for your help!The text was updated successfully, but these errors were encountered: