Comments (8)
Or maybe not, because dictionary insertion order was not there yet.
from incense.
Hi! Is incense supposed to support Python 3.5? There are a bunch of f-strings in the code... Have you decided not to support it? Requiring 3.6 makes docker images based on distros running 3.5 quite larger...
from incense.
Hi, unofficially Python 3.5 is supported, though I do not want to commit to supporting it officially, as this brings other liabilities. f-strings are made to work with py35 using the future-fstrings
package.
from incense.
I've seen that future-fstrings is used, but for some reason it does not always work. In an ubuntu 16 based container with python 3.5.2 installed and pip3 install incense==0.0.8
ran, the encoding magic is not picked.
However, I just found the problem: having tokenize-rt==3.0.1
results in
69dc15f301f1:~$ python3
Python 3.5.2 (default, Aug 18 2017, 17:48:00)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import incense
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/incense/__init__.py", line 2, in <module>
from .experiment_loader import ExperimentLoader
File "/usr/local/lib/python3.5/dist-packages/incense/experiment_loader.py", line 87
key = f"config.{key}"
^
SyntaxError: invalid syntax
>>>
Downgrading to 2.2.0 solved the issue 🤷♂️
Sorry for the noise!
from incense.
Your welcome, though I do not really understand the problem with tokenize-rt...
from incense.
Maybe it makes sense to add tokenize-rt==2.2.0
to your requirements.txt. At least for me, letting pip install the latest from some other package's requirements breaks future-fstrings, and that version works perfectly fine.
from incense.
Good idea! I did this in the latest commit. Thanks for reporting this!
from incense.
Maybe it makes sense to add
tokenize
downgrading tokenize-rt to 2.2.0 worked for me!
from incense.
Related Issues (20)
- Add loader that supports mlflow
- Add find_most_recent method
- Add sphinx documentation
- Decode configs with jsonpickle
- Adapt observer interface in example experiment HOT 1
- Add documentation about running tests HOT 1
- Add check that demo notebook runs without errors
- Decoding numpy arrays require import sacred HOT 1
- Add .env file for dev container setup
- Fix binder deployment
- incense 0.0.10 cannot support the FileSystemExperimentLoader HOT 2
- Multiple reducer in QuerySet.project
- Slow when loading many experiments over network
- Allow to pass host and port separately to ExperimentLoader
- Unify filesystem and mongo experiments and loaders
- Load info dict in FileSystemExperiment
- Release in PyPI HOT 4
- Migrate to Github Actions
- add artifact to experiment with Incense
- Add interface to load experiments lazily from a query
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 incense.