Skip to content

Commit 9a09600

Browse files
committed
Deprecation: remove code for config file v1 and default config file
This is a continuation of the work done for * #10351 * #10342 * #10348 * #10355 In that work we added notifications, warning messages and finally a feature flag to start failing the builds without a configuration file or using v1. This commit removes all the code for config file v1 and building without a configuration file. Due to that, it also removes the code that allows users to use the older Docker images (testing, latest, stable) This work can be merged once we enable the feature flag to fail the builds for all the projects and we are happy with the results.
1 parent 9137e90 commit 9a09600

File tree

12 files changed

+154
-1843
lines changed

12 files changed

+154
-1843
lines changed

readthedocs/config/config.py

+34-512
Large diffs are not rendered by default.

readthedocs/config/models.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,7 @@ def as_dict(self):
2626
}
2727

2828

29-
class Build(Base):
30-
31-
__slots__ = ('image', 'apt_packages')
32-
33-
def __init__(self, **kwargs):
34-
kwargs.setdefault('apt_packages', [])
35-
super().__init__(**kwargs)
36-
37-
29+
# TODO: rename this class to `Build`
3830
class BuildWithOs(Base):
3931

4032
__slots__ = ("os", "tools", "jobs", "apt_packages", "commands")

0 commit comments

Comments
 (0)