Comments (11)
Interesting, thanks for doing this. Guess they changed the interface of these classes. Any idea of a remedy?
from aiofiles.
I'm afraid I don't have any. I'm just mass-testing Gentoo packages against Python 3.12 right now.
from aiofiles.
python/cpython@743453a#diff-6553a99f3ae04c9fc9c2349ac27037bfe3b274d5ca54d5800d9c5b5f11e29d21L470 is the change in question.
from aiofiles.
There is a new delete_on_close
parameter for tempfile.NamedTemporaryFile
in Python 3.12 that may be relevant, but Iām not prepared to wade through all the indirection to propose a patch at the moment.
from aiofiles.
I think I got this fixed on main
! Let me know if I'm wrong.
from aiofiles.
I think I got this fixed on
main
! Let me know if I'm wrong.
Seems to work in Fedora Linux. Thanks!
from aiofiles.
I can also confirm that this fixes the problem for me. Could you make a new release, please? This change is a little big for us to backport to Gentoo.
from aiofiles.
I was hoping to wait until 3.12 was released in case they break us again, but I can release sooner.
from aiofiles.
Technically, 3.12 is in beta (and almost RC) already, so it shouldn't be breaking anything anymore.
from aiofiles.
@mgorny alright, I'm ready to release 23.2.0. Can you test once again with main before I do that?
from aiofiles.
@mgorny alright, I'm ready to release 23.2.0. Can you test once again with main before I do that?
Sure. It's all green. Thanks!
207 passed, 4 skipped in 2.61s
from aiofiles.
Related Issues (20)
- not found function HOT 8
- Does aiofiles.write support to write a new line for each message? HOT 3
- NamedTemporaryFile doesn't have ... a name? HOT 2
- What is the purpose of binding each file to a particular loop? HOT 1
- ModuleNotFoundError: No module named 'aiofiles.threadpool' HOT 1
- Release 22.2.0? HOT 1
- Cancel a pending open() call HOT 1
- Version compatibility v0.8.0 and v23.1.0 HOT 1
- *importlib.resources* support HOT 2
- add "aiofiles.path.walk" or "aiofiles.path.listdir" HOT 1
- How to create NamedTemporaryFile without the context manager? HOT 2
- It doesn't work to read pdf files? HOT 3
- Possible bug: unclosed file warning HOT 2
- Async os.walk attempted solution HOT 1
- statvfs is not available on windows HOT 3
- [Bug] os.statvfs is only available on Unix-like systems HOT 1
- Compatibility with `CloudPath` class in `cloudpathlib`
- No overloads for "open" match `str` HOT 1
- No implementation of cwd or abspath? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiofiles.