Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						d88ec42bd0 
					 
					
						
						
							
							Used addCleanup() in tests where appropriate.  
						
						
						
						
					 
					
						2023-12-31 10:01:31 +01:00 
						 
				 
			
				
					
						
							
							
								sarahboyce 
							
						 
					 
					
						
						
							
						
						f6ed2c36dd 
					 
					
						
						
							
							Fixed   #34787  -- Fixed autoreloader crash when run from installed script on Windows.  
						
						
						
						
					 
					
						2023-08-28 12:57:14 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3bbe22dafc 
					 
					
						
						
							
							Fixed   #34233  -- Dropped support for Python 3.8 and 3.9.  
						
						
						
						
					 
					
						2023-01-18 09:46:01 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						e34dfad0a3 
					 
					
						
						
							
							Refs  #30213  -- Removed post-startup check for Watchman availability.  
						
						... 
						
						
						
						This is checked at startup in get_reloader(). The runtime check ties
the implementation to Watchman excessively. 
						
						
					 
					
						2022-08-11 11:02:03 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7119f40c98 
					 
					
						
						
							
							Refs  #33476  -- Refactored code to strictly match 88 characters line length.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Chenyang Yan 
							
						 
					 
					
						
						
							
						
						36d54b7a14 
					 
					
						
						
							
							Fixed   #33027  -- Made autoreloader pass -X options.  
						
						
						
						
					 
					
						2021-09-29 11:37:50 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						306607d5b9 
					 
					
						
						
							
							Fixed   #32365  -- Made zoneinfo the default timezone implementation.  
						
						... 
						
						
						
						Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews. 
						
						
					 
					
						2021-09-16 12:11:05 +02:00 
						 
				 
			
				
					
						
							
							
								Jonny Park 
							
						 
					 
					
						
						
							
						
						4e8121e8e4 
					 
					
						
						
							
							Fixed   #32994  -- Fixed autoreloader tests when using 'python -m'.  
						
						
						
						
					 
					
						2021-08-19 09:20:31 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						6b513f0137 
					 
					
						
						
							
							Fixed   #32913  -- Made watchman reloader tests less flaky.  
						
						
						
						
					 
					
						2021-07-23 11:40:57 +02:00 
						 
				 
			
				
					
						
							
							
								Moriyoshi Koizumi 
							
						 
					 
					
						
						
							
						
						9e4780deda 
					 
					
						
						
							
							Fixed   #32669  -- Fixed detection when started non-django modules which aren't packages with "python -m" in autoreloader.  
						
						
						
						
					 
					
						2021-05-26 12:29:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						12b19a1d76 
					 
					
						
						
							
							Fixed   #32783  -- Fixed crash of autoreloader when __main__ module doesn't have __spec__ attribute.  
						
						... 
						
						
						
						Regression in ec6d2531c5 
						
						
					 
					
						2021-05-26 11:19:47 +02:00 
						 
				 
			
				
					
						
							
							
								Karthikeyan Singaravelan 
							
						 
					 
					
						
						
							
						
						f9f6bd63c9 
					 
					
						
						
							
							Refs  #32074  -- Removed usage of deprecated Thread.setDaemon().  
						
						... 
						
						
						
						Thread.setDaemon() was deprecated in Python 3.10 and will be removed in
Python 3.12. 
						
						
					 
					
						2021-05-04 12:07:18 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ec0ff40631 
					 
					
						
						
							
							Fixed   #32355  -- Dropped support for Python 3.6 and 3.7  
						
						
						
						
					 
					
						2021-02-10 10:20:54 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						cfddca543a 
					 
					
						
						
							
							Fixed isolation of utils_tests.test_autoreload tests.  
						
						
						
						
					 
					
						2021-01-20 09:53:34 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e8b4f23115 
					 
					
						
						
							
							Fixed isolation of test_check_errors_catches_all_exceptions.  
						
						
						
						
					 
					
						2021-01-18 12:51:35 +01:00 
						 
				 
			
				
					
						
							
							
								William Schwartz 
							
						 
					 
					
						
						
							
						
						ec6d2531c5 
					 
					
						
						
							
							Fixed   #32314  -- Fixed detection when started non-django modules with "python -m" in autoreloader.  
						
						... 
						
						
						
						django.utils.autoreload.get_child_arguments() detected when Python was
