From ce98e0c6a0fcefe6d081db82de8516c7062492f7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 3 Nov 2020 19:19:10 -0800 Subject: Fix fallback float formatter at assymetric bounds (#1976) --- include/fmt/format-inl.h | 2 +- test/format-test.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 5d466eeb..8f2fe735 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -2337,7 +2337,7 @@ void fallback_format(Double d, int num_digits, bool binary32, buffer& buf, upper = &upper_store; } denominator.assign_pow10(exp10); - denominator <<= 1; + denominator <<= shift; } else if (exp10 < 0) { numerator.assign_pow10(-exp10); lower.assign(numerator); diff --git a/test/format-test.cc b/test/format-test.cc index 128b57a2..0f87a23c 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -1270,6 +1270,8 @@ TEST(FormatterTest, FormatDouble) { EXPECT_EQ(buffer, format("{:a}", -42.0)); safe_sprintf(buffer, "%A", -42.0); EXPECT_EQ(buffer, format("{:A}", -42.0)); + EXPECT_EQ("9223372036854775808.000000", + format("{:f}", 9223372036854775807.0)); } TEST(FormatterTest, PrecisionRounding) { -- cgit v1.2.3 From e4eb242ce8197e81919ff11d9d2255fd694e708f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 3 Nov 2020 21:20:53 -0800 Subject: Update changelog and bump version --- ChangeLog.rst | 6 ++++++ include/fmt/core.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index a5b776cf..ce65a178 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,9 @@ +7.1.2 - TBD +----------- + +* Fixed floating point formatting with large precision + (`#1976 `_). + 7.1.1 - 2020-11-01 ------------------ diff --git a/include/fmt/core.h b/include/fmt/core.h index 60e49425..262a94f9 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -18,7 +18,7 @@ #include // The fmt library version in the form major * 10000 + minor * 100 + patch. -#define FMT_VERSION 70101 +#define FMT_VERSION 70102 #ifdef __clang__ # define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) -- cgit v1.2.3 From cc09f1a6798c085c325569ef466bcdcffdc266d4 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 4 Nov 2020 06:50:09 -0800 Subject: Update version --- ChangeLog.rst | 4 ++-- doc/build.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index ce65a178..26bb8646 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,5 +1,5 @@ -7.1.2 - TBD ------------ +7.1.2 - 2020-11-04 +------------------ * Fixed floating point formatting with large precision (`#1976 `_). diff --git a/doc/build.py b/doc/build.py index 85eaaa81..bae311d4 100755 --- a/doc/build.py +++ b/doc/build.py @@ -6,7 +6,7 @@ import errno, os, shutil, sys, tempfile from subprocess import check_call, check_output, CalledProcessError, Popen, PIPE from distutils.version import LooseVersion -versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1'] +versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2'] def pip_install(package, commit=None, **kwargs): "Install package using pip." -- cgit v1.2.3 From d1ef29d67946317a57d7f9f4bc9ef95dd3c11c87 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 8 Nov 2020 08:08:55 -0800 Subject: Fix initialization of iterator_buffer (#1996) --- include/fmt/core.h | 2 +- test/format-test.cc | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 262a94f9..5135f1f9 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -784,7 +784,7 @@ class iterator_buffer final : public Traits, public buffer { public: explicit iterator_buffer(OutputIt out, size_t n = buffer_size) : Traits(n), - buffer(data_, 0, n < size_t(buffer_size) ? n : size_t(buffer_size)), + buffer(data_, 0, buffer_size), out_(out) {} ~iterator_buffer() { flush(); } diff --git a/test/format-test.cc b/test/format-test.cc index 0f87a23c..5626fa28 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -1945,10 +1945,12 @@ TEST(FormatTest, FormatToN) { EXPECT_EQ(5u, result.size); EXPECT_EQ(buffer + 3, result.out); EXPECT_EQ("123x", fmt::string_view(buffer, 4)); + result = fmt::format_to_n(buffer, 3, "{:s}", "foobar"); EXPECT_EQ(6u, result.size); EXPECT_EQ(buffer + 3, result.out); EXPECT_EQ("foox", fmt::string_view(buffer, 4)); + buffer[0] = 'x'; buffer[1] = 'x'; buffer[2] = 'x'; @@ -1956,10 +1958,15 @@ TEST(FormatTest, FormatToN) { EXPECT_EQ(1u, result.size); EXPECT_EQ(buffer + 1, result.out); EXPECT_EQ("Axxx", fmt::string_view(buffer, 4)); + result = fmt::format_to_n(buffer, 3, "{}{} ", 'B', 'C'); EXPECT_EQ(3u, result.size); EXPECT_EQ(buffer + 3, result.out); EXPECT_EQ("BC x", fmt::string_view(buffer, 4)); + + result = fmt::format_to_n(buffer, 4, "{}", "ABCDE"); + EXPECT_EQ(5u, result.size); + EXPECT_EQ("ABCD", fmt::string_view(buffer, 4)); } TEST(FormatTest, WideFormatToN) { -- cgit v1.2.3 From cd3003683d7a7ded9f9e4258281295fc141a7bd7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Nov 2020 06:06:10 -0800 Subject: Fix more linkage errors (#2011) --- include/fmt/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index 88151006..d44ea0c9 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -388,7 +388,7 @@ class ostream final : private detail::buffer { clear(); } - void grow(size_t) final; + FMT_API void grow(size_t) override final; ostream(cstring_view path, const detail::ostream_params& params) : file_(path, params.oflag) { -- cgit v1.2.3 From a2fa5d6288b2eb85625d5de5f61efe29604eb878 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 23 Nov 2020 10:35:07 -0800 Subject: Update changelog --- ChangeLog.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 26bb8646..8c92f352 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,12 @@ +7.1.3 - TBD +----------- + +* Fixed handling of buffer boundaries in `format_to_n` + (`#1996 `_). + +* Fixed linkage errors when linking with a shared library + (`#2011 `_). + 7.1.2 - 2020-11-04 ------------------ -- cgit v1.2.3 From 85534a1397136d5808248289fec68b40e5be0d74 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 12 Nov 2020 05:51:00 -0800 Subject: Fix linkage errors when linking with a shared library (#2011) --- .github/workflows/windows.yml | 44 +++++++++++++++++++++++++++++++++++++++++++ include/fmt/format.h | 2 +- include/fmt/os.h | 2 +- src/format.cc | 4 ++-- src/os.cc | 2 +- 5 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 00000000..f66e2bc9 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,44 @@ +name: windows + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{matrix.os}} + strategy: + matrix: + # windows-2016 and windows-2019 have MSVC 2017 and 2019 installed + # respectively: https://github.com/actions/virtual-environments. + os: [windows-2016, windows-2019] + platform: [Win32, x64] + build_type: [Debug, Release] + include: + - os: windows-2016 + platform: Win32 + build_type: Debug + shared: -DBUILD_SHARED_LIBS=ON + exclude: + - os: windows-2016 + platform: Win32 + + steps: + - uses: actions/checkout@v2 + + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + + - name: Configure + # Use a bash shell for $GITHUB_WORKSPACE. + shell: bash + working-directory: ${{runner.workspace}}/build + run: | + cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.shared}} \ + -A ${{matrix.platform}} $GITHUB_WORKSPACE + + - name: Build + working-directory: ${{runner.workspace}}/build + run: cmake --build . --config ${{matrix.build_type}} + + - name: Test + working-directory: ${{runner.workspace}}/build + run: ctest -C ${{matrix.build_type}} diff --git a/include/fmt/format.h b/include/fmt/format.h index 13b8da30..b967afea 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1274,7 +1274,7 @@ template struct decimal_fp { int exponent; }; -template decimal_fp to_decimal(T x) FMT_NOEXCEPT; +template FMT_API decimal_fp to_decimal(T x) FMT_NOEXCEPT; } // namespace dragonbox template diff --git a/include/fmt/os.h b/include/fmt/os.h index d44ea0c9..2482bee5 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -378,7 +378,7 @@ struct ostream_params { static constexpr detail::buffer_size buffer_size; // A fast output stream which is not thread-safe. -class ostream final : private detail::buffer { +class FMT_API ostream final : private detail::buffer { private: file file_; diff --git a/src/format.cc b/src/format.cc index bca87b03..6141d964 100644 --- a/src/format.cc +++ b/src/format.cc @@ -24,9 +24,9 @@ int format_float(char* buf, std::size_t size, const char* format, int precision, : snprintf_ptr(buf, size, format, precision, value); } -template dragonbox::decimal_fp dragonbox::to_decimal(float x) +template FMT_API dragonbox::decimal_fp dragonbox::to_decimal(float x) FMT_NOEXCEPT; -template dragonbox::decimal_fp dragonbox::to_decimal(double x) +template FMT_API dragonbox::decimal_fp dragonbox::to_decimal(double x) FMT_NOEXCEPT; // DEPRECATED! This function exists for ABI compatibility. diff --git a/src/os.cc b/src/os.cc index a07e7824..68500245 100644 --- a/src/os.cc +++ b/src/os.cc @@ -315,7 +315,7 @@ long getpagesize() { # endif } -void ostream::grow(size_t) { +FMT_API void ostream::grow(size_t) { if (this->size() == this->capacity()) flush(); } #endif // FMT_USE_FCNTL -- cgit v1.2.3 From a57baa69a589115e4130e8520ff5348fdb2ae4a7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Nov 2020 06:06:10 -0800 Subject: Fix more linkage errors (#2011) --- include/fmt/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index 2482bee5..d44ea0c9 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -378,7 +378,7 @@ struct ostream_params { static constexpr detail::buffer_size buffer_size; // A fast output stream which is not thread-safe. -class FMT_API ostream final : private detail::buffer { +class ostream final : private detail::buffer { private: file file_; -- cgit v1.2.3 From df66516ed35c1a22231f283cc8e4a2dbc8d57c13 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Nov 2020 09:02:14 -0800 Subject: Workaround an issue with mixing std versions in gcc (#2017) --- include/fmt/format.h | 14 +++----------- test/format-test.cc | 7 ++++--- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index b967afea..1a037b02 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1145,8 +1145,8 @@ template struct null {}; template struct fill_t { private: enum { max_size = 4 }; - Char data_[max_size]; - unsigned char size_; + Char data_[max_size] = {Char(' '), Char(0), Char(0), Char(0)}; + unsigned char size_ = 1; public: FMT_CONSTEXPR void operator=(basic_string_view s) { @@ -1166,13 +1166,6 @@ template struct fill_t { FMT_CONSTEXPR const Char& operator[](size_t index) const { return data_[index]; } - - static FMT_CONSTEXPR fill_t make() { - auto fill = fill_t(); - fill[0] = Char(' '); - fill.size_ = 1; - return fill; - } }; } // namespace detail @@ -1204,8 +1197,7 @@ template struct basic_format_specs { type(0), align(align::none), sign(sign::none), - alt(false), - fill(detail::fill_t::make()) {} + alt(false) {} }; using format_specs = basic_format_specs; diff --git a/test/format-test.cc b/test/format-test.cc index 5626fa28..d3f21b47 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -2423,17 +2423,17 @@ TEST(FormatTest, CharTraitsIsNotAmbiguous) { #endif } +#if __cplusplus > 201103L struct custom_char { int value; custom_char() = default; - template custom_char(T val) : value(static_cast(val)) {} + template + constexpr custom_char(T val) : value(static_cast(val)) {} operator int() const { return value; } }; -int to_ascii(custom_char c) { return c; } - FMT_BEGIN_NAMESPACE template <> struct is_char : std::true_type {}; FMT_END_NAMESPACE @@ -2444,6 +2444,7 @@ TEST(FormatTest, FormatCustomChar) { EXPECT_EQ(result.size(), 1); EXPECT_EQ(result[0], custom_char('x')); } +#endif // Convert a char8_t string to std::string. Otherwise GTest will insist on // inserting `char8_t` NTBS into a `char` stream which is disabled by P1423. -- cgit v1.2.3 From b8957f50c31d80bd0fb9420d3ec2a0d0a8838a4d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 18 Nov 2020 06:43:47 -0800 Subject: Fix an overflow in format_to_n (#2029) --- include/fmt/core.h | 2 +- test/format-test.cc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 5135f1f9..7a0e8b89 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -761,7 +761,7 @@ class fixed_buffer_traits { explicit fixed_buffer_traits(size_t limit) : limit_(limit) {} size_t count() const { return count_; } size_t limit(size_t size) { - size_t n = limit_ - count_; + size_t n = limit_ > count_ ? limit_ - count_ : 0; count_ += size; return size < n ? size : n; } diff --git a/test/format-test.cc b/test/format-test.cc index d3f21b47..c995ff69 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -1967,6 +1967,11 @@ TEST(FormatTest, FormatToN) { result = fmt::format_to_n(buffer, 4, "{}", "ABCDE"); EXPECT_EQ(5u, result.size); EXPECT_EQ("ABCD", fmt::string_view(buffer, 4)); + + buffer[3] = 'x'; + result = fmt::format_to_n(buffer, 3, "{}", std::string(1000, '*')); + EXPECT_EQ(1000u, result.size); + EXPECT_EQ("***x", fmt::string_view(buffer, 4)); } TEST(FormatTest, WideFormatToN) { -- cgit v1.2.3 From 58992761cfe8b6a93bf16bd8a078d3144826a866 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 21 Nov 2020 16:31:22 -0800 Subject: Reintroduce ostream support to range formatters (#2014) --- include/fmt/ranges.h | 5 ++++- test/ostream-test.cc | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index b603d637..632f0494 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -254,7 +254,10 @@ struct formatter< enable_if_t::value // Workaround a bug in MSVC 2017 and earlier. #if !FMT_MSC_VER || FMT_MSC_VER >= 1927 - && has_formatter, format_context>::value + && + (has_formatter, format_context>::value || + detail::has_fallback_formatter, + format_context>::value) #endif >> { formatting_range formatting; diff --git a/test/ostream-test.cc b/test/ostream-test.cc index ebf14210..4f432fb9 100644 --- a/test/ostream-test.cc +++ b/test/ostream-test.cc @@ -5,7 +5,6 @@ // // For the license information refer to format.h. -#define FMT_STRING_ALIAS 1 #include "fmt/format.h" struct test {}; @@ -24,6 +23,7 @@ template <> struct formatter : formatter { #include #include "fmt/ostream.h" +#include "fmt/ranges.h" #include "gmock.h" #include "gtest-extra.h" #include "util.h" @@ -323,3 +323,8 @@ TEST(OStreamTest, CompileTimeString) { TEST(OStreamTest, ToString) { EXPECT_EQ("ABC", fmt::to_string(fmt_test::ABC())); } + +TEST(OStreamTest, Range) { + auto strs = std::vector{TestString("foo"), TestString("bar")}; + EXPECT_EQ("{foo, bar}", format("{}", strs)); +} \ No newline at end of file -- cgit v1.2.3 From 07b1c1a15f38c5bfb84aa1b1dbe5334a4006202f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 08:24:14 -0800 Subject: Update changelog --- ChangeLog.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 8c92f352..1e43f1e2 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -2,11 +2,18 @@ ----------- * Fixed handling of buffer boundaries in `format_to_n` - (`#1996 `_). + (`#1996 `_, + `#2029 `_). * Fixed linkage errors when linking with a shared library (`#2011 `_). +* Reintroduce ostream support to range formatters + (`#2014 `_). + +* Workaround an issue with mixing std versions in gcc + (`#2017 `_). + 7.1.2 - 2020-11-04 ------------------ -- cgit v1.2.3 From 6ce207b9a5020e824fee3d129d7145eaa3c7cf0c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 08:29:17 -0800 Subject: Fix formatting --- ChangeLog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 1e43f1e2..4f829033 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,7 +1,7 @@ 7.1.3 - TBD ----------- -* Fixed handling of buffer boundaries in `format_to_n` +* Fixed handling of buffer boundaries in ``format_to_n`` (`#1996 `_, `#2029 `_). -- cgit v1.2.3 From 0683fa7d1de0f1883fe39974e14095830ad72a1b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 08:36:21 -0800 Subject: Bump version --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 7a0e8b89..0a81e0cc 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -18,7 +18,7 @@ #include // The fmt library version in the form major * 10000 + minor * 100 + patch. -#define FMT_VERSION 70102 +#define FMT_VERSION 70103 #ifdef __clang__ # define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) -- cgit v1.2.3 From 926233bde8d72b9a5d8bec3519f6e11a652c788d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 14:54:15 -0800 Subject: Fix test --- test/format-test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/format-test.cc b/test/format-test.cc index c995ff69..8ed524cc 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -2439,6 +2439,8 @@ struct custom_char { operator int() const { return value; } }; +int to_ascii(custom_char c) { return c; } + FMT_BEGIN_NAMESPACE template <> struct is_char : std::true_type {}; FMT_END_NAMESPACE -- cgit v1.2.3 From fc1355114d06a686327c3c563b773d20164d1c76 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 17:14:00 -0800 Subject: Update changelog --- ChangeLog.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 4f829033..2cf75403 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -8,10 +8,10 @@ * Fixed linkage errors when linking with a shared library (`#2011 `_). -* Reintroduce ostream support to range formatters +* Reintroduced ostream support to range formatters (`#2014 `_). -* Workaround an issue with mixing std versions in gcc +* Worked around an issue with mixing std versions in gcc (`#2017 `_). 7.1.2 - 2020-11-04 -- cgit v1.2.3 From 7bdf0628b1276379886c7f6dda2cef2b3b374f0b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 24 Nov 2020 17:15:02 -0800 Subject: Update version --- ChangeLog.rst | 4 ++-- doc/build.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 2cf75403..9c171af0 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,5 +1,5 @@ -7.1.3 - TBD ------------ +7.1.3 - 2020-11-24 +------------------ * Fixed handling of buffer boundaries in ``format_to_n`` (`#1996 `_, diff --git a/doc/build.py b/doc/build.py index bae311d4..4651756e 100755 --- a/doc/build.py +++ b/doc/build.py @@ -6,7 +6,7 @@ import errno, os, shutil, sys, tempfile from subprocess import check_call, check_output, CalledProcessError, Popen, PIPE from distutils.version import LooseVersion -versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2'] +versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2', '7.1.3'] def pip_install(package, commit=None, **kwargs): "Install package using pip." -- cgit v1.2.3