From 9cedc1631a9c86924e8a15305a83057376207964 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 2 Jun 2021 16:17:18 +0200 Subject: [PATCH 1/2] bump version to 0.4.dev9 --- README.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index bebd9641..cca2cdf4 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Reporting and data retrieval app for `Open edX `__. TBD Q1 2021 - Figures release 0.4 "Official" ============================================ -**Most recent release**: "0.4.dev8" on January 21, 2021 +**Most recent release**: "0.4.dev9" on June 2, 2021 Figures is iterating through "0.4.dev" development releases on the way to an official 0.4 release. diff --git a/setup.py b/setup.py index d422bb1e..41eaad27 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( name='Figures', - version='0.4.dev8', + version='0.4.dev9', packages=find_packages(), include_package_data=True, license='MIT', From c72cee8d8ec556547a32e0c9b1f0b314cde975b1 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 2 Jun 2021 17:06:53 +0200 Subject: [PATCH 2/2] Reset expected months back for SMM ViewSet SMM - SiteMonthlyMetrics. This one is a bit weird and I need to dig into it, I think. Tests started to fail because only 6 months back was returned for the SiteMontlyMetricsViewSet list returned. Now it is returning 7 months again, as it did before --- tests/views/test_site_monthly_metrics_viewset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/views/test_site_monthly_metrics_viewset.py b/tests/views/test_site_monthly_metrics_viewset.py index fa218e77..a1eb287f 100644 --- a/tests/views/test_site_monthly_metrics_viewset.py +++ b/tests/views/test_site_monthly_metrics_viewset.py @@ -92,7 +92,7 @@ def setup(self, db, settings): if organizations_support_sites(): settings.FEATURES['FIGURES_IS_MULTISITE'] = True super(TestSiteMonthlyMetricsViewSet, self).setup(db) - self.months_back = 6 + self.months_back = 7 def check_response(self, response, endpoint): assert response.status_code == status.HTTP_200_OK