started with the `-m` option only for `django` module. This commit
changes the logic to check __spec__, see
https://docs.python.org/3/reference/import.html#main-spec 
Now packages can implement their own __main__ with the runserver
command. 
						
						
					 
					
						2021-01-05 21:03:29 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						ead37dfb58 
					 
					
						
						
							
							Fixed   #32202  -- Fixed autoreloader argument generation for Windows with Python 3.7-.  
						
						
						
						
					 
					
						2020-11-19 12:07:15 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						658bcc16f1 
					 
					
						
						
							
							Fixed   #25791  -- Implement autoreload behaviour for cached template loader.  
						
						
						
						
					 
					
						2020-11-05 15:30:52 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						e1e4fd707f 
					 
					
						
						
							
							Used context manager version of tempfile.TemporaryDirectory() in utils_tests.test_autoreload.  
						
						
						
						
					 
					
						2020-07-20 11:08:23 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						730711e828 
					 
					
						
						
							
							Used temporary directory in RestartWithReloaderTests.test_manage_py().  
						
						... 
						
						
						
						Using the current directory can cause a PermissionError. 
						
						
					 
					
						2020-07-20 09:16:16 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						8a902b7ee6 
					 
					
						
						
							
							Fixed   #31716  -- Fixed detection of console scripts in autoreloader on Windows.  
						
						
						
						
					 
					
						2020-06-18 13:04:10 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						edeec1247e 
					 
					
						
						
							
							Passed strict=True to Path.resolve() to enforce that the path must exist.  
						
						
						
						
					 
					
						2019-11-05 14:22:20 +01:00 
						 
				 
			
				
					
						
							
							
								Pablo García 
							
						 
					 
					
						
						
							
						
						2fd610eb30 
					 
					
						
						
							
							Fixed   #30810  -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.  
						
						... 
						
						
						
						client_timeout is an instance attribute. 
						
						
					 
					
						2019-09-27 08:09:05 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						9386586f31 
					 
					
						
						
							
							Replaced subprocess commands by run() wherever possible.  
						
						
						
						
					 
					
						2019-08-23 10:53:36 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						fc75694257 
					 
					
						
						
							
							Fixed   #30647  -- Fixed crash of autoreloader when extra directory cannot be resolved.  
						
						
						
						
					 
					
						2019-07-24 14:08:37 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						fed5e19369 
					 
					
						
						
							
							Removed unused BaseReloader.watch_file().  
						
						... 
						
						
						
						Unused since its introduction in c8720e7696 
						
						
					 
					
						2019-07-24 13:32:02 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						2ff517ccb6 
					 
					
						
						
							
							Fixed   #30506  -- Fixed crash of autoreloader when path contains null characters.  
						
						
						
						
					 
					
						2019-07-23 10:03:23 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						8454f6dea4 
					 
					
						
						
							
							Fixed   #30588  -- Fixed crash of autoreloader when __main__ module doesn't have __file__ attribute.  
						
						
						
						
					 
					
						2019-06-26 06:44:10 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						480492fe70 
					 
					
						
						
							
							Fixed   #30523  -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.  
						
						... 
						
						
						
						Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.
If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.
Regression in 6754bffa2b 
						
						
					 
					
						2019-05-29 09:41:24 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						0344565179 
					 
					
						
						
							
							Fixed   #30516  -- Fixed crash of autoreloader when re-raising exceptions with custom signature.  
						
						... 
						
						
						
						Regression in c8720e7696 
						
						
					 
					
						2019-05-29 08:08:50 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						b2790f74d4 
					 
					
						
						
							
							Fixed   #30479  -- Fixed detecting changes in manage.py by autoreloader when using StatReloader.  
						
						... 
						
						
						
						Regression in c8720e7696 
						
						
					 
					
						2019-05-28 08:31:33 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						6754bffa2b 
					 
					
						
						
							
							Fixed   #30323  -- Fixed detecting changes by autoreloader when using StatReloader.  
						
						
						
						
					 
					
						2019-04-29 11:41:00 +02:00 
						 
				 
			
				
					
						
							
							
								Jacob Green 
							
						 
					 
					
						
						
							
						
						ed3c59097a 
					 
					
						
						
							
							Fixed   #30361  -- Increased the default timeout of watchman client to 5 seconds and made it customizable.  
						
						... 
						
						
						
						Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable. 
						
						
					 
					
						2019-04-26 12:55:49 +02:00 
						 
				 
			
				
					
						
							
							
								Martijn Jacobs 
							
						 
					 
					
						
						
							
						
						9141da1a80 
					 
					
						
						
							
							Fixed   #30366  -- Skipped StatReloaderTests on HFS+ filesystems.  
						
						... 
						
						
						
						When on MacOS High Sierra or below (<=10.13) it could be that a HFS+
