fgcz / bfabricPy

API and commad line tools for b-fabric

Home Page:https://fgcz.github.io/bfabricPy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for python 3.9

CodingKaiser opened this issue · comments

commented

Hi there dev team

Would it be possible to add support for python 3.9? I have it working just changing the dependency requirements in the setup files, but this is obviously a bit risky in the long-run.

Much appreciated.

@CodingKaiser on my M1 I am using already 3.9 since the beginning.

130 cp@leda:~ % which bfabric_read.py                                                                           21-12-10|14:39:52
/Library/Frameworks/Python.framework/Versions/3.9/bin/bfabric_read.py
0 cp@leda:~ % /Library/Frameworks/Python.framework/Versions/3.9/bin/bfabric_read.py                             21-12-10|14:39:57
130 cp@leda:~ % bfabric_read.py dataset id 41358 | head                                                         21-12-10|14:40:03
--- webbase https://fgcz-bfabric.uzh.ch/bfabric; login; pfeeder ---
bfabricPy version 0.11.4 (2021-09-07) -- "suds-py3"    
Copyright (C) 2019 Functional Genomics Center Zurich

--- query = {'id': '41358'} ---
--- possible attributes are: _id, _classname, deletable, updatable, created, createdby, modified, modifiedby, name, description, attribute, container, item, numberofattributes, numberofitems. ---
--- number of query result items = 1 ---
--- query time = 0.41 seconds ---
(xmlDataset){
   _id = 41358
   _classname = "dataset"
   deletable = "true"
   updatable = "true"
   created = "2021-12-10 12:41:44"
   createdby = "tobiasko"
   modified = "2021-12-10 12:51:31"
   modifiedby = "tobiasko"
   name = "FragPipe manifest"
0 cp@leda:~ %                                                                                                   21-12-10|14:40:14
commented

Yes, I've been using it successfully on Python 3.9 as well. I believe I had to change python_requires = ">=3.6" initially so it would install, but it appears this is already the case. 👍