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

Won't build on Python 3.12. Remove lock files and rebuild fixes. #3

Open
ssteinerx opened this issue May 16, 2024 · 1 comment
Open

Comments

@ssteinerx
Copy link

The specific version soup specified in poetry.lock result in a version hunt on aiohttp that fails:

...
- Downgrading aiohttp (3.9.5 -> 3.8.5): Failed

...lots of compiler warnings and a few hard errors trying to build 3.8.5

Kill the lock files and poetry install and it figures it out.

I didn't go any deeper into why; doesn't seem important.

@slavaGanzin
Copy link

slavaGanzin commented Aug 2, 2024

Traceback (most recent call last):
  File "/Users/slava/.asdf/installs/python/3.12.4/bin/kupo", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/kupo/app.py", line 384, in run
    FilesApp.run(css_file=directory / "kupo.css")
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/textual/app.py", line 206, in run
    asyncio.run(run_app())
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/slava/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/textual/app.py", line 203, in run_app
    app = cls(screen=screen, driver_class=driver, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: App.__init__() got an unexpected keyword argument 'css_file'

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