filesystem is used. HFS+ has a time resolution of only one second
which can be too low for some of the tests. 
						
						
					 
					
						2019-04-24 15:28:20 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						95b7699ffc 
					 
					
						
						
							
							Cleaned up exception message checking in some tests.  
						
						
						
						
					 
					
						2019-03-15 19:27:57 -04:00 
						 
				 
			
				
					
						
							
							
								shiningfm 
							
						 
					 
					
						
						
							
						
						99cfb28e99 
					 
					
						
						
							
							Fixed   #30215  -- Fixed autoreloader crash for modules without __spec__.  
						
						... 
						
						
						
						Regression in c8720e7696 
						
						
					 
					
						2019-02-27 10:35:30 -05:00 
						 
				 
			
				
					
						
							
							
								Semen Zhydenko 
							
						 
					 
					
						
						
							
						
						255d6a26a8 
					 
					
						
						
							
							Fixed spelling mistakes in comments and tests.  
						
						
						
						
					 
					
						2019-02-11 08:55:57 -05:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						1e92407f83 
					 
					
						
						
							
							Fixed   #25624  -- Fixed autoreload crash with jinja2.ModuleLoader.  
						
						
						
						
					 
					
						2019-01-28 14:17:50 -05:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						c8720e7696 
					 
					
						
						
							
							Fixed   #27685  -- Added watchman support to the autoreloader.  
						
						... 
						
						
						
						Removed support for pyinotify (refs #9722 ). 
						
						
					 
					
						2019-01-13 20:33:47 -05:00 
						 
				 
			
				
					
						
							
							
								Yusuke Miyazaki 
							
						 
					 
					
						
						
							
						
						278d66b94b 
					 
					
						
						
							
							Fixed   #28501  -- Fixed "python -m django runserver" crash.  
						
						
						
						
					 
					
						2017-11-06 09:58:15 -05:00 
						 
				 
			
				
					
						
							
							
								Yusuke Miyazaki 
							
						 
					 
					
						
						
							
						
						ac21f2e391 
					 
					
						
						
							
							Added RestartWithReloaderTests.  
						
						
						
						
					 
					
						2017-11-06 09:54:31 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7aba69145d 
					 
					
						
						
							
							Refs  #23919  -- Removed django.test.mock Python 2 compatibility shim.  
						
						
						
						
					 
					
						2017-01-20 08:17:20 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						4e729feaa6 
					 
					
						
						
							
							Refs  #23919  -- Removed django.utils._os.upath()/npath()/abspathu() usage.  
						
						... 
						
						
						
						These functions do nothing on Python 3. 
						
						
					 
					
						2017-01-20 08:01:02 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						2b281cc35e 
					 
					
						
						
							
							Refs  #23919  -- Removed most of remaining six usage  
						
						... 
						
						
						
						Thanks Tim Graham for the review. 
						
						
					 
					
						2017-01-18 21:33:28 +01:00 
						 
				 
			
				
					
						
							
							
								Phil Tysoe 
							
						 
					 
					
						
						
							
						
						bf4516a628 
					 
					
						
						
							
							Added tests for django.utils.autoreload.  
						
						
						
						
					 
					
						2016-12-22 09:01:28 -05:00 
						 
				 
			
				
					
						
							
							
								za 
							
						 
					 
					
						
						
							
						
						321e94fa41 
					 
					
						
						
							
							Refs  #27392  -- Removed "Tests that", "Ensures that", etc. from test docstrings.  
						
						
						
						
					 
					
						2016-11-10 21:30:21 -05:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						b79fc11d73 
					 
					
						
						
							
							Made the autoreloader survive all exceptions.  
						
						... 
						
						
						
						Refs #24704 . 
						
						
					 
					
						2015-08-29 20:50:00 +02:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						c2fcba2ac7 
					 
					
						
						
							
							Ensured gen_filenames() yields native strings.  
						
						... 
						
						
						
						This also fixes a test failure on Python 2 when Django is installed in a
non-ASCII path. This problem cannot happen on Python 3. 
						
						
					 
					
						2015-08-29 20:49:25 +02:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						dfa712efb8 
					 
					
						
						
							
							Refactored autoreload tests.  
						
						... 
						
						
						
						* Added helpers to test uncached and cached access.
* Fixed test_project_root_locale: it duplicated test_locale_paths_setting.
* Rewrote test_only_new_files: test more cases. 
						
						
					 
					
						2015-08-29 20:49:24 +02:00