python-trio / trio-asyncio

a re-implementation of the asyncio mainloop on top of Trio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change trio requirement version ?

touilleMan opened this issue · comments

Currently setup.py specifies trio~=0.4.0 but 0.5.0 has been released which create warnings such as:

$ pip install -e .
Obtaining file:///home/emmanuel/projects/triopg
  Installing build dependencies ... done
Collecting trio (from triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/92/12/e31035a5b18c4a7c70ff9adc559de7853112303e16ef956cdaeb2833ade3/trio-0.5.0-py3-none-any.whl
Collecting trio-asyncio (from triopg==0.0.0)
  Downloading https://files.pythonhosted.org/packages/fd/42/29e27cecd1ac39b3b69c754fa5c5f683dc3ddfc88e72ae5367bd3d648ce6/trio_asyncio-0.7.5.tar.gz (116kB)
    100% |████████████████████████████████| 122kB 1.9MB/s 
Collecting asyncpg (from triopg==0.0.0)
  Downloading https://files.pythonhosted.org/packages/be/63/8d9adcd97a6b6bb0d720931496c7f520123e2f83c2a5c554b07dfe4e2628/asyncpg-0.17.0-cp35-cp35m-manylinux1_x86_64.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 2.1MB/s 
Collecting contextvars>=2.1; python_version < "3.7" (from trio->triopg==0.0.0)
Collecting async-generator>=1.9 (from trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/d9/c9/4a1806709a86b0e81849abb51242a4c6cfaba9c52dce05828e9125d7081d/async_generator-1.9-py3-none-any.whl
Collecting attrs (from trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl
Collecting outcome (from trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/3d/d5/701ce5cccd245841557191c087bfa0a56d8b0231191f5ab7bc27f62a5876/outcome-0.1.0-py2.py3-none-any.whl
Collecting sortedcontainers (from trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/cb/53/fe764fc8042e13245b50c4032fb2f857bc1e502aaca83063dcdf6b94d223/sortedcontainers-2.0.4-py2.py3-none-any.whl
Collecting idna (from trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting immutables==0.5 (from contextvars>=2.1; python_version < "3.7"->trio->triopg==0.0.0)
  Using cached https://files.pythonhosted.org/packages/6a/25/bf53caefbe2549ed787442787b9469121824f1598d5b2437d680f9c133ca/immutables-0.5-cp35-cp35m-manylinux1_x86_64.whl
Building wheels for collected packages: trio-asyncio
  Running setup.py bdist_wheel for trio-asyncio ... done
  Stored in directory: /home/emmanuel/.cache/pip/wheels/ad/55/d3/268bae430b8c1d1f42772a5e599333caea476193c8f2ee952d
Successfully built trio-asyncio
trio-asyncio 0.7.5 has requirement trio~=0.4.0, but you'll have trio 0.5.0 which is incompatible.
Installing collected packages: immutables, contextvars, async-generator, attrs, outcome, sortedcontainers, idna, trio, trio-asyncio, asyncpg, triopg
  Running setup.py develop for triopg
Successfully installed async-generator-1.9 asyncpg-0.17.0 attrs-18.1.0 contextvars-2.2 idna-2.7 immutables-0.5 outcome-0.1.0 sortedcontainers-2.0.4 trio-0.5.0 trio-asyncio-0.7.5 triopg

(the error is the trio-asyncio 0.7.5 has requirement trio~=0.4.0, but you'll have trio 0.5.0 which is incompatible. line)

Is there a reason for this pinned version ?

No. Preparing a new release etc.

unpinned.