Skip to content

Commit

Permalink
Merge pull request #922 from DamnWidget/little_push
Browse files Browse the repository at this point in the history
fix: fix anaconda to work with Python 3.10
  • Loading branch information
DamnWidget authored Feb 28, 2022
2 parents a9998fb + 5a545ed commit 2cb208d
Show file tree
Hide file tree
Showing 2,131 changed files with 60,869 additions and 27,496 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
19 changes: 9 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "pypy"
# - "pypy3"
- "3.6"
- "3.7"
- "3.8"
- "pypy"
# - "pypy3"
matrix:
allow_failures:
- python: pypy
allow_failures:
- python: pypy
install: |
export PYTHON_VERSION=$(pip --version | grep -oP 'python \d.\d' | cut -d' ' -f2 | cut -d'.' -f1)
if [ ${PYTHON_VERSION} -eq 3 ]; then pip install -r requirements.py3.txt; fi
export PYTHON_VERSION=$(pip --version | grep -oP 'python \d.\d' | cut -d' ' -f2 | cut -d'.' -f1)
if [ ${PYTHON_VERSION} -eq 3 ]; then pip install -r requirements.py3.txt; fi
notifications:
webhooks:
urls:
Expand Down
32 changes: 28 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
# VERY IMPORTANT NOTICE, PLEASE, READ CAREFULLY

**New versions of this plugin only works with Python >= 3.6 and requires Sublime Text 4 build >= 4107**

This means versions higher than 2.2.3 **will not** work in Sublime Text 3

## For Sublime Text 3 Users

If for whatever reason you can not - you do not want to upgrade to Sublime Text 4, remove Anaconda from your setup using Package Control, download [v2.2.3](https://github.com/DamnWidget/anaconda/releases/tag/v2.2.3), unpack it in your Users package directory and never ever try to install it through package control

## Alternatives

The plugins ecosystem in Sublime Text have improved by a lot in the past few years, there are many alternatives to anaconda that might work better for you

**Python**: Give a try to [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) it works pretty well afaik
**Go**: More LSP plugins [LSP-gopls](https://github.com/sublimelsp/LSP-gopls) works well and uses the official gopls server
**Rust**: Same for Rust [LSP-rust-analyzer](https://github.com/sublimelsp/LSP-rust-analyzer) it is pretty ussable it needs a bit of tuning but it works well

For all of these ^^ you need to install [LSP](https://github.com/sublimelsp/LSP)

[![Join the chat at https://gitter.im/DamnWidget/anaconda](https://img.shields.io/gitter/room/DamnWidget/anaconda.svg?maxAge=2592000)](https://gitter.im/DamnWidget/anaconda?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![GitHub release](https://img.shields.io/github/release/damnwidget/anaconda.svg)](https://github.com/DamnWidget/anaconda/releases/latest)
[![Build Status](https://travis-ci.org/DamnWidget/anaconda.svg?branch=master)](https://travis-ci.org/DamnWidget/anaconda)
[![Package Control](https://img.shields.io/packagecontrol/dt/Anaconda.svg)](https://packagecontrol.io/packages/Anaconda)


# Anaconda


|
_` | __ \ _` | __| _ \ __ \ _` | _` |
( | | | ( | ( ( | | | ( | ( |
\__,_| _| _| \__,_| \___| \___/ _| _| \__,_| \__,_|
The Sublime Text 3 Python IDE
The Sublime Text 4 Python IDE

Anaconda turns your Sublime Text 3 into a full featured Python IDE. Read the plugin documentation on [http://damnwidget.github.io/anaconda](http://damnwidget.github.io/anaconda).

Expand Down Expand Up @@ -91,9 +115,9 @@ anaconda capabilities to other languages, the complete list of them can be shown

| Language | Web Site | Package Control | Status |
| --- | --- | --- | --- |
| **Go** | https://github.com/DamnWidget/anaconda_go | Yes | Active |
| **Rust** | https://github.com/DamnWidget/anaconda_rust | Yes | Active |
| **PHP** | https://github.com/DamnWidget/anaconda_php | Yes | Active |
| **Go** | https://github.com/DamnWidget/anaconda_go | Yes | Unmaintained |
| **Rust** | https://github.com/DamnWidget/anaconda_rust | Yes | Unmaintained |
| **PHP** | https://github.com/DamnWidget/anaconda_php | Yes | Unmaintained |

Would you like to see your language empowered by anaconda? Use `anaconda_rust` or `anaconda_php` as templates and bring your language to life with anaconda's plugable architecture.

Expand Down
5 changes: 2 additions & 3 deletions anaconda_lib/jedi/__init__.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
load
"""

__version__ = '0.17.1'
__version__ = '0.18.1'

from jedi.api import Script, Interpreter, set_debug_function, \
preload_module, names
from jedi.api import Script, Interpreter, set_debug_function, preload_module
from jedi import settings
from jedi.api.environment import find_virtualenvs, find_system_environments, \
get_default_environment, InvalidPythonEnvironment, create_environment, \
Expand Down
Empty file modified anaconda_lib/jedi/__main__.py
100755 → 100644
Empty file.
Loading

0 comments on commit 2cb208d

Please sign in to comment.