Repository: conan-io/conan

Issue:
Conan Server 1.10 is broken
#### Description
Hi!

I'm trying to start conan server but seems like is broken.

    $ conan_server

> Traceback (most recent call last):
>   File "/opt/miniconda3/bin/conan_server", line 7, in <module>
>     from conans.conan_server import run
>   File "/opt/miniconda3/lib/python3.6/site-packages/conans/conan_server.py", line 1, in <module>
>     from conans.server.server_launcher import main
>   File "/opt/miniconda3/lib/python3.6/site-packages/conans/server/server_launcher.py", line 53, in <module>
>     launcher = ServerLauncher()
>   File "/opt/miniconda3/lib/python3.6/site-packages/conans/server/server_launcher.py", line 47, in __init__
    server_capabilities, only_v1=False)
> TypeError: __init__() got an unexpected keyword argument 'only_v1'

#### Environment
Conan Versions: 1.10
Python version: 3.6, 3.7
OS: Linux Ubuntu 18.04

#### Steps to reproduce
    pip3 install conan==1.10.0
    conan_server

or using Conan Docker Tools:

    BUILD_CONAN_SERVER_IMAGE=1 python build.py
    docker run -t -p 9300:9300 --name conan_server conanio/conan_server:latest 


- [X] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [X] I've specified the Conan version, operating system version and any tool that can be relevant.
- [X] I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.




Discussion:

Resolving patch:
diff --git a/conans/server/server_launcher.py b/conans/server/server_launcher.py
--- a/conans/server/server_launcher.py
+++ b/conans/server/server_launcher.py
@@ -44,7 +44,7 @@ def __init__(self):
         self.ra = ConanServer(server_config.port, credentials_manager, updown_auth_manager,
                               authorizer, authenticator, server_store,
                               Version(SERVER_VERSION), Version(MIN_CLIENT_COMPATIBLE_VERSION),
-                              server_capabilities, only_v1=False)
+                              server_capabilities)
 
     def launch(self):
         self.ra.run(host="0.0.0.0")


Test patch:
diff --git a/conans/test/integration/revisions_test.py b/conans/test/integration/revisions_test.py
--- a/conans/test/integration/revisions_test.py
+++ b/conans/test/integration/revisions_test.py
@@ -6,6 +6,7 @@
 from time import sleep
 
 from conans import REVISIONS, load
+from conans.client.tools import environment_append
 from conans.model.ref import ConanFileReference, PackageReference
 from conans import DEFAULT_REVISION_V1
 from conans.test.utils.tools import TestClient, TestServer, create_local_git_repo, \
@@ -93,7 +94,7 @@ def build(self):
     def package(self):
         self.copy("*")
 '''
-        with tools.environment_append({"PACKAGE_CONTENTS": "1"}):
+        with environment_append({"PACKAGE_CONTENTS": "1"}):
             self._create_and_upload(conanfile, self.ref)
         rev = self.servers["remote0"].paths.get_last_revision(self.ref).revision
         self.assertEquals(rev, "202f9ce41808083a0f0c0d071fb5f398")
@@ -104,7 +105,7 @@ def package(self):
         self.assertEquals(pkg_rev, "15ab113a16e2ac8c9ecffb4ba48306b2")
 
         # Create new package revision for the same recipe
-        with tools.environment_append({"PACKAGE_CONTENTS": "2"}):
+        with environment_append({"PACKAGE_CONTENTS": "2"}):
             self._create_and_upload(conanfile, self.ref.copy_clear_rev())
         pkg_rev = self.servers["remote0"].paths.get_last_package_revision(p_ref).revision
         self.assertEquals(pkg_rev, "8e54c6ea967722f2f9bdcbacb21792f5")
@@ -116,13 +117,13 @@ def package(self):
         self.client.run("download %s -p 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9#"
                         "8e54c6ea967722f2f9bdcbacb21792f5" % self.ref.full_repr())
 
-        contents = tools.load(os.path.join(self.client.paths.package(p_ref), "myfile.txt"))
+        contents = load(os.path.join(self.client.paths.package(p_ref), "myfile.txt"))
         self.assertEquals(contents, "2")
 
         # Download previous package revision
         self.client.run("download %s -p 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9#"
                         "15ab113a16e2ac8c9ecffb4ba48306b2" % self.ref.full_repr())
-        contents = tools.load(os.path.join(self.client.paths.package(p_ref), "myfile.txt"))
+        contents = load(os.path.join(self.client.paths.package(p_ref), "myfile.txt"))
         self.assertEquals(contents, "1")
 
         # Specify a package revision without a recipe revision