Comments (3)
gevent 21 又回过头把 python 2.7 的支持加回来了,然后同一份 requirments.txt 里也是可以根据 python 的版本不同指定不同的依赖。所以看起来 Python 2 还能继续支持一阵。
Arrow 说下一个版本将停止支持 Python 2.7 和 Python 3.5
Arrow 的下一个版本(1.0)已经在 2021 年 2 月发布,不支持 Python 2.7
Pendulum (功能类似 Arrow 的替代品)目前还支持 Python 2.7,未来可以考虑把 arrow 换成 Pendulum 如果还要继续支持 Python 2 的话。
from python-sdk.
另外贴一下统计数据,近 30 日云引擎 Python 运行时请求数:
- 国际版:全是 Python 3
- 华北节点:Python 2 占比约千分之一
from python-sdk.
未来可以考虑把 arrow 换成 Pendulum 如果还要继续支持 Python 2 的话。
换 Pendulum 也许还能解决 arrow 在 Windows 平台上不支持负的 unix 时间的问题 (工单 37855)
@pytest.mark.skipif(
os.name == "nt", reason="negative timestamps are not supported on Windows"
)
from python-sdk.
Related Issues (20)
- 使用 github pages 托管 API 文档 HOT 1
- replace nose with pytest
- LiveQuery HOT 3
- save 的行为和 JS SDK 不一致
- 可否提供 load 方法,用于载入 dump 方法导出的数据,以便于用户缓存数据 HOT 5
- 调试日志提供选项,只打印错误请求的日志 HOT 1
- 无法自动保存嵌套的 pointer HOT 1
- Test against Python 3.9
- Switch from travis to github actions HOT 1
- 提供 asyncio 版本
- query.get(object_id) should throw an Exception when object not found HOT 2
- Query 类的 or_ 方法和 and_ 方法中存在问题 HOT 2
- 请问可以指导开发者如何创建测试应用吗? HOT 5
- File 缺了 `url` 属性 HOT 1
- python 3 下华北、华东节点上传文件抛异常 `__init__() got an unexpected keyword argument 'encoding'`
- 无法获取文件(_File)的 createdAt 或 updatedAt 属性
- black 22.1.0 removes Python 2 support
- github action 中 Python 3.7 测试无法通过 HOT 1
- leancloud/client.py save() 方法发生 JSONDecodeError 错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-sdk.