Skip to content
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

[Bug] Failed building wheel of lxml on python12 & python11 #1

Closed
AyushSehrawat opened this issue Dec 8, 2023 · 5 comments
Closed

Comments

@AyushSehrawat
Copy link
Member

pip install -r requirements.txt fails on Ubuntu on python11 & python12. Works fine on python10.

image

On further investigation, it is related to the version of lxml, removing it fixed the issue but raised another issue

[2023-12-08 14:48:15 | DEBUG] <settings.load> - Settings loaded from settings.json
Traceback (most recent call last):
  File "/home/mini/projects/iceburg/src/main.py", line 10, in <module>
    from utils.ui_helpers import CustomJSONEncoder
  File "/home/mini/projects/iceburg/src/utils/ui_helpers.py", line 3, in <module>
    from flask.json import JSONEncoder
ImportError: cannot import name 'JSONEncoder' from 'flask.json' (/home/mini/.pyenv/versions/3.12.0/lib/python3.12/site-packages/flask/json/__init__.py)

Seems like newer version of flask.json doesn't have JSONEncoder.

@dreulavelle
Copy link
Member

Yes, I already know about this lol :)

@AyushSehrawat
Copy link
Member Author

@dreulavelle update or swith to fastapi ig 🙄

@dreulavelle
Copy link
Member

That's weird that it failed on 3.12 since that's the one I'm running on currently 😳

@AyushSehrawat
Copy link
Member Author

Which machine? I am on Ubuntu derivative PopOS 22.04 with pyenv

@AyushSehrawat
Copy link
Member Author

Solved with moving to fastapi and removing version requirements from requirements.txt

dreulavelle added a commit that referenced this issue Dec 14, 2023
* Add docker. Other light fixes for paths

* Fix docker pathing in program.py. Add missing watchlist key

* Fix saving/loading settings for abs paths

* Attempt #1: Move settings.json to data/settings.json

* Forgot to add Docker files lol

* Add import for Optional

---------

Co-authored-by: Dreu Lavelle <[email protected]>
dreulavelle added a commit that referenced this issue Oct 17, 2024
Gaisberg pushed a commit that referenced this issue Oct 17, 2024
dreulavelle added a commit that referenced this issue Oct 18, 2024
* feat: start refactor on id handling

* fix: more fixes towards handling ids

* fix: more work done

* fix: improved retry lib for logging

* fix: update deps and add psutil

* fix: more work on getting new content added

* fix: fix retry/reset endpoints

* fix: use event instead of add_item on retry endpoint

* fix: issue with duplicate symlink detection on db init

* fix: more work.. need to

* fix: fixed session management when processing threads

* fix: updated add_item

* fix: fix event processing with item_id handling

* fix: attempt #1 at duplicates

* fix: attempt #2. use same removal process as remove endpoint

* fix: check type first and delete duplicate shows appropriately

* fix: repurpose deletions to work on any item

* fix: revert duplicate changes. change retry lib back to normal, set to 24h

* refactor: rename private methods to public, remove filtering items in content services

* chore: rename store_item and add prefixes to threads to indentify

* chore: Events to hold service, not service name, fixes multiple notifications

* fix: stopiter error fix

* fix: add logging...

* fix: whoops

* feat: start refactor on id handling

* fix: more fixes towards handling ids

* fix: more work done

* fix: improved retry lib for logging

* fix: update deps and add psutil

* fix: more work on getting new content added

* fix: fix retry/reset endpoints

* fix: use event instead of add_item on retry endpoint

* fix: issue with duplicate symlink detection on db init

* fix: more work.. need to

* fix: fixed session management when processing threads

* fix: updated add_item

* fix: fix event processing with item_id handling

* fix: attempt #1 at duplicates

* fix: attempt #2. use same removal process as remove endpoint

* fix: check type first and delete duplicate shows appropriately

* fix: repurpose deletions to work on any item

* fix: revert duplicate changes. change retry lib back to normal, set to 24h

* refactor: rename private methods to public, remove filtering items in content services

* chore: rename store_item and add prefixes to threads to indentify

* chore: Events to hold service, not service name, fixes multiple notifications

* fix: stopiter error fix

* fix: add logging...

* fix: whoops

---------

Co-authored-by: davidemarcoli <[email protected]>
Co-authored-by: Gaisberg <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants