create allspec repo?
@albireox đang làm issue này rồi.
Từ ngày 22/4/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Hi @albireox,
I haven't use the python_template in a very long while, so here's my attempt and the error received, if you can have a look and let me know if I did something incorrect, or if I should try it in an older miniconda than 3.11?
$ cookiecutter https://github.com/sdss/python_template.git
[1/14] full_name (John Doe): Joel Brownstein
[2/14] email (myemail@here.com): joelbrownstein@astro.utah.edu
[3/14] package_name (myproject): allspec
[4/14] repo_name (allspec):
[5/14] pip_name (sdss-allspec):
[6/14] version (0.1.0-alpha.0):
[7/14] year (2024):
[8/14] short_description (Simple Template package for creating SDSS Python projects): Simple package to generate the allspec file which would extract sdss_ids from the pipeline's database including boss and apogee spectra, or all spectra with an sdss_id
[9/14] Select packaging_system
1 - setuptools
2 - poetry
Choose from [1/2] (1):
[10/14] Select sphinx_template
1 - sphinx-bootstrap
2 - alabaster
Choose from [1/2] (1):
[11/14] Select use_releases
1 - no
2 - yes
Choose from [1/2] (1):
[12/14] Select create_git_repo
1 - yes
2 - no
Choose from [1/2] (1):
[13/14] Select exists_on_github
1 - no
2 - yes
Choose from [1/2] (1):
[14/14] github_organisation (sdss):
Traceback (most recent call last):
File "/var/folders/dz/0sxcvbqd48700v2k7mnc5b8w0000gn/T/tmp46a2p62_.py", line 53, in <module>
@invoke.task
^^^^^^^^^^^
File "/software/pkg/miniconda/3.11/lib/python3.11/site-packages/invoke/tasks.py", line 331, in task
return klass(args[0], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/software/pkg/miniconda/3.11/lib/python3.11/site-packages/invoke/tasks.py", line 76, in __init__
self.positional = self.fill_implicit_positionals(positional)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/software/pkg/miniconda/3.11/lib/python3.11/site-packages/invoke/tasks.py", line 167, in fill_implicit_positionals
args, spec_dict = self.argspec(self.body)
^^^^^^^^^^^^^^^^^^^^^^^
File "/software/pkg/miniconda/3.11/lib/python3.11/site-packages/invoke/tasks.py", line 153, in argspec
spec = inspect.getargspec(func)
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
- Ngôn ngữ chính
- Python
- Star
- 6
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sdss/python_template
-
Get information from git Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
sdss/python_template#23 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
sdss/python_template#16 ·
Tất cả issue của sdss/python_template
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
learningequality/ricecooker#747 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
run-llama/llama_index#23199 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
KhronosGroup/glTF-Blender-IO#2769 ·