Code Monkey home page Code Monkey logo

Comments (11)

hhoppe avatar hhoppe commented on June 11, 2024

(Another minor annoyance of updating the *.py timestamp is that Emacs warns that it is "reverting the buffer" if it has loaded the file -- even though nothing has changed.)

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

Hi @hhoppe , thank you for reporting this, and sorry for the delay in getting back to you. Sure that makes sense, let me see what I can do.

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

A development version with a tentative fix is available at

pip install git+https://github.com/mwouts/jupytext.git@skip_update_timestamp

Would you mind confirming if it does what you are looking for?

from jupytext.

hhoppe avatar hhoppe commented on June 11, 2024

Thanks for doing this! I'm away this weekend and will try it on Tuesday.

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

You're welcome ! No hurry at all. Keep me posted, thanks

from jupytext.

hhoppe avatar hhoppe commented on June 11, 2024

I'm having difficulty building the development branch -- maybe it's because I am using WSL.
I first had to apt install nodejs, but even then I get a build error

YN0009: │ nx@npm:15.9.7 [9d75b] couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-9020d20b/build.log)

where the log contains

Error: Cannot find module 'fs/promises'

I may not be the best person to test this out.

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

Oh I see - it's not obvious to build the Jupyter Lab extension, sorry about that. Thanks for giving it a try anyway! This should be much easier, and faster too:

HATCH_BUILD_HOOKS_ENABLE=false pip install git+https://github.com/mwouts/jupytext.git@skip_update_timestamp

(the drawback is that you won't get the Jupytext menu in JupyterLab, but maybe you mostly care about the command line?)

from jupytext.

hhoppe avatar hhoppe commented on June 11, 2024

The new install command line unfortunately gives the same build error.

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

No worries! I will test this a bit more on my end, and package the change with the next release, in a few days hopefully.

from jupytext.

max-accenta avatar max-accenta commented on June 11, 2024

Hi, I was able to install from the skip_update_timestamp branch on my side (Fedora & python3.11). The feature seems to work as expected, thanks for the work.

from jupytext.

mwouts avatar mwouts commented on June 11, 2024

Hi, I was able to install from the skip_update_timestamp branch on my side (Fedora & python3.11). The feature seems to work as expected, thanks for the work.

Oh great, thank you @max-accenta for testing it, that's super helpful!

from jupytext.

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.