2023-09-11T08:53:44,832 Created temporary directory: /tmp/pip-build-tracker-g1zh70_x 2023-09-11T08:53:44,834 Initialized build tracking at /tmp/pip-build-tracker-g1zh70_x 2023-09-11T08:53:44,834 Created build tracker: /tmp/pip-build-tracker-g1zh70_x 2023-09-11T08:53:44,834 Entered build tracker: /tmp/pip-build-tracker-g1zh70_x 2023-09-11T08:53:44,835 Created temporary directory: /tmp/pip-wheel-8y3ryjla 2023-09-11T08:53:44,838 Created temporary directory: /tmp/pip-ephem-wheel-cache-xxr_lprx 2023-09-11T08:53:44,865 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T08:53:44,869 2 location(s) to search for versions of elasticsearch-partition: 2023-09-11T08:53:44,869 * https://pypi.org/simple/elasticsearch-partition/ 2023-09-11T08:53:44,869 * https://www.piwheels.org/simple/elasticsearch-partition/ 2023-09-11T08:53:44,869 Fetching project page and analyzing links: https://pypi.org/simple/elasticsearch-partition/ 2023-09-11T08:53:44,870 Getting page https://pypi.org/simple/elasticsearch-partition/ 2023-09-11T08:53:44,872 Found index url https://pypi.org/simple/ 2023-09-11T08:53:45,160 Fetched page https://pypi.org/simple/elasticsearch-partition/ as application/vnd.pypi.simple.v1+json 2023-09-11T08:53:45,163 Skipping link: No binaries permitted for elasticsearch-partition: https://files.pythonhosted.org/packages/71/64/b33116619fdd50026f712c43aa38cd696894c59ed4835acc2f87167b2725/elasticsearch_partition-1.0.0-py3-none-any.whl (from https://pypi.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,164 Found link https://files.pythonhosted.org/packages/84/90/fcd998f46b9ffc06cdc1c4e2bf04058e101d27c90ba07af68b80d6bd89da/elasticsearch_partition-1.0.0.tar.gz (from https://pypi.org/simple/elasticsearch-partition/), version: 1.0.0 2023-09-11T08:53:45,165 Skipping link: No binaries permitted for elasticsearch-partition: https://files.pythonhosted.org/packages/88/3e/c50641b6dc6e6cb92defee70c7aa5aaf021e5a06629056321ab79f59786e/elasticsearch_partition-1.0.1-py3-none-any.whl (from https://pypi.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,165 Found link https://files.pythonhosted.org/packages/ab/8b/6e80f9717db1e48026a6ea308604a116d8426e6297b44f2dfd57ffe77525/elasticsearch_partition-1.0.1.tar.gz (from https://pypi.org/simple/elasticsearch-partition/), version: 1.0.1 2023-09-11T08:53:45,166 Skipping link: No binaries permitted for elasticsearch-partition: https://files.pythonhosted.org/packages/4d/be/8696c17d44bb2d5f129eb865491cd742eef30c82be0a5c4bb18cdf50aa64/elasticsearch_partition-1.0.2-py3-none-any.whl (from https://pypi.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,167 Found link https://files.pythonhosted.org/packages/b1/d1/a86a279e6ac670d937db5a0a5736c4bb3db6ddf7071e453f7034ce524aa4/elasticsearch_partition-1.0.2.tar.gz (from https://pypi.org/simple/elasticsearch-partition/), version: 1.0.2 2023-09-11T08:53:45,167 Skipping link: No binaries permitted for elasticsearch-partition: https://files.pythonhosted.org/packages/62/55/e187bded46f6dad12e4930060fa00891b93583c2264a90ca249ee134ceab/elasticsearch_partition-1.0.3-py3-none-any.whl (from https://pypi.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,168 Found link https://files.pythonhosted.org/packages/5c/86/8f04b43e4efc249d9cab29d84149ab68d85077cc149d4b5ea685556e8ba8/elasticsearch_partition-1.0.3.tar.gz (from https://pypi.org/simple/elasticsearch-partition/), version: 1.0.3 2023-09-11T08:53:45,169 Skipping link: No binaries permitted for elasticsearch-partition: https://files.pythonhosted.org/packages/a5/a7/1b2cc1a58c2f86c1c1f71b2ce4aea4a3f0e4bef86cadf9eec743d805d528/elasticsearch_partition-2.0.0-cp37-cp37m-macosx_10_13_x86_64.whl (from https://pypi.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,169 Found link https://files.pythonhosted.org/packages/62/9c/a2ea71c80491a0c9635c8e949174a74dc3f68a4859a717added3fc643cc7/elasticsearch_partition-2.0.0.tar.gz (from https://pypi.org/simple/elasticsearch-partition/), version: 2.0.0 2023-09-11T08:53:45,170 Fetching project page and analyzing links: https://www.piwheels.org/simple/elasticsearch-partition/ 2023-09-11T08:53:45,171 Getting page https://www.piwheels.org/simple/elasticsearch-partition/ 2023-09-11T08:53:45,173 Found index url https://www.piwheels.org/simple/ 2023-09-11T08:53:45,472 Fetched page https://www.piwheels.org/simple/elasticsearch-partition/ as text/html 2023-09-11T08:53:45,479 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-1.0.0-py3-none-any.whl#sha256=ead0169f15603075d3bf3834aec56fda718802d9c8dc64572f7bfd5bd30ca4b7 (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,480 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-1.0.1-py3-none-any.whl#sha256=4a84977c166af8032b829f1d2ffa9bd78dfa4addc110a4729c28252a39561454 (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,481 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-1.0.2-py3-none-any.whl#sha256=4b0d4d529223e88cc31972011a14b561a35f9b5f1a25f523321400fd205f3dc5 (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,482 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-1.0.3-py3-none-any.whl#sha256=73995c67172b916ff23c3273c3ef81fa2700d27785b2accfe83b8f7d2ef4715e (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,482 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp34-cp34m-linux_armv6l.whl#sha256=18119fc3b9ab1da23515c0c0fb070273109780bff84ef73aa6921b101f67526b (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,483 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp34-cp34m-linux_armv7l.whl#sha256=18119fc3b9ab1da23515c0c0fb070273109780bff84ef73aa6921b101f67526b (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,484 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp35-cp35m-linux_armv6l.whl#sha256=c49f253001c627f0b3f760cb49542a908430d07bd1328a4f9d42f42bec12a3fc (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,485 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp35-cp35m-linux_armv7l.whl#sha256=c49f253001c627f0b3f760cb49542a908430d07bd1328a4f9d42f42bec12a3fc (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,486 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp37-cp37m-linux_armv6l.whl#sha256=c361e407f088c1181652108b0b2e385df9e2522515117c3bdd93ead1d714f96f (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,487 Skipping link: No binaries permitted for elasticsearch-partition: https://www.piwheels.org/simple/elasticsearch-partition/elasticsearch_partition-2.0.0-cp37-cp37m-linux_armv7l.whl#sha256=c361e407f088c1181652108b0b2e385df9e2522515117c3bdd93ead1d714f96f (from https://www.piwheels.org/simple/elasticsearch-partition/) 2023-09-11T08:53:45,488 Skipping link: not a file: https://www.piwheels.org/simple/elasticsearch-partition/ 2023-09-11T08:53:45,489 Skipping link: not a file: https://pypi.org/simple/elasticsearch-partition/ 2023-09-11T08:53:45,527 Given no hashes to check 1 links for project 'elasticsearch-partition': discarding no candidates 2023-09-11T08:53:45,565 Collecting elasticsearch-partition==2.0.0 2023-09-11T08:53:45,568 Created temporary directory: /tmp/pip-unpack-x9z9p6gq 2023-09-11T08:53:45,785 Downloading elasticsearch_partition-2.0.0.tar.gz (130 kB) 2023-09-11T08:53:45,915 Added elasticsearch-partition==2.0.0 from https://files.pythonhosted.org/packages/62/9c/a2ea71c80491a0c9635c8e949174a74dc3f68a4859a717added3fc643cc7/elasticsearch_partition-2.0.0.tar.gz to build tracker '/tmp/pip-build-tracker-g1zh70_x' 2023-09-11T08:53:45,916 Running setup.py (path:/tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/setup.py) egg_info for package elasticsearch-partition 2023-09-11T08:53:45,917 Created temporary directory: /tmp/pip-pip-egg-info-y3cdcjt0 2023-09-11T08:53:45,918 Preparing metadata (setup.py): started 2023-09-11T08:53:45,919 Running command python setup.py egg_info 2023-09-11T08:53:48,167 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/elasticsearch_partition/dateutils.pxd 2023-09-11T08:53:48,167 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-11T08:53:48,190 warning: elasticsearch_partition/dateutils.pyx:7:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-11T08:53:48,191 warning: elasticsearch_partition/dateutils.pyx:8:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-11T08:53:48,192 warning: elasticsearch_partition/dateutils.pyx:9:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-11T08:53:48,193 warning: elasticsearch_partition/dateutils.pyx:11:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-11T08:53:48,701 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/elasticsearch_partition/formatters.pxd 2023-09-11T08:53:48,702 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-11T08:53:48,727 warning: elasticsearch_partition/formatters.pyx:6:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 2023-09-11T08:53:49,454 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/elasticsearch_partition/partitioning.pyx 2023-09-11T08:53:49,455 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-11T08:53:49,533 Error compiling Cython file: 2023-09-11T08:53:49,534 ------------------------------------------------------------ 2023-09-11T08:53:49,535 ... 2023-09-11T08:53:49,535 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,536 import datetime 2023-09-11T08:53:49,538 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,538 ^ 2023-09-11T08:53:49,539 ------------------------------------------------------------ 2023-09-11T08:53:49,540 elasticsearch_partition/partitioning.pyx:5:0: 'dateutils.pxd' not found 2023-09-11T08:53:49,545 Error compiling Cython file: 2023-09-11T08:53:49,546 ------------------------------------------------------------ 2023-09-11T08:53:49,546 ... 2023-09-11T08:53:49,547 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,547 import datetime 2023-09-11T08:53:49,548 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,549 ^ 2023-09-11T08:53:49,549 ------------------------------------------------------------ 2023-09-11T08:53:49,550 elasticsearch_partition/partitioning.pyx:5:0: 'dateutils/date_t.pxd' not found 2023-09-11T08:53:49,555 Error compiling Cython file: 2023-09-11T08:53:49,555 ------------------------------------------------------------ 2023-09-11T08:53:49,556 ... 2023-09-11T08:53:49,557 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,558 import datetime 2023-09-11T08:53:49,559 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,559 ^ 2023-09-11T08:53:49,559 ------------------------------------------------------------ 2023-09-11T08:53:49,560 elasticsearch_partition/partitioning.pyx:5:0: 'dateutils/FREQUENCY.pxd' not found 2023-09-11T08:53:49,566 Error compiling Cython file: 2023-09-11T08:53:49,566 ------------------------------------------------------------ 2023-09-11T08:53:49,567 ... 2023-09-11T08:53:49,567 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,568 import datetime 2023-09-11T08:53:49,569 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,570 ^ 2023-09-11T08:53:49,570 ------------------------------------------------------------ 2023-09-11T08:53:49,571 elasticsearch_partition/partitioning.pyx:5:0: 'dateutils/TimeWindow.pxd' not found 2023-09-11T08:53:49,579 Error compiling Cython file: 2023-09-11T08:53:49,579 ------------------------------------------------------------ 2023-09-11T08:53:49,580 ... 2023-09-11T08:53:49,580 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,581 import datetime 2023-09-11T08:53:49,582 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,583 from formatters cimport BigEndianDateFormatter, DateFormatter 2023-09-11T08:53:49,583 ^ 2023-09-11T08:53:49,584 ------------------------------------------------------------ 2023-09-11T08:53:49,585 elasticsearch_partition/partitioning.pyx:6:0: 'formatters.pxd' not found 2023-09-11T08:53:49,590 Error compiling Cython file: 2023-09-11T08:53:49,591 ------------------------------------------------------------ 2023-09-11T08:53:49,591 ... 2023-09-11T08:53:49,592 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,593 import datetime 2023-09-11T08:53:49,594 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,595 from formatters cimport BigEndianDateFormatter, DateFormatter 2023-09-11T08:53:49,595 ^ 2023-09-11T08:53:49,596 ------------------------------------------------------------ 2023-09-11T08:53:49,597 elasticsearch_partition/partitioning.pyx:6:0: 'formatters/BigEndianDateFormatter.pxd' not found 2023-09-11T08:53:49,601 Error compiling Cython file: 2023-09-11T08:53:49,602 ------------------------------------------------------------ 2023-09-11T08:53:49,603 ... 2023-09-11T08:53:49,604 # cython: c_string_type=str, c_string_encoding=ascii 2023-09-11T08:53:49,605 import datetime 2023-09-11T08:53:49,607 from dateutils cimport date_t, FREQUENCY, TimeWindow 2023-09-11T08:53:49,607 from formatters cimport BigEndianDateFormatter, DateFormatter 2023-09-11T08:53:49,608 ^ 2023-09-11T08:53:49,609 ------------------------------------------------------------ 2023-09-11T08:53:49,610 elasticsearch_partition/partitioning.pyx:6:0: 'formatters/DateFormatter.pxd' not found 2023-09-11T08:53:49,611 Error compiling Cython file: 2023-09-11T08:53:49,612 ------------------------------------------------------------ 2023-09-11T08:53:49,613 ... 2023-09-11T08:53:49,614 cdef: 2023-09-11T08:53:49,615 int frequency 2023-09-11T08:53:49,616 str escape 2023-09-11T08:53:49,616 object now_func 2023-09-11T08:53:49,617 DateFormatter formatter 2023-09-11T08:53:49,617 ^ 2023-09-11T08:53:49,617 ------------------------------------------------------------ 2023-09-11T08:53:49,618 elasticsearch_partition/partitioning.pyx:37:8: 'DateFormatter' is not a type identifier 2023-09-11T08:53:49,619 Error compiling Cython file: 2023-09-11T08:53:49,620 ------------------------------------------------------------ 2023-09-11T08:53:49,620 ... 2023-09-11T08:53:49,621 self.frequency = frequency 2023-09-11T08:53:49,622 self.escape = escape 2023-09-11T08:53:49,622 self.now_func = now_func or _now_func 2023-09-11T08:53:49,623 cdef str fmt_yearly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,623 ^ 2023-09-11T08:53:49,624 ------------------------------------------------------------ 2023-09-11T08:53:49,625 elasticsearch_partition/partitioning.pyx:54:30: 'TimeWindow' is not a type identifier 2023-09-11T08:53:49,626 Error compiling Cython file: 2023-09-11T08:53:49,626 ------------------------------------------------------------ 2023-09-11T08:53:49,627 ... 2023-09-11T08:53:49,628 self.frequency = frequency 2023-09-11T08:53:49,628 self.escape = escape 2023-09-11T08:53:49,629 self.now_func = now_func or _now_func 2023-09-11T08:53:49,629 cdef str fmt_yearly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,630 ^ 2023-09-11T08:53:49,630 ------------------------------------------------------------ 2023-09-11T08:53:49,631 elasticsearch_partition/partitioning.pyx:54:45: 'date_t' is not a type identifier 2023-09-11T08:53:49,633 Error compiling Cython file: 2023-09-11T08:53:49,633 ------------------------------------------------------------ 2023-09-11T08:53:49,634 ... 2023-09-11T08:53:49,635 self.now_func = now_func or _now_func 2023-09-11T08:53:49,636 cdef str fmt_yearly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,636 return self.formatter.fmt_year(date.year, wildcard=False) 2023-09-11T08:53:49,638 cdef str fmt_monthly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,638 ^ 2023-09-11T08:53:49,639 ------------------------------------------------------------ 2023-09-11T08:53:49,641 elasticsearch_partition/partitioning.pyx:57:31: 'TimeWindow' is not a type identifier 2023-09-11T08:53:49,642 Error compiling Cython file: 2023-09-11T08:53:49,643 ------------------------------------------------------------ 2023-09-11T08:53:49,643 ... 2023-09-11T08:53:49,644 self.now_func = now_func or _now_func 2023-09-11T08:53:49,645 cdef str fmt_yearly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,646 return self.formatter.fmt_year(date.year, wildcard=False) 2023-09-11T08:53:49,647 cdef str fmt_monthly(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,648 ^ 2023-09-11T08:53:49,648 ------------------------------------------------------------ 2023-09-11T08:53:49,650 elasticsearch_partition/partitioning.pyx:57:46: 'date_t' is not a type identifier 2023-09-11T08:53:49,651 Error compiling Cython file: 2023-09-11T08:53:49,652 ------------------------------------------------------------ 2023-09-11T08:53:49,653 ... 2023-09-11T08:53:49,653 else: 2023-09-11T08:53:49,654 fmt_date = self.formatter.fmt_year(date.year, wildcard=True) 2023-09-11T08:53:49,655 return fmt_date 2023-09-11T08:53:49,656 cdef str fmt_daily(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,657 ^ 2023-09-11T08:53:49,657 ------------------------------------------------------------ 2023-09-11T08:53:49,659 elasticsearch_partition/partitioning.pyx:69:29: 'TimeWindow' is not a type identifier 2023-09-11T08:53:49,660 Error compiling Cython file: 2023-09-11T08:53:49,661 ------------------------------------------------------------ 2023-09-11T08:53:49,661 ... 2023-09-11T08:53:49,662 else: 2023-09-11T08:53:49,662 fmt_date = self.formatter.fmt_year(date.year, wildcard=True) 2023-09-11T08:53:49,663 return fmt_date 2023-09-11T08:53:49,664 cdef str fmt_daily(self, TimeWindow tw, date_t *date): 2023-09-11T08:53:49,664 ^ 2023-09-11T08:53:49,664 ------------------------------------------------------------ 2023-09-11T08:53:49,665 elasticsearch_partition/partitioning.pyx:69:44: 'date_t' is not a type identifier 2023-09-11T08:53:49,666 Error compiling Cython file: 2023-09-11T08:53:49,667 ------------------------------------------------------------ 2023-09-11T08:53:49,667 ... 2023-09-11T08:53:49,668 else: 2023-09-11T08:53:49,668 fmt_date = self.formatter.fmt_year(date.year, wildcard=True) 2023-09-11T08:53:49,669 return fmt_date 2023-09-11T08:53:49,670 cdef list partition(self, str pattern, TimeWindow tw): 2023-09-11T08:53:49,670 ^ 2023-09-11T08:53:49,671 ------------------------------------------------------------ 2023-09-11T08:53:49,671 elasticsearch_partition/partitioning.pyx:89:43: 'TimeWindow' is not a type identifier 2023-09-11T08:53:49,672 Error compiling Cython file: 2023-09-11T08:53:49,673 ------------------------------------------------------------ 2023-09-11T08:53:49,673 ... 2023-09-11T08:53:49,674 """ 2023-09-11T08:53:49,675 cdef: 2023-09-11T08:53:49,675 list indexes = [] 2023-09-11T08:53:49,675 str fmt_date 2023-09-11T08:53:49,676 str (*func_ptr)(RangePartition, TimeWindow, date_t *) 2023-09-11T08:53:49,677 ^ 2023-09-11T08:53:49,677 ------------------------------------------------------------ 2023-09-11T08:53:49,679 elasticsearch_partition/partitioning.pyx:101:56: 'date_t' is not a type identifier 2023-09-11T08:53:49,680 Error compiling Cython file: 2023-09-11T08:53:49,680 ------------------------------------------------------------ 2023-09-11T08:53:49,681 ... 2023-09-11T08:53:49,681 cdef: 2023-09-11T08:53:49,682 list indexes = [] 2023-09-11T08:53:49,682 str fmt_date 2023-09-11T08:53:49,683 str (*func_ptr)(RangePartition, TimeWindow, date_t *) 2023-09-11T08:53:49,684 int idx 2023-09-11T08:53:49,684 date_t date 2023-09-11T08:53:49,685 ^ 2023-09-11T08:53:49,685 ------------------------------------------------------------ 2023-09-11T08:53:49,687 elasticsearch_partition/partitioning.pyx:103:12: 'date_t' is not a type identifier 2023-09-11T08:53:49,688 Error compiling Cython file: 2023-09-11T08:53:49,689 ------------------------------------------------------------ 2023-09-11T08:53:49,690 ... 2023-09-11T08:53:49,691 __all__ = ("RangePartition", "partition") 2023-09-11T08:53:49,692 # Public constants for convenience 2023-09-11T08:53:49,693 YEAR = FREQUENCY.YEAR 2023-09-11T08:53:49,694 ^ 2023-09-11T08:53:49,694 ------------------------------------------------------------ 2023-09-11T08:53:49,695 elasticsearch_partition/partitioning.pyx:13:16: cimported module has no attribute 'YEAR' 2023-09-11T08:53:49,696 Error compiling Cython file: 2023-09-11T08:53:49,697 ------------------------------------------------------------ 2023-09-11T08:53:49,698 ... 2023-09-11T08:53:49,698 __all__ = ("RangePartition", "partition") 2023-09-11T08:53:49,700 # Public constants for convenience 2023-09-11T08:53:49,701 YEAR = FREQUENCY.YEAR 2023-09-11T08:53:49,702 MONTH = FREQUENCY.MONTH 2023-09-11T08:53:49,703 ^ 2023-09-11T08:53:49,703 ------------------------------------------------------------ 2023-09-11T08:53:49,704 elasticsearch_partition/partitioning.pyx:14:17: cimported module has no attribute 'MONTH' 2023-09-11T08:53:49,706 Error compiling Cython file: 2023-09-11T08:53:49,707 ------------------------------------------------------------ 2023-09-11T08:53:49,707 ... 2023-09-11T08:53:49,708 # Public constants for convenience 2023-09-11T08:53:49,709 YEAR = FREQUENCY.YEAR 2023-09-11T08:53:49,709 MONTH = FREQUENCY.MONTH 2023-09-11T08:53:49,710 DAY = FREQUENCY.DAY 2023-09-11T08:53:49,710 ^ 2023-09-11T08:53:49,710 ------------------------------------------------------------ 2023-09-11T08:53:49,711 elasticsearch_partition/partitioning.pyx:15:15: cimported module has no attribute 'DAY' 2023-09-11T08:53:49,712 Error compiling Cython file: 2023-09-11T08:53:49,712 ------------------------------------------------------------ 2023-09-11T08:53:49,713 ... 2023-09-11T08:53:49,713 str escape 2023-09-11T08:53:49,714 object now_func 2023-09-11T08:53:49,714 DateFormatter formatter 2023-09-11T08:53:49,715 def __init__(self, 2023-09-11T08:53:49,715 frequency=FREQUENCY.DAY, 2023-09-11T08:53:49,716 ^ 2023-09-11T08:53:49,716 ------------------------------------------------------------ 2023-09-11T08:53:49,717 elasticsearch_partition/partitioning.pyx:40:36: cimported module has no attribute 'DAY' 2023-09-11T08:53:49,718 Error compiling Cython file: 2023-09-11T08:53:49,718 ------------------------------------------------------------ 2023-09-11T08:53:49,719 ... 2023-09-11T08:53:49,719 formatter=None, 2023-09-11T08:53:49,720 escape="*", 2023-09-11T08:53:49,720 now_func=None): 2023-09-11T08:53:49,721 if formatter is None: 2023-09-11T08:53:49,722 self.formatter = BigEndianDateFormatter() 2023-09-11T08:53:49,723 ^ 2023-09-11T08:53:49,723 ------------------------------------------------------------ 2023-09-11T08:53:49,724 elasticsearch_partition/partitioning.pyx:46:29: 'BigEndianDateFormatter' is not a constant, variable or function identifier 2023-09-11T08:53:49,725 Error compiling Cython file: 2023-09-11T08:53:49,726 ------------------------------------------------------------ 2023-09-11T08:53:49,726 ... 2023-09-11T08:53:49,727 now_func=None): 2023-09-11T08:53:49,728 if formatter is None: 2023-09-11T08:53:49,729 self.formatter = BigEndianDateFormatter() 2023-09-11T08:53:49,729 else: 2023-09-11T08:53:49,730 self.formatter = formatter 2023-09-11T08:53:49,730 ^ 2023-09-11T08:53:49,731 ------------------------------------------------------------ 2023-09-11T08:53:49,732 elasticsearch_partition/partitioning.pyx:48:30: 'DateFormatter' is not a type identifier 2023-09-11T08:53:49,733 Error compiling Cython file: 2023-09-11T08:53:49,734 ------------------------------------------------------------ 2023-09-11T08:53:49,734 ... 2023-09-11T08:53:49,735 str (*func_ptr)(RangePartition, TimeWindow, date_t *) 2023-09-11T08:53:49,736 int idx 2023-09-11T08:53:49,736 date_t date 2023-09-11T08:53:49,737 # Defines the frequency formatting function 2023-09-11T08:53:49,738 if self.frequency == FREQUENCY.YEAR: 2023-09-11T08:53:49,738 ^ 2023-09-11T08:53:49,739 ------------------------------------------------------------ 2023-09-11T08:53:49,740 elasticsearch_partition/partitioning.pyx:106:38: cimported module has no attribute 'YEAR' 2023-09-11T08:53:49,741 Error compiling Cython file: 2023-09-11T08:53:49,742 ------------------------------------------------------------ 2023-09-11T08:53:49,742 ... 2023-09-11T08:53:49,743 date_t date 2023-09-11T08:53:49,744 # Defines the frequency formatting function 2023-09-11T08:53:49,744 if self.frequency == FREQUENCY.YEAR: 2023-09-11T08:53:49,745 func_ptr = self.fmt_yearly 2023-09-11T08:53:49,746 elif self.frequency == FREQUENCY.MONTH: 2023-09-11T08:53:49,746 ^ 2023-09-11T08:53:49,747 ------------------------------------------------------------ 2023-09-11T08:53:49,748 elasticsearch_partition/partitioning.pyx:108:40: cimported module has no attribute 'MONTH' 2023-09-11T08:53:49,748 Error compiling Cython file: 2023-09-11T08:53:49,749 ------------------------------------------------------------ 2023-09-11T08:53:49,749 ... 2023-09-11T08:53:49,750 func_ptr = self.fmt_daily 2023-09-11T08:53:49,750 tw.calculate(self.frequency) 2023-09-11T08:53:49,751 for idx in range(tw.size): 2023-09-11T08:53:49,752 date = (tw.data_ptr[idx]) 2023-09-11T08:53:49,752 ^ 2023-09-11T08:53:49,752 ------------------------------------------------------------ 2023-09-11T08:53:49,753 elasticsearch_partition/partitioning.pyx:116:20: 'date_t' is not a type identifier 2023-09-11T08:53:49,754 Error compiling Cython file: 2023-09-11T08:53:49,755 ------------------------------------------------------------ 2023-09-11T08:53:49,755 ... 2023-09-11T08:53:49,756 if not since and not until: 2023-09-11T08:53:49,756 raise ValueError("You should use 'since' or 'until' for " 2023-09-11T08:53:49,756 "searching by partitioning index") 2023-09-11T08:53:49,757 if not since: 2023-09-11T08:53:49,758 tw = TimeWindow(until, self.now_func()) 2023-09-11T08:53:49,758 ^ 2023-09-11T08:53:49,758 ------------------------------------------------------------ 2023-09-11T08:53:49,760 elasticsearch_partition/partitioning.pyx:140:17: 'TimeWindow' is not a constant, variable or function identifier 2023-09-11T08:53:49,761 Error compiling Cython file: 2023-09-11T08:53:49,761 ------------------------------------------------------------ 2023-09-11T08:53:49,762 ... 2023-09-11T08:53:49,762 raise ValueError("You should use 'since' or 'until' for " 2023-09-11T08:53:49,763 "searching by partitioning index") 2023-09-11T08:53:49,764 if not since: 2023-09-11T08:53:49,764 tw = TimeWindow(until, self.now_func()) 2023-09-11T08:53:49,765 if self.frequency == FREQUENCY.YEAR and tw.delta_years < 1: 2023-09-11T08:53:49,766 ^ 2023-09-11T08:53:49,767 ------------------------------------------------------------ 2023-09-11T08:53:49,769 elasticsearch_partition/partitioning.pyx:141:42: cimported module has no attribute 'YEAR' 2023-09-11T08:53:49,771 Error compiling Cython file: 2023-09-11T08:53:49,772 ------------------------------------------------------------ 2023-09-11T08:53:49,773 ... 2023-09-11T08:53:49,774 indexes = [pattern] 2023-09-11T08:53:49,775 else: 2023-09-11T08:53:49,775 indexes = self.partition("-" + pattern, tw) 2023-09-11T08:53:49,776 indexes.append(pattern) 2023-09-11T08:53:49,777 else: 2023-09-11T08:53:49,778 tw = TimeWindow(since, until or self.now_func()) 2023-09-11T08:53:49,778 ^ 2023-09-11T08:53:49,779 ------------------------------------------------------------ 2023-09-11T08:53:49,781 elasticsearch_partition/partitioning.pyx:147:17: 'TimeWindow' is not a constant, variable or function identifier 2023-09-11T08:53:49,781 Traceback (most recent call last): 2023-09-11T08:53:49,782 File "", line 2, in 2023-09-11T08:53:49,783 File "", line 34, in 2023-09-11T08:53:49,784 File "/tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/setup.py", line 62, in 2023-09-11T08:53:49,785 ext_modules=cythonize(["elasticsearch_partition/*.pyx"]) 2023-09-11T08:53:49,785 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:49,786 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-11T08:53:49,787 cythonize_one(*args) 2023-09-11T08:53:49,788 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-11T08:53:49,789 raise CompileError(None, pyx_file) 2023-09-11T08:53:49,789 Cython.Compiler.Errors.CompileError: elasticsearch_partition/partitioning.pyx 2023-09-11T08:53:49,790 Compiling elasticsearch_partition/dateutils.pyx because it changed. 2023-09-11T08:53:49,791 Compiling elasticsearch_partition/formatters.pyx because it changed. 2023-09-11T08:53:49,791 Compiling elasticsearch_partition/partitioning.pyx because it changed. 2023-09-11T08:53:49,792 [1/3] Cythonizing elasticsearch_partition/dateutils.pyx 2023-09-11T08:53:49,793 [2/3] Cythonizing elasticsearch_partition/formatters.pyx 2023-09-11T08:53:49,793 [3/3] Cythonizing elasticsearch_partition/partitioning.pyx 2023-09-11T08:53:50,006 ERROR: [present-rich] python setup.py egg_info exited with 1 2023-09-11T08:53:50,019 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2023-09-11T08:53:50,019 exec(compile('"'"''"'"''"'"' 2023-09-11T08:53:50,019 # This is -- a caller that pip uses to run setup.py 2023-09-11T08:53:50,019 # 2023-09-11T08:53:50,019 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T08:53:50,019 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T08:53:50,019 # - It provides a clear error message when setuptools is not installed. 2023-09-11T08:53:50,019 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T08:53:50,019 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T08:53:50,019 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T08:53:50,019 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T08:53:50,019 import os, sys, tokenize 2023-09-11T08:53:50,019 2023-09-11T08:53:50,019 try: 2023-09-11T08:53:50,019 import setuptools 2023-09-11T08:53:50,019 except ImportError as error: 2023-09-11T08:53:50,019 print( 2023-09-11T08:53:50,019 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T08:53:50,019 "the build environment.", 2023-09-11T08:53:50,019 file=sys.stderr, 2023-09-11T08:53:50,019 ) 2023-09-11T08:53:50,019 sys.exit(1) 2023-09-11T08:53:50,019 2023-09-11T08:53:50,019 __file__ = %r 2023-09-11T08:53:50,019 sys.argv[0] = __file__ 2023-09-11T08:53:50,019 2023-09-11T08:53:50,019 if os.path.exists(__file__): 2023-09-11T08:53:50,019 filename = __file__ 2023-09-11T08:53:50,019 with tokenize.open(__file__) as f: 2023-09-11T08:53:50,019 setup_py_code = f.read() 2023-09-11T08:53:50,019 else: 2023-09-11T08:53:50,019 filename = "" 2023-09-11T08:53:50,019 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T08:53:50,019 2023-09-11T08:53:50,019 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T08:53:50,019 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-y3cdcjt0[/] 2023-09-11T08:53:50,020 [bold magenta]cwd[/]: /tmp/pip-wheel-8y3ryjla/elasticsearch-partition_ba2ad84ce06643169a9ce7c81bd0c859/ 2023-09-11T08:53:50,021 Preparing metadata (setup.py): finished with status 'error' 2023-09-11T08:53:50,022 ERROR: [present-rich] metadata generation failed 2023-09-11T08:53:50,028 Exception information: 2023-09-11T08:53:50,028 Traceback (most recent call last): 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata 2023-09-11T08:53:50,028 call_subprocess( 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess 2023-09-11T08:53:50,028 raise error 2023-09-11T08:53:50,028 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2023-09-11T08:53:50,028 2023-09-11T08:53:50,028 The above exception was the direct cause of the following exception: 2023-09-11T08:53:50,028 2023-09-11T08:53:50,028 Traceback (most recent call last): 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T08:53:50,028 status = run_func(*args) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T08:53:50,028 return func(self, options, args) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2023-09-11T08:53:50,028 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve 2023-09-11T08:53:50,028 result = self._result = resolver.resolve( 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve 2023-09-11T08:53:50,028 state = resolution.resolve(requirements, max_rounds=max_rounds) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 397, in resolve 2023-09-11T08:53:50,028 self._add_to_criteria(self.state.criteria, r, parent=None) 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria 2023-09-11T08:53:50,028 if not criterion.candidates: 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_vendor/resolvelib/structs.py", line 156, in __bool__ 2023-09-11T08:53:50,028 return bool(self._sequence) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ 2023-09-11T08:53:50,028 return any(self) 2023-09-11T08:53:50,028 ^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in 2023-09-11T08:53:50,028 return (c for c in iterator if id(c) not in self._incompatible_ids) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built 2023-09-11T08:53:50,028 candidate = func() 2023-09-11T08:53:50,028 ^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link 2023-09-11T08:53:50,028 self._link_candidate_cache[link] = LinkCandidate( 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in __init__ 2023-09-11T08:53:50,028 super().__init__( 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__ 2023-09-11T08:53:50,028 self.dist = self._prepare() 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare 2023-09-11T08:53:50,028 dist = self._prepare_distribution() 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution 2023-09-11T08:53:50,028 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 538, in prepare_linked_requirement 2023-09-11T08:53:50,028 return self._prepare_linked_requirement(req, parallel_builds) 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 653, in _prepare_linked_requirement 2023-09-11T08:53:50,028 dist = _get_prepared_distribution( 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution 2023-09-11T08:53:50,028 abstract_dist.prepare_distribution_metadata( 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata 2023-09-11T08:53:50,028 self.req.prepare_metadata() 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/req/req_install.py", line 568, in prepare_metadata 2023-09-11T08:53:50,028 self.metadata_directory = generate_metadata_legacy( 2023-09-11T08:53:50,028 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T08:53:50,028 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata 2023-09-11T08:53:50,028 raise MetadataGenerationFailed(package_details=details) from error 2023-09-11T08:53:50,028 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2023-09-11T08:53:50,042 Removed elasticsearch-partition==2.0.0 from https://files.pythonhosted.org/packages/62/9c/a2ea71c80491a0c9635c8e949174a74dc3f68a4859a717added3fc643cc7/elasticsearch_partition-2.0.0.tar.gz from build tracker '/tmp/pip-build-tracker-g1zh70_x' 2023-09-11T08:53:50,042 Removed build tracker: '/tmp/pip-build-tracker-g1zh70_x'