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.

skip py < 3 fails to remove Python 2

See original GitHub issue

Issue:

Adding

build:
  - skip: true  # [py < 3] 

does not remove Python 2, but switching it to [py2k] does remove Python 2. You can see this in this PR: https://github.com/conda-forge/cassandra-driver-feedstock/pull/25


Environment (conda list):
$ conda list


Details about conda and system ( conda info ):
$ conda info

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
isurufcommented, Aug 21, 2019

That should probably be in conda-build docs. There’s no point in duplicating every little piece of conda-build docs in conda-forge.

0reactions
ocefpafcommented, Aug 21, 2019

That would be better as py < 30

Or py3k.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I ignore ValueError when I try to remove an element ...
A good and thread-safe way to do this is to just try it and ignore the exception: try: a.remove(10) except ValueError: pass #...
Read more >
Porting Python 2 Code to Python 3 — Python 3.11.1 ...
If you are able to skip Python 2.5 and older, then the required changes to your code should continue to look and feel...
Read more >
choco uninstall python3 does not remove it from the programs ...
If you install python and uninstall it, it doesn't remove it from the programs and features list. Not sure if this is a...
Read more >
Install, Uninstall, and Manage Multiple Versions of Python on ...
Summary. It's easy to install multiple versions of python on a Mac computer using installers from python.org, Homebrew, Conda, ...
Read more >
Apple Finally Removing Python 2 in macOS 12.3 - MacRumors
Future versions of macOS will not include Python 2.7. Instead, it is recommended that you transition to using 'python3' from within Terminal. [/ ......
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