Code Monkey home page Code Monkey logo

Comments (13)

agronholm avatar agronholm commented on August 16, 2024 2

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.

agronholm avatar agronholm commented on August 16, 2024 2

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.

nonsleepr avatar nonsleepr commented on August 16, 2024 1

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.

agronholm avatar agronholm commented on August 16, 2024 1

1.0 final is out now.

from anyio.

agronholm avatar agronholm commented on August 16, 2024

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.

agronholm avatar agronholm commented on August 16, 2024

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.

madsmtm avatar madsmtm commented on August 16, 2024

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.

agronholm avatar agronholm commented on August 16, 2024

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.

madsmtm avatar madsmtm commented on August 16, 2024

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.

nonsleepr avatar nonsleepr commented on August 16, 2024

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.

agronholm avatar agronholm commented on August 16, 2024

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.

agronholm avatar agronholm commented on August 16, 2024

Ok, I've now fixed all the cancellation bugs I could find.

from anyio.

agronholm avatar agronholm commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.