Commit graph

45 commits

Author SHA1 Message Date
Griatch
162326fe1b Try different requirement to resolve trello build conflict 2020-02-24 16:29:04 +01:00
Greg Taylor
8cb5b4cefe Add auto-formatting via black
Introduce black, a Python code formatter. Also a Makefile that
includes two common targets:

* fmt (auto-format the code)
* lint (lint the code and return non-zero if out of spec)

We can re-use the latter in CI.

By introducing a code formatter, we can cut down on stylistic
variations across a now-large codebase. We can also avoid most style
discussions in PR if we just have this thing enforce it for us.
2019-09-22 10:23:28 +02:00
Greg Taylor
013c5a1884 Remove pillow from requirements
This was originally suggested due to an imagefield, but that is
no longer present. Since Pillow is not required to run Evennia,
we should remove it and let the users opt into it if they end
up wanting/needing it for their custom code.
2019-09-15 17:28:10 -07:00
Griatch
c8e7a77d18 Resolve merge conflicts 2019-09-15 13:02:35 +02:00
Griatch
495cc92d8b
Merge pull request #1927 from gtaylor/futures-removal
Remove Python 2.7 compatibility shims
2019-09-15 13:00:43 +02:00
Greg Taylor
b026b65b08 Bump min Django version to 2.2.5
Bug fix release. For more details, see:
https://docs.djangoproject.com/en/2.2/releases/2.2.5/
2019-09-15 00:40:26 -07:00
Greg Taylor
efaa4ee535 Condense requirements files down to one
PEP 508 defines a way to specify platform-specific requirements.
Rather than having to manage two different requirements files, let's
crunch them down to one and use that facility.

For more details on how this works, see:
https://www.python.org/dev/peps/pep-0508/
2019-09-15 00:37:30 -07:00
Greg Taylor
97f8bf8a6f Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Griatch
924c273f8c Security update; Increase rec Django version to 2.2.4 2019-08-09 18:03:02 +02:00
Griatch
607d9b6e69 Handle websocket autoconnect and remove session duplicates. Resolves #1851. Resolves #1562. 2019-06-15 22:24:32 +02:00
Griatch
5447c57731 Support Django 2.1 2019-03-25 23:36:38 +01:00
Griatch
d9c1fa56e5 Resolve support for Django 2.0 2019-03-25 21:45:34 +01:00
Griatch
d9fafee2fb Add model_mummy for mocking model data 2019-03-12 19:15:22 +01:00
Griatch
1013d16041 Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
6b7766d295 Up requirements to Django 1.11, Twisted 18 and pillow 5.2.0 2018-09-25 22:11:34 +02:00
Griatch
85ad1d14f4 Sync win/unix requirement files 2018-09-04 20:33:48 +02:00
Griatch
fe26ffac5f Add unittests, fix bugs 2018-06-10 14:27:34 +02:00
Griatch
dfd2d3897a Add inflect dependency. Add get_plural_name and mechanisms discussed in #1385. 2018-01-07 19:31:01 +01:00
Ryan Stein
5074c112af We need the latest version of Twisted possible for Py3. 2017-10-29 22:58:04 -04:00
Ryan Stein
bb15fed784 Switch to autobahn-python for WebSockets support. 2017-10-29 21:29:09 -04:00
geoffrey stoel
f845b3c8af Updated dockerfile to clean alpine image and add python + required libs to make work again. Fixed requirements.txt to fixed twisted version 2017-10-05 00:27:21 +02:00
DamnedScholar
58f2d7cf74 Sekizai 2017-09-18 18:17:10 -05:00
Griatch
e2de340f7d Move to Django 1.11. 2017-06-06 18:56:04 +02:00
Griatch
ce3558d654 Go to Django 1.10. Remove support for Django 1.9. 2017-06-06 18:45:41 +02:00
Griatch
7e416e0cd6 Start fixing things for django 1.10. 2017-06-06 14:56:13 +02:00
Griatch
335f3d0425 Removed pyopenssl requirement from requirements.txt again. 2016-03-27 15:30:07 +02:00
Sina Mashek
2d54bc33ab Added support for SSL IRC connections. 2016-03-26 02:44:20 -07:00
Griatch
402b9a7394 Upped twisted requirement to 16.0.0. This because of a backwards incompatible change in Twisted's lLoopingCall that Evennia makes use of. This fixes failings with loading the tutorual world (due to loopingcall errors). 2016-03-24 11:50:58 +01:00
Griatch
907322cc2f Updated Evennia for django 1.9 (1.8 still supported). Run 'pip install --upgrade -e .' in
the Evennia repository to upgrade.
2016-02-20 09:14:31 +01:00
Griatch
e6a866a150 Made Evennia run with Django 1.9 2016-02-18 10:12:42 +01:00
Ahmed Charles
8a66fc40a9 Use with_metaclass from future.utils for python3 compat. 2015-11-01 15:11:12 +01:00
Griatch
f111753e0f Forcing pillow 2.9.0 for now to avoid the new forced dependencies introduced in 3.0. 2015-10-13 22:47:37 +02:00
Griatch
f116543e14 Added pytz to the requirement list, to handle timezones better 2015-06-20 15:17:07 +02:00
Griatch
97e04ee710 Twisted min version upped to 15.2.1 due to a change in the LoopingCall infrastructure that Evennia relies on. This resolves #744 by updating the Evennia implementation accordingly. 2015-05-27 22:35:05 +02:00
Griatch
7bb1dea7f7 Changed pip django requirements to django 1.8. 2015-04-04 00:08:51 +02:00
Kelketek
7a3152713c Mark Django1.8 as too recent 2015-04-03 15:45:25 -05:00
Griatch
5274d111a2 Added a separate win_requirements.txt file for handling windows requirement specifics. 2015-03-07 20:57:50 +01:00
Jonathan Piacenti
584d94b32b Use Mocks to handle test cases. 2015-02-23 15:06:30 +01:00
Griatch
85a594cb34 Updated the requirements.txt file to latest dependency versions 2014-09-22 13:25:07 +02:00
Griatch
46110c1976 Replaced pil with pillow in requirements.txt 2014-01-31 21:35:25 +01:00
delizin
e277770817 Update requirements.txt
Updated South requirement from >=0.8 to >=0.8.4 to correspond with changes to the Getting Started page due to reported issues with South 0.8.2 and 0.8.3.
2014-01-31 14:09:49 -05:00
Griatch
123deafcb0 Updated requirements.txt to new dependencies. 2013-12-02 12:09:27 +01:00
Griatch
c0322c9eae Cleaning some unnecessary whitespace, overall cleanup of various source codes. 2012-03-30 23:47:22 +02:00
Griatch
2ebbf51a8a Adding some more info to requirements.txt. Resolves issue 222. 2012-03-21 09:09:37 +01:00
ploosh
fd9f0829ca Added basic package requirements file 2012-03-21 03:00:47 -04:00