question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to let pypi know that Jupytext 1.7.1 is the last version with explicit support of Python 2.7 and 3.5

See original GitHub issue

One of my project that uses Jupytext on the CI is now failing on Python 2.7 and 3.5, with this message:

ERROR: Could not find a version that satisfies the requirement markdown-it-py~=0.6.0 (from jupytext->-r requirements-dev.txt (line 7)) (from versions: none)
ERROR: No matching distribution found for markdown-it-py~=0.6.0 (from jupytext->-r requirements-dev.txt (line 7))
Error: Process completed with exit code 1.

Between Jupytext 1.7.1 and 1.8.0 we removed the explicit support for Python 2.7 and 3.5 (but they should still work), and we replaced the conditional dependency on markdown-it-py when Python>=3.6 with a full dependency.

Still I would like to find a plan to make the itables CI work again on Python 2.7 and 3.5. Maybe we could just provide enough information to pypi to let it download the appropriate version of Jupytext?

@chrisjsewell , do you know how to do that? Maybe an option would be to make the dependency on markdown-it-py~=0.6.0 conditional on python_version >= '3.6' again in a new release of Jupytext 1.8.1? And then in Jupytext 1.8.2 we could remove the condition and take a dependency on Python>=3.6?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mwoutscommented, Jan 3, 2021

The first half of the plan worked… the CI for my other project is green now 😄

1reaction
chrisjsewellcommented, Jan 3, 2021

~=3.6 is the same as >=3.6,<4

Read more comments on GitHub >

github_iconTop Results From Across the Web

jupytext - PyPI
Newer version available (1.14.2). Released: May 27, 2019. Jupyter notebooks as Markdown documents, Julia, Python or R scripts ...
Read more >
Jupytext ChangeLog
Jupytext 1.8.2 depends on python>=3.6 . The last version of Jupytext explicitly tested with Python 2.7 and 3.5 was Jupytext 1.7.1 (#697).
Read more >
How to know what python version a package is compatible with
6 is the latest version to support Python 2.7. At the top of the page, the command to install an older version of...
Read more >
Conda Pip and All That - Washington State University
conda activate work python -m pip install --user . ... environment.frozen.yml : This contains the explicit versions I am testing against to ensure ......
Read more >
Python 2.7 — pip issue installing almost any library - Medium
The AttributeError (instead of expected '5') means your Python stdlib ssl module, compiled against old openssl lib, is lacking support for the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found