Comments (13)
I was able to make some progress on the cancellation semantics front (my refactored curio code had a problem). Anyio is my current pet project and it's blocking all the other cool things I want to do, hence my dedication.
from anyio.
I know it's over an hour past my self imposed deadline, but I've now done everything I wanted to do for v1.0.0 final. However, due to the extensive refactoring I had to do I wasn't yet comfortable putting out a final release. Thus, I've released v1.0.0rc1. I hope you're not too disappointed.
from anyio.
Yeah, pipenv
is quite opinionated and makes (incorrect?) assumptions about versions. On the other hand, anyio
doesn't have any release versions at all. Why start with 1.0.0
if there's not release yet? Maybe releasing the current version as 0.1.0
now would solve some problems?
Apparently, asks
switched to anyio
two weeks ago.
I've created theelous3/asks#117 in an attempt to address the issue on asks
side.
from anyio.
1.0 final is out now.
from anyio.
This is a problem with pipenv. Pip itself has no problem installing a pre-release if it's the only option. What did you mean for me to do about this anyway? I'm not ready to make a final release until some serious outstanding issues have been resolved.
As an aside, I didn't realize the official branch of asks already depended on anyio.
from anyio.
Issue #37 has been blocking progress for many weeks. I wanted to properly understand and deal with the problem rather than just accept the first offered solution. I've been working on it locally and have implemented several improvements along the way.
I've also created issues for the two other tasks I want to sort out before the 1.0.0 final release.
from anyio.
As @nonsleepr noted, can't you just make a 0.1.0
, or even a 0.0.1
release? That signals that the project is still in development, and does not guarantee any API stability, but it'll still allow people to install it using pip
/pipenv
. I'll put a link to Semantic Versioning, in case you're not really familiar with it.
from anyio.
As @nonsleepr noted, can't you just make a 0.1.0, or even a 0.0.1 release?
If I were making the first release, this would be acceptable, but I've already made several v1.0.0 pre-releases which would compare as higher than 0.1.0, making the versioning illogical. But I promise to speed up the development and try to get v1.0.0 final out this weekend or next week at the latest.
I'll put a link to Semantic Versioning, in case you're not really familiar with it.
As stated in the version history, anyio already follows semantic versioning.
from anyio.
Whoops, sorry, didn't catch that document 😉. And you're right, I didn't think the versioning fully through, of course there's problems with releasing an earlier version than the current one, though perhaps it's possible? I haven't tried it, so I don't know how PyPI/pip
handles it?
But anyhow, no need to stress and make hasty decisions, make the release when you feel the project is ready! 😊
from anyio.
I feel bad that you have to make promises on the timeline.
Looks like the problem I stumbled on is caused by me using pre-release version of asks
. The most recent published to PyPI version of Asks to date (2.2.1
) uses multio
and I used the version from GitHub (with the fixes I need), so I should have used pipenv install --pre
to install all my dependencies.
Anyway. Take your time with the final release.
from anyio.
So, good news and bad news. I made some major progress and was able to refactor the cancellation system, along with implementing one of two last remaining 1.0 final features. The bad news is that by chance I discovered a problem (#46) with the new cancellation implementation. I'm hopeful that I can address the problem this weekend, but I will not release 1.0 final before it's taken care of.
from anyio.
Ok, I've now fixed all the cancellation bugs I could find.
from anyio.
I just made another RC release which contains tons of fixes and enhancements. The only thing holding me back from a final release now is that apparently two asyncio tests are failing on Windows. I cannot work on those problems before I get back home from PyCon due to the lack of a Windows machine.
from anyio.
Related Issues (20)
- Re-raising a CancelledError after catching it in an ExceptionGroup confuses asyncio backend HOT 6
- Reinstate "collapse exception group" in TaskGroup exception handling HOT 8
- Opening a CancelScope with shield=True also shields sibling tasks on asyncio backend HOT 15
- Backend specific options don't appear to be used HOT 7
- Backend options `use_uvloop` throws import error on test runner if `uvloop` is not installed HOT 7
- sent_count, received_count for MemoryObjectStreamStatistics HOT 1
- Anyio run with pytest but wasn't asked for it HOT 6
- Don't wrap exceptions in `ExceptionGroup` if only one exception is raised on Python<3.11 HOT 10
- `run_process` with `fail_after` causes RuntimeError on timeout
- `ClosedResourceError` vs. `BrokenResourceError` is sometimes backend-dependent, and is sometimes not raised at all (in favor of a non-AnyIO exception type)
- Add `deliver_cancel` parameter and `start` support to `run_process`
- Suspicion of flaky test: test_cancelscope_propagation_when_abandoned HOT 1
- Stricter typing for `TaskGroup.start()` HOT 1
- Cancelling a TaskGroup in which a task is starting all also cancel the TaskGroup in which it is due to run HOT 4
- [pytest] support keeping event loop for higher scope HOT 10
- Restore signal handlers at the end of `open_signal_receiver`. HOT 3
- service name not available for the specified socket type HOT 20
- RuntimeError when using Ctrl+C while awaiting a task using `await TaskGrup.start()` HOT 5
- 100% CPU load after cancel HOT 13
- run_process fails when running from .exe console_script entrypoint on windows HOT 21
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 anyio.