[PR #253] Migrate source code to python 3.7 and refine code style #472

Open
opened 2026-02-27 15:58:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/253
Author: @knkrth
Created: 9/22/2019
Status: 🔄 Open

Base: masterHead: master


📝 Commits (9)

  • 0e231a9 Delete unneed files.
  • a4d74a0 Migrate source code to python 3.7 and refine code style
  • 3488661 Migrate to django 2.2.4
  • 5130871 Rename webvirtcloud to webvirt
  • 1a9a140 Merge pull request #1 from dropnas/migrate/to/python3
  • 586ad30 Update template of settings.py
  • 1b7d27d Merge pull request #2 from dropnas/migrate/to/python3
  • 7db8d91 Fix on_delete of ForeignKey and OneToOneField for migrations
  • dd2706e Merge pull request #3 from dropnas/migrate/to/python3

📊 Changes

113 files changed (+325 additions, -588 deletions)

View changed files

📝 Dockerfile (+10 -10)
Vagrantfile (+0 -53)
_config.yml (+0 -1)
accounts/admin.py (+0 -3)
accounts/backends.py (+0 -13)
📝 accounts/migrations/0001_initial.py (+2 -5)
📝 accounts/migrations/0002_auto_20150325_0846.py (+0 -3)
📝 accounts/migrations/0003_usersshkey.py (+1 -4)
📝 accounts/migrations/0004_userattributes.py (+1 -4)
📝 accounts/migrations/0004_userinstance_is_vnc.py (+0 -3)
📝 accounts/migrations/0005_userattributes_can_clone_instances.py (+0 -3)
📝 accounts/migrations/0006_userattributes_max_disk_size.py (+0 -3)
📝 accounts/migrations/0007_auto_20160426_0635.py (+0 -3)
📝 accounts/migrations/0008_merge.py (+1 -7)
📝 accounts/migrations/0009_auto_20171026_0805.py (+0 -3)
📝 accounts/migrations/0010_auto_20180625_1236.py (+0 -4)
📝 accounts/migrations/0011_auto_20180625_1313.py (+0 -4)
📝 accounts/migrations/0012_auto_20180625_1331.py (+0 -4)
📝 accounts/migrations/0013_auto_20180625_1358.py (+0 -4)
📝 accounts/migrations/0014_auto_20180808_1436.py (+0 -4)

...and 80 more files

📄 Description

As of https://github.com/python/devguide/pull/344 there will be no support for python2 anymore after 2020. Can you migrate the source code to python3?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/253 **Author:** [@knkrth](https://github.com/knkrth) **Created:** 9/22/2019 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`0e231a9`](https://github.com/retspen/webvirtcloud/commit/0e231a930df53fc937f5ff96bd395645cb66d4a3) Delete unneed files. - [`a4d74a0`](https://github.com/retspen/webvirtcloud/commit/a4d74a09a6f484c4f5db9ee6c55362690f635833) Migrate source code to python 3.7 and refine code style - [`3488661`](https://github.com/retspen/webvirtcloud/commit/3488661dc9d11051050aee5c327efd119aeb9bdd) Migrate to django 2.2.4 - [`5130871`](https://github.com/retspen/webvirtcloud/commit/513087124833ffc9a91b014b8f79b8516b76aeb8) Rename webvirtcloud to webvirt - [`1a9a140`](https://github.com/retspen/webvirtcloud/commit/1a9a140da618a757086ac52332e93f6476ef8d2f) Merge pull request #1 from dropnas/migrate/to/python3 - [`586ad30`](https://github.com/retspen/webvirtcloud/commit/586ad30ad2ebbeb6ee807c3be31c72dd478bce01) Update template of settings.py - [`1b7d27d`](https://github.com/retspen/webvirtcloud/commit/1b7d27da307d6492f4ceecd8454339dcb454c872) Merge pull request #2 from dropnas/migrate/to/python3 - [`7db8d91`](https://github.com/retspen/webvirtcloud/commit/7db8d91435f9b00b2729d8fea171b2b204debab1) Fix on_delete of ForeignKey and OneToOneField for migrations - [`dd2706e`](https://github.com/retspen/webvirtcloud/commit/dd2706ef34513dca36b75eb1f275206e57c45531) Merge pull request #3 from dropnas/migrate/to/python3 ### 📊 Changes **113 files changed** (+325 additions, -588 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+10 -10) ➖ `Vagrantfile` (+0 -53) ➖ `_config.yml` (+0 -1) ➖ `accounts/admin.py` (+0 -3) ➖ `accounts/backends.py` (+0 -13) 📝 `accounts/migrations/0001_initial.py` (+2 -5) 📝 `accounts/migrations/0002_auto_20150325_0846.py` (+0 -3) 📝 `accounts/migrations/0003_usersshkey.py` (+1 -4) 📝 `accounts/migrations/0004_userattributes.py` (+1 -4) 📝 `accounts/migrations/0004_userinstance_is_vnc.py` (+0 -3) 📝 `accounts/migrations/0005_userattributes_can_clone_instances.py` (+0 -3) 📝 `accounts/migrations/0006_userattributes_max_disk_size.py` (+0 -3) 📝 `accounts/migrations/0007_auto_20160426_0635.py` (+0 -3) 📝 `accounts/migrations/0008_merge.py` (+1 -7) 📝 `accounts/migrations/0009_auto_20171026_0805.py` (+0 -3) 📝 `accounts/migrations/0010_auto_20180625_1236.py` (+0 -4) 📝 `accounts/migrations/0011_auto_20180625_1313.py` (+0 -4) 📝 `accounts/migrations/0012_auto_20180625_1331.py` (+0 -4) 📝 `accounts/migrations/0013_auto_20180625_1358.py` (+0 -4) 📝 `accounts/migrations/0014_auto_20180808_1436.py` (+0 -4) _...and 80 more files_ </details> ### 📄 Description As of https://github.com/python/devguide/pull/344 there will be no support for python2 anymore after 2020. Can you migrate the source code to python3? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#472
No description provided.