GithubHelp home page GithubHelp logo

Comments (10)

David-OConnor avatar David-OConnor commented on September 26, 2024 1

In the meanwhile, you can add this to pyproject.toml:

[tool.pyflow]
py_version = "3.8"

You can change it manually, or with switch.

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

Bug introduced in a recent version

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

It looks like it might have been working as intended after all (It just switched the version in pyproject.toml.) In the latest commit, it now also updates the environment and syncs dependencies as required, which I think is an expected/better behavior. Given my intent for this is to be as easy-to-use as possible, this was a needed fix.

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

Additionally, a recent version made almost all the commands sync/setup as required, ie so you can just run what you need without setup, assuming pyproject toml is correct. Eg just run pyflow naked.

from pyflow.

madig avatar madig commented on September 26, 2024

It installs deps for 3.8 now, but running pyflow still drops me into a 3.6 shell :o

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

I'm able to repro; standby.

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

This is caused by a bug in reconciling Poetry's pyproject.toml syntax for specifying python versions and Pyflow's.

from pyflow.

madig avatar madig commented on September 26, 2024

Thanks, but no rush :) I'm just playing around when I have some time, I'm not expecting you to fix bugs on a weekend 😃

from pyflow.

David-OConnor avatar David-OConnor commented on September 26, 2024

Released.

from pyflow.

madig avatar madig commented on September 26, 2024
/t/statmake (master|✚1…) $ pyflow switch 3.8
Switched to Python version 3.8
🐍 Setting up Python...
⬇ Installing cattrs 0.9.0 ...
⬇ Installing fonttools 4.2.2 ...
Added a console script: fonttools
Added a console script: pyftmerge
Added a console script: pyftsubset
Added a console script: ttx
⬇ Installing appdirs 1.4.3 ...
⬇ Installing fs 2.4.11 ...
⬇ Installing pytz 2019.3.0 ...
⬇ Installing attrs 19.3.0 ...
⬇ Installing setuptools 42.0.2 ...
Added a console script: easy_install
Added a console script: easy_install-3.8
⬇ Installing six 1.10.0 ...

/t/statmake (master|✚1…) $ pyflow 
Python 3.6.9 (default, Sep 20 2019, 09:13:05)
[...]

:(

switch does not seem to alter pyprojects.toml.

from pyflow.

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.